trouble compiling fnlib
I get this when running make in the fnlib directory:
[root@localhost fnlib-0.5]# make
cd . && autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make all-recursive
make[1]: Entering directory `/home/likosin/fnlib-0.5'
Making all in Fnlib
make[2]: Entering directory `/home/likosin/fnlib-0.5/Fnlib'
source='file.c' object='file.lo' libtool=yes \
depfile='.deps/file.Plo' tmpdepfile='.deps/file.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DSYSTEM_FNRC=\""/usr/local/etc/fnrc"\" -I. -I. -I.. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -g -O2 -I/usr/local/include -I/usr/X11R6/include -c -o file.lo `test -f 'file.c' || echo './'`file.c
libtool: ltconfig version `' does not match ltmain.sh version `1.3.3'
Fatal configuration error. See the libtool docs for more information.
make[2]: *** [file.lo] Error 1
make[2]: Leaving directory `/home/likosin/fnlib-0.5/Fnlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/likosin/fnlib-0.5'
make: *** [all] Error 2
I checked the libtools docs, and the README said I should apply the following patch:--- /usr/bin/automake Sat Mar 11 09:25:33 2000
+++ automake Thu Sep 7 22:08:33 2000
@@ -187,7 +187,7 @@ $seen_libtool = 0;
$libtool_line = 0;
# Files installed by libtoolize.
-@libtoolize_files = ('ltconfig', 'ltmain.sh', 'config.guess', 'config.sub');
+@libtoolize_files = ('ltmain.sh', 'config.guess', 'config.sub');
# TRUE if we've seen AM_MAINTAINER_MODE.
$seen_maint_mode = 0;
I didn't quite get it, so I posted here. any help?
|