Hi,
I'm trying to compile Freesurfer current dev version from read only cvs
repo according to developers guide on my machine with Ubuntu 14.04, gcc
4.8.2, I proceed as follows in dev/ directory:
1- ./setup_configure: which finishes without error
2- ./configure with vxl and mni library directory flags, also finishes
without errors
3- make: it finishes with errors, specifically it seems to be a problem
regarding the libtools mismatch of version, here is an example error I get
from mri_segment source:
/bin/bash ../libtool --tag=CC --mode=link g++ -I../include
-L/usr/lib64 -L/usr/X11R6/lib64 -L/opt/mni_library/lib
-L/opt/vxl/build/lib -o mri_segment_ms mri_segment_ms.o
../utils/libutils.a ../fsgdf/libfsgdf.a ../rgb/librgb.a ../unix/libunix.a
../dicom/libdicom.a ../hipsstubs/libhipsstubs.a ../log/liblog.a
../xml2/libxml2.a ../jpeg/libjpeg.a ../tiff/libtiff.a ../expat/libexpat.a
-lz -lm -lcrypt -ldl -lpthread -lnetcdf -lvolume_io -lminc -lvnl_algo
-lvnl -lvcl -lnetlib -lv3p_netlib ../libtool: line 469: *CDPATH: command
not found libtool: Version mismatch error. This is libtool 2.4.2
Debian-2.4.2-1.7ubuntu1, but the libtool: definition of this LT_INIT comes
from an older release. libtool: You should recreate aclocal.m4 with macros
from libtool 2.4.2 Debian-2.4.2-1.7ubuntu1 libtool: and run autoconf again.
make: *** [mri_segment] Error 63*
Error message seems to be pretty obvious and what I have done so far (in
vain) are:
1- autoreconf -ivf
2- deleting alocal.m4 from dev, reconfiguring
3- issuing the command `make maintainer-clean` and reconfiguring and
recompiling with make
4- libtoolize --force
5- deleting config.status, configure, Makefile.in, autom4te.cache
I would be much grateful if anyone could help me here.
All the best,
Arman