ID: 14075 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: DOM XML related Operating System: RedHat 7.1 PHP Version: 4.0.6 New Comment:
Just wanted to mention I compiled from source on all of the packages, namely, libxml2.4.10, apache1.3.22, and php4.0.6 and gave explicit path directions for libxml2 when using --with-dom=/path/to/xml/source, which I had just built. The oddity here is that when make-ing php there were no issues but when I attempted apache the make fails (in reality php had the same problem apache did, but was mysteriously fixed when I rebuild php again). Unfortunately, this is my nth rebuild of all of the above and I still have had no success. I am in the process of getting the most recent php tarball and will try to find the libxml-devel rpm (the source?) as I haven't tried that approach yet. Previous Comments: ------------------------------------------------------------------------ [2001-11-15 19:29:43] [EMAIL PROTECTED] You have most likely not installed the -devel rpm for libxml. And it also seems like the configure finds some old version of libxml. Please try the latest CVS snapshot from http://snaps.php.net/ as it has some fixes in it for domxml. --Jani ------------------------------------------------------------------------ [2001-11-15 18:07:37] [EMAIL PROTECTED] Just want to mention my versions: libxml2-2.4.10-1 apache-1.3.22 php4.0.6 RedHat 7.1 ------------------------------------------------------------------------ [2001-11-15 17:33:32] [EMAIL PROTECTED] PHP Configure: /configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic --enable-shared --enable-inline-optimization --with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --with-db2 --with-db3 --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-ftp --enable-wddx --with-mysql --without-oracle --without-oci8 --with-xml --with-apache=/home/evan/CMS/apache_1.3.22 --with-dom Apache Configure: ./configure --with-layout=Apache --prefix=/vars/www --activate-module=src/modules/php4/libphp4.a PHP makes fine as does libxml2(I also tried a RH7.1 rpm). I also had to do a ln -s to get --with-dom to work (originally I pointed --with-dom=/path/to/XML which produced identical results as below). The following is the output of Apache make: ===> src make[1]: Entering directory `/home/evan/CMS/apache_1.3.22' make[2]: Entering directory `/home/evan/CMS/apache_1.3.22/src' ===> src/os/unix make[3]: Nothing to be done for `all'. <=== src/os/unix ===> src/ap make[3]: Nothing to be done for `all'. <=== src/ap ===> src/main make[3]: Nothing to be done for `all'. <=== src/main ===> src/lib <=== src/lib ===> src/modules ===> src/modules/standard make[4]: Nothing to be done for `all'. <=== src/modules/standard ===> src/modules/php4 make[4]: Nothing to be done for `all'. <=== src/modules/php4 <=== src/modules gcc -c -I./os/unix -I./include -DLINUX=22 -I/home/evan/CMS/php-4.0.6 -I/home/evan/CMS/php-4.0.6/main -I/home/evan/CMS/php-4.0.6/main -I/home/evan/CMS/php-4.0.6/Zend -I/home/evan/CMS/php-4.0.6/Zend -I/home/evan/CMS/php-4.0.6/TSRM -I/home/evan/CMS/php-4.0.6/TSRM -I/home/evan/CMS/php-4.0.6 -DNO_DL_NEEDED `./apaci` modules.c gcc -c -I./os/unix -I./include -DLINUX=22 -I/home/evan/CMS/php-4.0.6 -I/home/evan/CMS/php-4.0.6/main -I/home/evan/CMS/php-4.0.6/main -I/home/evan/CMS/php-4.0.6/Zend -I/home/evan/CMS/php-4.0.6/Zend -I/home/evan/CMS/php-4.0.6/TSRM -I/home/evan/CMS/php-4.0.6/TSRM -I/home/evan/CMS/php-4.0.6 -DNO_DL_NEEDED `./apaci` buildmark.c gcc -DLINUX=22 -I/home/evan/CMS/php-4.0.6 -I/home/evan/CMS/php-4.0.6/main -I/home/evan/CMS/php-4.0.6/main -I/home/evan/CMS/php-4.0.6/Zend -I/home/evan/CMS/php-4.0.6/Zend -I/home/evan/CMS/php-4.0.6/TSRM -I/home/evan/CMS/php-4.0.6/TSRM -I/home/evan/CMS/php-4.0.6 -DNO_DL_NEEDED `./apaci` \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a -Wl,-rpath,/home/evan/CMS/XML/lib -rdynamic -L/home/evan/CMS/XML/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lgd -ljpeg -lz -lxml -ldb -ldb2 -lgdbm -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt -lexpat make[2]: Leaving directory `/home/evan/CMS/apache_1.3.22/src' make[1]: Leaving directory `/home/evan/CMS/apache_1.3.22' modules/php4/libphp4.a(php_domxml.o): In function `php_xpathptr_new_context': /home/evan/CMS/php-4.0.6/ext/domxml/php_domxml.c:1607: undefined reference to `xmlXPtrNewContext' modules/php4/libphp4.a(php_domxml.o): In function `php_xpathptr_eval': /home/evan/CMS/php-4.0.6/ext/domxml/php_domxml.c:1670: undefined reference to `xmlXPtrEval' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[1]: *** [build-std] Error 2 make: *** [build] Error 2 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14075&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]