#19254 [Fbk->Csd]: --with-dom does not compile with libxml2-2.4.24

From: Date: Thu, 05 Sep 2002 18:26:44 +0000
Subject: #19254 [Fbk->Csd]: --with-dom does not compile with libxml2-2.4.24
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18505@lists.php.net to get a copy of this message
ID: 19254 User updated by: michael.mauch@gmx.de Reported By: michael.mauch@gmx.de -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: Linux PHP Version: 4CVS-2002-09-05 New Comment: Thanks for the ultra-fast and correct answer! I thought my /usr/local/include/libxml was libxml1, but looking into xmlversion.h revealed that it was indeed libxml2 (2.4.3). Thank you again! Previous Comments: ------------------------------------------------------------------------ [2002-09-05 13:11:40] chregu@php.net Just for the record. libxml2-2.4.24 compiles here (linux debian) just fine. chregu ------------------------------------------------------------------------ [2002-09-05 13:09:41] chregu@php.net you have most certainly an old libxml2 installation lying around (your error memssages are typical for old libxml2). please delete all old reference (especially the header files) and test it again chregu ------------------------------------------------------------------------ [2002-09-05 12:58:05] michael.mauch@gmx.de With php4-STABLE-200209050900, configured --with-dom --with-zlib, using the latest libxml2 (2.4.24, see ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/), the compilation fails: gcc -I. -I/usr/local/src/php4-STABLE-200209050900/ext/domxml -I/usr/local/src/php4-STABLE-200209050900/main -I/usr/local/src/php4-STABLE-200209050900 -I/usr/local/src/php4-STABLE-200209050900/Zend -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/src/php4-STABLE-200209050900/ext/mysql/libmysql -I/usr/local/src/php4-STABLE-200209050900/ext/xml/expat -I/usr/local/src/php4-STABLE-200209050900/TSRM -g -O2 -c php_domxml.c && touch php_domxml.lo php_domxml.c: In function `zif_domxml_doc_get_element_by_id': php_domxml.c:2695: warning: passing arg 2 of `xmlHashScan' from incompatible pointer type php_domxml.c: In function `zif_domxml_doc_ids': php_domxml.c:3313: warning: passing arg 2 of `xmlHashScan' from incompatible pointer type php_domxml.c: In function `zif_xmldoc': php_domxml.c:3330: `xmlDoValidityCheckingDefaultValue' undeclared (first use in this function) php_domxml.c:3330: (Each undeclared identifier is reported only once php_domxml.c:3330: for each function it appears in.) php_domxml.c:3346: `xmlLoadExtDtdDefaultValue' undeclared (first use in this function) make[3]: *** [php_domxml.lo] Fehler 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19254&edit=1

« previous php.bugs (#18505) next »