After messing around with this for a while, I turned to the libtool
mailing list, who recommended that I edit sapi/apache2/Makefile.in to
append --tag=CC to this line:
LIBTOOL := @LIBTOOL@
...and then running ./config.status
This allowed the compilation to proceed a little futher, but then died
with the following:
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 -c
modxslt.c -fPIC -DPIC -o .libs/modxslt.o
modxslt.c:23:21: error: sockios.h: No such file or directory
modxslt.c: In function 'mxslt_ap2_setanyiplist':
modxslt.c:495: error: 'SIOCGIFCONF' undeclared (first use in this function)
modxslt.c:495: error: (Each undeclared identifier is reported only once
modxslt.c:495: error: for each function it appears in.)
modxslt.c:513: error: 'SIOCGIFADDR' undeclared (first use in this function)
modxslt.c: At top level:
modxslt.c:721: warning: initialization from incompatible pointer type
make[1]: *** [modxslt.lo] Error 1
make[1]: Leaving directory
`/home/rbrown/Downloads/Tar/modxslt-2005072700/sapi/apache2'
make: *** [sapi] Error 2
I got round this by adding the following to sapi/apache2/modxslt.c:
#include "/usr/include/linux/sockios.h"
After that, I was able to finish make, and also make install.
Now I have the problem that running a page through mod-xslt causes the
apache process to segfault with no further information. My colleagues
are using mod-xslt fine for the same page, but they're using a pre-built
Debian binary which obviously doesn't suit my system at all.
So at this point I'm at something of a brick wall. Any help on this
would be greatly appreciated.