You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by AxKit Wiki <axkitwiki> on 2004/02/15 01:19:37 UTC

New Wiki Content at FAQ

Wiki content at FAQ Changed by someone at IP 62.49.62.81 :

@@ -33,6 +33,25 @@
 
 Another potential problem is with SSL enabled and PHP compiled in E<emdash> this is due to a conflict between large files support between apache and mod_perl and/or PHP. To fix this recompile both Apache and mod_perl with the same large files flags.
 
+=head2 make test fails the xslt-basic tests
+This may have something to do with large file support. ie there is a conflict between the
+perl large file support and the apache/mod_perl.
+perl -V | grep "uselargefiles=define"
+means perl has large file support.
+You have to recompile apache and mod_perl. To get the required flags into apxs use:
+#!/bin/bash
+CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
+CFLAGS_SHLIB="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
+EAPI_MM=/usr/local/src/mm-1.3.0 \
+./configure --with-layout=Slackware \
+            --enable-module=most \
+            --enable-shared=max \
+            --enable-shared=ssl \
+            --disable-rule=EXPAT
+
+The CFLAGS* are the important bits.
+Then recompile mod_perl with apxs and it should work... :)
+
 =head2 Which XSLT Processor?
 
 AxKit ships with support for two XSLT processors: libxslt and Sablotron. Sometimes it's quite hard to decide which one to use. Most people choose libxslt because it's both fast and supports the XSLT 1.0 spec completely. Sablotron is a little slower, but now supports all of XSLT 1.0. Most AxKit developers use libxslt (requires XML::LibXSLT) though.