GNOME Bugzilla – Bug 333558
libxslt build failure (aclocal related)
Last modified: 2006-10-02 08:25:53 UTC
trying to compile libxslt from GARNOME 2.13.92 on SUSE Linux 10.0 i586 fails: ==> Running make in work/main.d/libxslt-1.1.15 make[6]: Entering directory `/space/tmp/garnome-2.13.92/platform/libxslt/work/main.d/libxslt-1.1.15' cd . && /bin/sh /space/tmp/garnome-2.13.92/platform/libxslt/work/main.d/libxslt-1.1.15/missing --run aclocal-1.9 aclocal:configure.in:98: warning: macro `AM_PROG_LIBTOOL' not found in library cd . && /bin/sh /space/tmp/garnome-2.13.92/platform/libxslt/work/main.d/libxslt-1.1.15/missing --run automake-1.9 --gnu libexslt/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined libexslt/Makefile.am:7: ... (for other subdirectories, too, but not shown here - too boring) ... Workaround (shell commands, the aclocal is crucial): cd platform/libxslt/work/main.d/libxslt-1.1.15 aclocal -I ${main_sharedstatedir}/aclocal make install cd -
What happens if you remove FIXUP_SCRIPTS = $(WORKSRC)/libtool line from platform/libxslt/Makefile? Does that get rid of the error?
The error persists. Looking closer, it is no surprise: files/upstream-fixes.diff patches the configure script before configure.in, and the configure.in changes trigger running aclocal and other scripts to rebuild things like aclocal.m4.
Mattias, Both configure and configure.in were patched only for completeness. Not every app will rebuild configure if configure.in is patched. Please try the following: (1) make sure that ./bootstrap/gnome-common has been built and installed (2) edit gar.conf.mk add ACLOCAL_AMFLAGS as shown below: # allow us to find possibly installed autofoo ACLOCAL_FLAGS += -I $(datadir)/aclocal ACLOCAL_AMFLAGS += -I $(datadir)/aclocal (3) make cookieclean (4) make -Joseph
the bug persists in 2.14.0, bumping field
whoops, this comment #4 was meant for a different bug, sorry for the confusion.
NEEDINFO according to comment 3.
Closing this bug report as no further information has been provided. Matthias, please feel free to reopen this bug if you can provide the information Joseph asked for in comment 3. Thanks in advance!