Installing 5.8/InterViews 17 from source code

Post Reply
jtmoyer
Posts: 14
Joined: Fri Jun 17, 2005 10:01 am
Location: Philadelphia, PA, USA
Contact:

Installing 5.8/InterViews 17 from source code

Post by jtmoyer »

I'm trying to install NEURON 5.8 from source code onto a dual 2.5 GHz Mac G5. When I try to "make" InteViews I get the error pasted below. Any idea why it can't find the LibUnidrawhines.la library? It doesn't appear to be in the referenced directory, or anywhere in the IV directory for that matter. Thanks.


/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -lSystem is not an object file (not allowed in a library)
make[2]: *** [libIVhines.la] Error 1
Making all in include
make[2]: Nothing to be done for `all'.
Making all in bin
Making all in iclass
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o classbuffer.o classbuffer.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o classeditor.o classeditor.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o classinfo.o classinfo.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o dialogs.o dialogs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o direct.o direct.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o globals.o globals.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o iclass.o iclass.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o main.o main.cpp
/bin/sh ../../../libtool --mode=link g++ -g -O2 -o iclass classbuffer.o classeditor.o classinfo.o dialogs.o direct.o globals.o iclass.o main.o ../../lib/libIVhines.la ../../lib/libUnidrawhines.la -L/usr/X11R6/lib -lX11 -lXext
mkdir .libs
libtool: link: cannot find the library `../../lib/libIVhines.la'
make[3]: *** [iclass] Error 1
Making all in idemo
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c -o main.o main.cpp
/bin/sh ../../../libtool --mode=link g++ -g -O2 -o idemo main.o ../../lib/libUnidrawhines.la ../../lib/libIVhines.la -L/usr/X11R6/lib -lX11 -lXext
mkdir .libs
libtool: link: cannot find the library `../../lib/libUnidrawhines.la'
make[3]: *** [idemo] Error 1
Making all in idraw
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idarrow.o idarrow.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idarrowhead.o idarrowhead.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idarrows.o idarrows.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idcatalog.o idcatalog.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idcmds.o idcmds.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idcomp.o idcomp.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idcreator.o idcreator.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o iddialogs.o iddialogs.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o ided.o ided.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idkybd.o idkybd.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o idvars.o idvars.cpp
g++ -DHAVE_CONFIG_H -I. -I. -Div2_6_compatible -I../../include/IV-2_6 -I../../include -g -O2 -c -o main.o main.cpp
/bin/sh ../../../libtool --mode=link g++ -g -O2 -o idraw idarrow.o idarrowhead.o idarrows.o idcatalog.o idcmds.o idcomp.o idcreator.o iddialogs.o ided.o idkybd.o idvars.o main.o ../../lib/libUnidrawhines.la ../../lib/libIVhines.la -L/usr/X11R6/lib -lX11 -lXext
mkdir .libs
libtool: link: cannot find the library `../../lib/libUnidrawhines.la'
make[3]: *** [idraw] Error 1
hines
Site Admin
Posts: 1691
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

Here is how I build on a OS X G5
NSRC=$HOME/neuron/nrn
IVSRC=$HOME/neuron/ivcarbon
NOBJ=$HOME/neuron/nrncarbon
IDIR=/Applications/NEURON-5.8
put the nrn*tar.gz sources in NSRC
and the iv*tar.gz sources in IVSRC
cd $IVSRC
./configure --prefix=$IDIR/iv --enable-carbon
make
make install
cd $NOBJ
$NSRC/configure --prefix=$IDIR/nrn --srcdir=$NSRC \
--with-iv=$IDIR/iv --with-nrnjava --enable-carbon
make
make install
make after_install
#and, if you want to make a dmg to move it to another machine...
make dmg
Post Reply