I finally was able to compile/install php with xslt extensions.
You have to apply the patch for Sablotron first then configure, make, su
make install then apply the php patch, configure, make, su make install
I applied the patches as follows:
patch
for more options do man patch
On Tue, 2002-08-20 at 21:47, Tom Rogers wrote:
> Hi,
>
> Wednesday, August 21, 2002, 6:21:30 AM, you wrote:
> G> I have been struggling to compile php(4.2.2, mandrake 8.2, apache
> G> 1.3.26) with xslt support for over 3 days now. I can configure with
> G> trouble like this:
> G> ./configure \
> G> --with-apxs=/usr/lib/apache/bin/apxs \
> G> --with-sybase=/usr/local/freetds \
> G> --with-mysql \
> G> --enable-xslt \
> G> --with-xslt-sablot
>
> G> then make
> G> I get loads of errors in sablot.c including line 154 multiple definition
> G> of 'SXPF_SUPPORTS_UNPARSED_ENTITIES'
>
> G> so I noticed the sablotron site has 2 php patches here that appear to
> G> fix this:
> G> http://www.gingerall.com/charlie/ga/xml/d_sab.xml
>
> G> HOW do I apply the patches??
>
> >From the same site :)
>
> To apply a patch, copy it to the Sablotron root directory (Sablot-x.xx)
> and type: patch -p1 < patch_filename
>
>
> --
> regards,
> Tom
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php