On Sat, 2 Jul 2005, Jean Bréfort wrote: > Le vendredi 01 juillet 2005 à 22:45 +0300, Tommi Hassinen a écrit : > > I encountered a problem while compiling mopac7-1.00 on a gentoo amd64 > machine. configure runs fine, but make calls autoconf and al. (seems > that configure.ac is more recent than configurea and Makefile.in older > than aclocal.m4, and apparently other such reverse order) and this > fails: > > ************************************************************* > checking for correct ltmain.sh version... no > > *** Gentoo sanity check failed! *** > *** libtool.m4 and ltmain.sh have a version mismatch! *** > *** (libtool.m4 = 1.5.18, ltmain.sh = 1.5.6) *** > > Please run: > > libtoolize --copy --force > > if appropriate, please contact the maintainer of this > package (or your distribution) for help. > ************************************************************* > > Running libtoolize fixed the problem. > > Same problem with libghemical-1.90. Hello, the same mysterious thing sometimes happen here as well ; the "make" command will start calling the configuration scripts again. I also suspected some time-stamp related reasons (sometimes it happens after CVS operations that might change the timestamps) but I didn't found any solutions and just let the scripts run through... But I'll try libtoolize --copy --force next time. > ghemical-1.90 did not configure:configure: > > ************************************************************* > error: The pkg-config script could not be found or is too old. Make sure it > is in your PATH or set the PKG_CONFIG environment variable to the full > path to pkg-config. > > Alternatively you may set the GTK_CFLAGS and GTK_LIBS environment variables > to avoid the need to call pkg-config. See the pkg-config man page for > more details. > > To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. > See `config.log' for more details. > ************************************************************* > > I have pkg-config 0.17.2. config.log was not helpful. I had to set the PKG_CONFIG variable to /usr/bin/pkg-config (/usr/bin is in my path) to make it work. > This seems quite mysterious. I have the same problems here ; sometimes it says the pkg-config command is missing and I need to do export PKG_CONFIG=pkg-config > Then compilation failed, because of a protected member (gcc is 3.4.4). I did not remember to try with gcc-3.4. :( I'll do it today and make the changes needed in CVS. Regards, Tommi