I am having issues instaling Neuron in my Mac. I am currently running OSX ver 10.11.1(aka El Capitan). My machine is a MacBook Pro with two hard drives (Macintosh HD and Macintosh SSD)
I need to use Neuron with python, so I am following the walkthrough shown in https://www.neuron.yale.edu/neuron/down ... ilestd_osx
when i run the step II.C - Install InterViews, i got the following on my console
Code: Select all
Javier@MacBook-Pro-de-Javier:~/neuron/iv$ sh ./build.sh
glibtoolize -c -f -i
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './config.guess'
glibtoolize: copying file './config.sub'
glibtoolize: copying file './install-sh'
glibtoolize: copying file './ltmain.sh'
glibtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
glibtoolize: and rerunning glibtoolize and aclocal.
glibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
To fix this, I go to configure.in, in ~/neuron/iv folder, and add the suggested line ‘AC_CONFIG_MACRO_DIRS([m4])’
the first lines of config.in are now
Code: Select all
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/bin/iclass/classbuffer.cpp) dnl some random source file.
AC_CONFIG_HEADER(config.h src/include/ivstream.h)
AC_CONFIG_MACRO_DIRS([m4])
Code: Select all
sh ./build.sh
glibtoolize -c -f -i
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './config.guess'
glibtoolize: copying file './config.sub'
glibtoolize: copying file './install-sh'
glibtoolize: copying file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'.
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'.
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'.
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
glibtoolize: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.m4'.
glibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Then, running ./configure —prefix=$IDIR/iv starts to configure everything, getting this warnings
Code: Select all
checking for uname... yes
checking for prototype for gettimeofday... found
checking for type of signal functions... posix
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING: 'src/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/bin/Makefile
config.status: WARNING: 'src/bin/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/bin/idemo/Makefile
config.status: WARNING: 'src/bin/idemo/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/bin/idraw/Makefile
config.status: WARNING: 'src/bin/idraw/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/bin/iclass/Makefile
config.status: WARNING: 'src/bin/iclass/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/include/Makefile
config.status: WARNING: 'src/include/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/lib/Makefile
config.status: WARNING: 'src/lib/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: creating src/include/ivstream.h
config.status: executing libtool commands
$ make && make install
(time for a coffee)
with my coffee on my desk, I review the output of the installation
the console shows this message
Code: Select all
/bin/sh: line 0: cd: /Volumes/Macintosh: No such file or directory
Making all in include
/bin/sh: line 0: cd: include: No such file or directory
make[2]: Nothing to be done for `all'.
/bin/sh: line 0: cd: /Volumes/Macintosh: No such file or directory
Making all in bin
/bin/sh: line 0: cd: bin: No such file or directory
make[2]: Nothing to be done for `all'.
/bin/sh: line 0: cd: /Volumes/Macintosh: No such file or directory
make[1]: *** [all] Error 1
/bin/sh: line 0: cd: /Volumes/Macintosh: No such file or directory
make: *** [all] Error 1
I want to emphatize also that I have the system on /Volumes/Macintosh SSD/ where my ~/ foldes is in /Volume/Macintosh HD
Thank you for your help