Ok, I deleted everything and installed the latest source through hg clone.
Now it doesn't promt the above mentioned error, and it looks to go through make and make install. However, when attempting to make neuron a python module using
Code: Select all
cd src/nrnpython
python setup.py install
it gives the following error:
Code: Select all
error: package directory '/home/simon/neuron/nrn/share/nrn/lib/python/neuron' does not exist
I checked the directory and indeed it doesn't exist. So I took a look at the make log and I found
Code: Select all
make[3]: Entering directory `/home/simon/neuron/nrn/share/lib/python'
Making install in neuron
make[4]: Entering directory `/home/simon/neuron/nrn/share/lib/python/neuron'
Making install in rxd
make[5]: Entering directory `/home/simon/neuron/nrn/share/lib/python/neuron/rxd'
Making install in geometry3d
make[6]: Entering directory `/home/simon/neuron/nrn/share/lib/python/neuron/rxd/geometry3d'
make[7]: Entering directory `/home/simon/neuron/nrn/share/lib/python/neuron/rxd/geometry3d'
echo ../../../../../../share/lib/python/neuron/rxd/geometry3d/ctng.pyx -o ctng.cpp
../../../../../../share/lib/python/neuron/rxd/geometry3d/ctng.pyx -o ctng.cpp
echo ../../../../../../share/lib/python/neuron/rxd/geometry3d/surfaces.pyx -o surfaces.cpp
../../../../../../share/lib/python/neuron/rxd/geometry3d/surfaces.pyx -o surfaces.cpp
echo ../../../../../../share/lib/python/neuron/rxd/geometry3d/graphicsPrimitives.pyx -o graphicsPrimitives.cpp
../../../../../../share/lib/python/neuron/rxd/geometry3d/graphicsPrimitives.pyx -o graphicsPrimitives.cpp
if test ! -f graphicsPrimitives.cpp ; then \
cp ../../../../../../share/lib/python/neuron/rxd/geometry3d/graphicsPrimitives.cpp . ; \
fi
cp: cannot stat ‘../../../../../../share/lib/python/neuron/rxd/geometry3d/graphicsPrimitives.cpp’: No such file or directory
make[7]: *** [install-exec-am] Error 1
make[7]: Leaving directory `/home/simon/neuron/nrn/share/lib/python/neuron/rxd/geometry3d'
make[6]: *** [install-am] Error 2
make[6]: Leaving directory `/home/simon/neuron/nrn/share/lib/python/neuron/rxd/geometry3d'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/home/simon/neuron/nrn/share/lib/python/neuron/rxd'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/simon/neuron/nrn/share/lib/python/neuron'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/simon/neuron/nrn/share/lib/python'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/simon/neuron/nrn/share/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/simon/neuron/nrn/share'
make: *** [install-recursive] Error 1
This is the content of the mentioned directory
Code: Select all
simon@neurociencia:~/neuron/nrn/share/nrn/lib$ ls
auditscripts hoc
And this is where I'm stuck now. any help would be greatly appreciated.