Now, I know little to nothing about libtool. But after a bit of fiddling around I figure I can edit sapi/apache2/Makefile and after each occurrence of this:
$(LIBTOOL) --mode=compile
Add this:
--tag CC
This allows the compile to complete.
The problem that I can now stuck on (assuming that I have actually correctly fixed the above problem at all) is that when trying to make install, I get this error that I cannot figure out how to solve:
/usr/bin/install -c -m 0644 -d '/usr/lib/apache2/modules' /bin/sh ../..//libtool --mode=install --tag CC /usr/bin/install -c -m 0644 mod_xslt.la '/usr/lib/apache2/modules' libtool: install: warning: relinking `mod_xslt.la'
(cd /home/rbrown/Downloads/Tar/modxslt-2005072700/sapi/apache2; /bin/sh ../..//libtool =CC --mode=relink i686-pc-linux-gnu-gcc -pthread -Os -march=i686 -fomit-frame-pointer -g -O2 -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/libxml2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-0 -I/usr/include/apr-0 -I/usr/include/db4.3 -I/usr/include/apache2 -I../../lib -I../..//lib -export-dynamic -rpath /usr/lib/apache2/modules -module -avoid-version -o mod_xslt.la
modxslt.lo modxslt-helpers.lo ../../lib/libmodxslt0.la /usr/lib/libapr-0.la /usr/lib/libaprutil-0.la -L/usr/lib -lxslt -lxml2 -lz -lm -lexslt -L/usr/lib -lpcre -lpthread )
*** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. libtool: warning: cannot infer operation mode from `=CC' libtool: you must specify a MODE
Try `libtool --help' for more information. libtool: install: error: relink `mod_xslt.la' with the above command before installing it make[1]: *** [install-stamp] Error 1 make[1]: Leaving directory `/home/rbrown/Downloads/Tar/modxslt-2005072700/sapi/apache2'
make: *** [install-sapi] Error 2
So at this point I'm at something of a brick wall. Any help on this would be greatly appreciated.