Menu

Compilation error: How to recreate aclocal.m4

Help
2010-10-11
2012-10-16
  • Boris Duran

    Boris Duran - 2010-10-11

    Hi again,

    I downloaded MATHGL using: svn co https://mathgl.svn.sourceforge.net/svnroot/
    mathgl
    mathgl

    after doing the configuration with: ./configure --enable-pthread --enable-glut
    --enable-fltk --enable-qt --with-qt
    I wanted to make it but I get the following error:

    /path/to/mathgl$ make
    Making all in mgl
    make[1]: Entering directory `/path/to/mathgl/mgl'
    make[2]: Entering directory `/path/to/mathgl'
    make[2]: Leaving directory `/path/to/mathgl'
    /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include/mgl    -DWITH_QT  -DWITH_FLTK -DWITH_GLUT -DMGL_FONT_PATH=\"/usr/local/share/mathgl/fonts/\" -DMOD_LIB_DIR=\"/usr/local/lib/mgl/\"       -I/usr/include/freetype2 -g -O2 -D_THREAD_SAFE -D_REENTRANT  -Wall -I/usr/include -I../include -I../include -DHAVE_PTHREAD -g -O2 -MT libmgl_la-mgl_data_cf.lo -MD -MP -MF .deps/libmgl_la-mgl_data_cf.Tpo -c -o libmgl_la-mgl_data_cf.lo `test -f 'mgl_data_cf.cpp' || echo './'`mgl_data_cf.cpp
    libtool: Version mismatch error.  This is libtool 2.2.6 Debian-2.2.6a-4, but the
    libtool: definition of this LT_INIT comes from libtool 2.2.6b.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 Debian-2.2.6a-4
    libtool: and run autoconf again.
    make[1]: *** [libmgl_la-mgl_data_cf.lo] Error 63
    make[1]: Leaving directory `/path/to/mathgl/mgl'
    make: *** [all-recursive] Error 1
    

    Does anybody know what is happening? and how to solve it? I'm working under
    Ubuntu 10.04, libtool2.2.6b

    Boris

     
  • Nobody/Anonymous

    Use autoreconf, you will need th autotools package.

    As an aside, why not install mathgl-dev, with your package manager? This will
    install the bits you need to code with.

     
  • Boris Duran

    Boris Duran - 2010-10-11

    Hi nobody,

    I run the command: autoreconf and after taht: make and sudo make install.
    It built everything as it should (I hope), the example files are working so I
    think everything compiled just fine. Thanks for the solution to this.
    How should I install mathgl-dev? I can't find it with Synaptic or with apt-
    cache.

    Boris

     
  • Nobody/Anonymous

    Sorry, wrong package name
    "libmgl-dev"

    http://packages.ubuntu.com/source/lucid/mathgl

     

Log in to post a comment.