I have tried to install the "official release" of NEURON-7.3 (dmg) on my MacBook which runs under OS-10.8.5. Everything works fine but when I try to compile mod files I obtain the following messages:
Code: Select all
HH2.c:466:16: error: non-void function '_initlists' should return a value
[-Wreturn-type]
if (!_first) return;
^
30 warnings and 1 error generated.
make: *** [HH2.lo] Error 1
Press 'return' key to close
Code: Select all
HH2.c:461:16: error: non-void function '_initlists' should return a value
[-Wreturn-type]
if (!_first) return;
^
30 warnings and 1 error generated.
make: *** [HH2.lo] Error 1
use @executable_path prefix for install_name for dylib absolute paths
otool: can't open file: /Users/AGBX2/Desktop/DLGN_NEW/i686/.libs/libnrnmech.so (No such file or directory)
Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Press 'return' key to close
I first used the:
Code: Select all
../nrn/configure --prefix=$IDIR/nrn --with-iv=$IDIR/iv --with-pic --with-nrnpython=dynamic
Code: Select all
io.c:85:3: error: non-void function 'unGetc' should return a value [-Wreturn-type]
return;
...
11 warnings and 1 error generated.
make[3]: *** [io.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[ AGBX2 p-e9-lightfoot ~/neuron/nrn ]
Code: Select all
../nrn/configure --prefix=$IDIR/nrn --with-iv=$IDIR/iv --with-pic --with-nrnpython=dynamic --with-readline=/usr/local/opt/readline --with-pic CC='clang' CXX='clang++' CFLAGS='-O3 -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int -fPIC' CXXFLAGS='-O3 -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int -fPIC'
Code: Select all
ivocrand.cpp:191:26: error: addition of default argument on redeclaration makes this constructor a default constructor
Rand::Rand(unsigned long seed = 0, int size = 55, Object* obj = nil) {
^ ~
./random1.h:11:3: note: previous declaration is here
Rand(unsigned long seed, int size, Object*);
...
12 warnings and 1 error generated.
make[3]: *** [ivocrand.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[ AGBX2 p-e9-lightfoot ~/neuron/nrn ]
Code: Select all
[ AGBX2 p-e9-lightfoot ~ ] sudo pip install NEURON
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Password:
Downloading/unpacking NEURON
Downloading NEURON-7.2.536.15.tar.gz (30.4MB): 30.4MB downloaded
Running setup.py (path:/private/tmp/pip_build_root/NEURON/setup.py) egg_info for package NEURON
Only Windows and 64-bit Linux currently supported by PyNEURON
Complete output from command python setup.py egg_info:
Only Windows and 64-bit Linux currently supported by PyNEURON
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/NEURON
Storing debug log for failure in /Users/AGBX2/Library/Logs/pip.log
Could anyone help me ? :)