Problems with installation with Sablotron
| From: | Viral Shah | Date: | Thu, 26 Apr 2001 11:41:45 +0000 |
| Subject: | Problems with installation with Sablotron | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2892@lists.php.net to get a copy of this message | ||
Hello,
I am trying to install PHP with XSLT support (sablotron). I am faced with problems in running the
./configure command.
I downloaded the expat code from source forge and installed it. I then installed sablotron 0.52.
There were no errors. I then tried to run the PHP ./configure script like this:
> ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql --with-xml
> --with-sablot=/usr/local/sablotron --enable-track-vars --enable-magic-quotes
This gave an error and the contents of the debug.log file are as follows:
<--debug.log-->
CONFIGURE: './configure' '--with-apxs=/usr/sbin/apxs'
'--with-mysql=/usr/loca
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/local/mysql/i
LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
LIBS: -lxmltok -lxmlparse -lsablot -lmysqlclient -lresolv -lm -ldl -lcryp
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql/lib/mysql /usr/local/sablotron/lib
uname -a: Linux server1.gavin.com 2.2.14-12.10RS #1 Mon Oct 9 17:20:11 CDT 20
gcc -o conftest -g -O2 -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT -Wl,-rpa
/usr/local/sablotron/lib/libsablot.so: undefined reference to `XML_ParserCreate
/usr/local/sablotron/lib/libsablot.so: undefined reference to `XML_SetEncoding'
/usr/local/sablotron/lib/libsablot.so: undefined reference to `XML_SetCommentHa
/usr/local/sablotron/lib/libsablot.so: undefined reference to `XML_SetNamespace
collect2: ld returned 1 exit status
<--end debug.log-->
Could anyone please help me solve this problem? Thank you in anticipation of your help.
Regards.
===
Viral Shah