Hi!

I compiled php 4.3.1 but now trying to use the function xslt_set_encoding
gives
        Fatal error: Call to undefined function: xslt_set_encoding() in
        /usr/local/httpd/htdocs/pinkeltjesite/index.cgi on line 83.

in a script that used to run without an error. The other functions having
to do with XSLT I use work fine. I used the following configure options:

for iconv 1.8: no options.
for Sablot-0.98: --prefix=/usr --with-iconv-prefix=/usr/local
for php 4.3.1: --prefix=/usr --with-iconv=/usr/local --enable-xslt
--with-xslt-sablot=/usr --with-expat-dir=/usr --with-iconv-dir=/usr/local

These are the only packages I recompiled. I had expat version 1.95.2
installed and apache version 1.3.23 (but I guess that does not matter so
much when using cgi-scripts.)

The config.log of php says about sablotron:

configure:73893: checking for Sablotron version
configure:73918: gcc -o conftest -g -O2  -I/usr/include -lstdc++
-Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lexpat -liconv
-lcrypt -lresolv -lm -ldl -lnsl  -lcrypt 1>&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:74233: checking for libiconv in -liconv
configure:74652: checking for SablotSetEncoding in -lsablot
configure:74705: checking for SablotGetOptions in -lsablot

No errors here.

No errors here.

When linking php the compiler is passed among other things the options
-lsablot -liconv -lexpat -lexpat -liconv -lcrypt -lresolv -lm -ldl -lnsl
-lcrypt

No errors here either. Anyone any idea how I could get xslt_set_encoding
to work?

Bye,
Chris Dams
[EMAIL PROTECTED]


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to