h4ck3rm1k3 / TwoNickels

branch of dime contains a new dxf2osm autocad dxf file format reader and openstreemap osm output https://svn.coin3d.org/repos/dime/trunk
https://svn.coin3d.org/repos/dime/trunk
GNU General Public License v2.0
3 stars 2 forks source link

Version mismatch error. This is libtool 2.2.6b, but the definition of this LT_INIT comes from libtool 2.2.6 #1

Closed stodge closed 13 years ago

stodge commented 13 years ago

I'm having trouble building dxf2osm. Configure works but make gives:

make Making all in src make[1]: Entering directory /home/mike/Downloads/TwoNickels/src' Making all in classes make[2]: Entering directory/home/mike/Downloads/TwoNickels/src/classes' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -DDIME_INTERNAL -g -O2 -MT Class.lo -MD -MP -MF .deps/Class.Tpo -c -o Class.lo Class.cpp libtool: Version mismatch error. This is libtool 2.2.6b, but the libtool: definition of this LT_INIT comes from libtool 2.2.6. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b libtool: and run autoconf again. make[2]: * [Class.lo] Error 63 make[2]: Leaving directory `/home/mike/Downloads/TwoNickels/src/classes' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory`/home/mike/Downloads/TwoNickels/src' make: *\ [all-recursive] Error 1

Running autoreconf gives me:

autoreconf configure.ac:1: error: m4_defn: undefined macro: _m4_divert_diversion configure.ac:1: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1

This is on Fedora 12

ltmain.sh (GNU libtool) 2.2.6b autoconf (GNU Autoconf) 2.63

Any suggestions appreciated.

Thanks Mike

stodge commented 13 years ago

Bah - found a solution through Google just after I posted this. Sorry.

I deleted libtool from the TwiNickel directory and symlinked it to /usr/bin/libtool after configure was done.

stodge commented 13 years ago

Maybe I shouldn't have closed this as it's probably still a valid issue.

thirsd commented 13 years ago

do you have resoved this problem? I am meeting this problem ,but I still don't resolve it email:thirsd@gmail.com if you can do it ,give me a email ,thanks so much