PHP Install Help

From: Date: Wed, 27 Dec 2000 19:14:09 +0000
Subject: PHP Install Help
Groups: php.install 
Request: Send a blank email to php-install+get-1354@lists.php.net to get a copy of this message
I'm having problems getting the Sablotron XSL parser set up to run with PHP 4.0.4. I've downloaded (and compiled) expat 1.95.1 and Sablotron 0.50 without a problem, but when I try to compile PHP with the --with-sablot flag, I get an *** ATTENTION *** block at the bottom of the './configure' output saying: "Something is likely to be messed up here, because the configure script was not able to detect a simple feature on your platform. This is often caused by incorrect configuration parameters. Please see the file debug.log for error messages. If you are unable to fix this, send the file debug.log to the php-install@lists.php.net mailing list and include appropiate information about your setup." - - - - - Here's the contents of the debug.log file: CONFIGURE: './configure' '--with-mysql' '--with-sablot' '--enable-sablot-errors-descriptive' '--with-apxs=/usr/local/apache/bin/apxs' CC: gcc CFLAGS: -g -02 CPPFLAGS: -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT CXX: CXXFLAGS: INCLUDES: -I/usr/local/apache/include -i$(top_builddir)/Zend -I/root/php-4.0.4/ext/mysql/libmysql -I/usr/local/include LDFLAGS: -lxmltok -lxmlparse -lsablot -lresolv -lm -ldl -lcrypt -lnsl -lresolv DLIBS: SAPI: apache PHP_RPATHS: /usr/local/lib uname -a: Linux mobile 2.2.15-4mdk #1 Wed May 10 15:31:30 CEST 2000 i686 unknown gcc-o conftest -g -02 -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -Wl,-rpath,/usr/local/lib, -L/usr/local/lib conftest.c -lxmltok -lxmlparse -lsablot -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 /usr/bin/ld: cannot find -lxmltok collect2: ld returned 1 exit status - - - - - My system is a Linux Mandrake 7.1 (2.2.15 kernel) box with Apache 1.3.14, Sablotron 0.50 and Expat 1.95.1 (all self-compiled) If I add the sablot install path or source dir to the --with-sablot, I get the same results in the debug.log file. I've got to be missing something, but I don't know what. Any help would be much appreciated. - Theo ----- Remember, the guy who has to maintain your code may know where you live.

« previous php.install (#1354) next »