Install nrnpython when Python is in home
Posted: Sat Sep 06, 2008 9:45 am
Hi,
I am using a server where python is not installed and I cannot install python as root.
So I have installed python locally in my home directory and it works without any problems.
When I want to install neuron, it finds my python version, but it seems to have problems with other standard libraries that
neuron does not find any more...
./configure -with-iv=/home/bahl --with-nrnpython=/home/bahl/bin/python
.......
....
Python binary found (/home/bahl/bin/python)
checking nrnpython configuration... get_python_version() '2.5'
get_python_inc(1) '/home/bahl/include/python2.5'
get_config_var('LIBS') '-lpthread -ldl -lutil'
get_config_var('LINKFORSHARED') '-Xlinker -export-dynamic'
get_config_var('LIBDIR') '/home/bahl/lib'
checking numpy availability... checking if python include files and libraries work... configure: error: could not run a test that used the python library.
Examine config.log to see error details. Something wrong with
PYLIB=-L/home/bahl/lib -lpython2.5 -lpthread -ldl -lutil -Xlinker -export-dynamic -R/home/bahl/lib
or
PYLIBDIR=/home/bahl/lib
or
PYLIBLINK=-L/home/bahl/lib -lpython2.5 -lpthread -ldl -lutil
or
PYINCDIR=/home/bahl/include/python2.5
Neuron does not seem to find the stardard libraries like pthread or dl (which exist in the global library)...
Does anyone has an idea, how to tell neuron, that python libraries are in my home directory but all the other libraries in some standard global directory??
Thank very much,
Armin
I am using a server where python is not installed and I cannot install python as root.
So I have installed python locally in my home directory and it works without any problems.
When I want to install neuron, it finds my python version, but it seems to have problems with other standard libraries that
neuron does not find any more...
./configure -with-iv=/home/bahl --with-nrnpython=/home/bahl/bin/python
.......
....
Python binary found (/home/bahl/bin/python)
checking nrnpython configuration... get_python_version() '2.5'
get_python_inc(1) '/home/bahl/include/python2.5'
get_config_var('LIBS') '-lpthread -ldl -lutil'
get_config_var('LINKFORSHARED') '-Xlinker -export-dynamic'
get_config_var('LIBDIR') '/home/bahl/lib'
checking numpy availability... checking if python include files and libraries work... configure: error: could not run a test that used the python library.
Examine config.log to see error details. Something wrong with
PYLIB=-L/home/bahl/lib -lpython2.5 -lpthread -ldl -lutil -Xlinker -export-dynamic -R/home/bahl/lib
or
PYLIBDIR=/home/bahl/lib
or
PYLIBLINK=-L/home/bahl/lib -lpython2.5 -lpthread -ldl -lutil
or
PYINCDIR=/home/bahl/include/python2.5
Neuron does not seem to find the stardard libraries like pthread or dl (which exist in the global library)...
Does anyone has an idea, how to tell neuron, that python libraries are in my home directory but all the other libraries in some standard global directory??
Thank very much,
Armin