c - libtool version mismatch error persists after running `autoreconf -fvi` -


i'm trying add new binary old project written in c/c++ on machine ubuntu 14.04. first need run ./setup_configure runs following script:

  #!/bin/tcsh -f                                                                                                                                                                  2    3 # new dev/ environment, before running configure,    4 # , anytime after makefile.am file has changed,    5 # following commands must executed within    6 # dev/ directory:   7    8 set cmd1=(rm -rf autom4te.cache)   9 if ( "`uname -s`" == "darwin" )   10     set cmd2=(glibtoolize --force)  11 else  12     #set cmd2=(libtoolize --force)  13     set cmd2=(libtoolize -f -v)  14 endif  15 set cmd3=(aclocal)  16 #automake --add-missing necessary because config.sub  17 # , config.guess links, , make not present,  18 # if missing, --add-missing add them  19 # platform  20 #set cmd4=(automake --add-missing -wno-portability)  21 set cmd4=(automake -a -c)  22 set cmd5=(autoreconf --force -wno-portability)  23 #automake note: autoreconf --force runs automake  24 set cmd6=(autoconf -wno-portability)  25   26 echo $cmd1  27 $cmd1  28 if ($status) exit $status  29 echo $cmd2  30 $cmd2  31 if ($status) exit $status  32 echo $cmd3  33 $cmd3  34 if ($status) exit $status  35 echo $cmd4  36 $cmd4  37 #if ($status) exit $status  38 echo $cmd5  39 $cmd5  40 if ($status) exit $status  41 echo $cmd6  42 $cmd6  43 if ($status) exit $status  44   45 # first 3 commands create platform specific   46 # tools needed configure (use glibtoolize on mac   47 # in place of libtoolize). these platform specific tools   48 # placed in dev/config directory.   49 # autoreconf --force , automake create makefile.in   50 # files makefile.am files in each directory.   51 # following successful execution of these commands,   52 # configure command can executed.   53  

and afterwards need run ./configure. since not want compile whole project cd new sub-directory have added , run make, however, process not go smoothly , ends following error:

/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.  libtool 2.4.2 debian-2.4.2-1.7ubuntu1, libtool: definition of lt_init comes older release. libtool: should recreate aclocal.m4 macros libtool 2.4.2 debian-2.4.2-1.7ubuntu1 libtool: , run autoconf again. make: *** [mri_segment_ms] error 63 

i have found lots of q&as regarding similar problem on internet, of suggest user run autoreconf -ivf. there comprehensive answer in stackoverflow here , here. have performed suggested steps, unfortunately problem persists. wondering whether give me hint.

edit: same thing happens if try make root directory of whole project.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -