#16825 [Com]: Latest updates make compilation fail

From: Date: Mon, 05 Aug 2002 07:14:18 +0000
Subject: #16825 [Com]: Latest updates make compilation fail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15995@lists.php.net to get a copy of this message
ID: 16825 Comment by: delphiring@hotmail.com Reported By: andrei@php.net Status: Closed Bug Type: DOM XML related Operating System: RedHat 7.1 PHP Version: 4.0CVS-2002-04-25 New Comment: by default the libxml2 head file will be installed into /usr/include/libxml2/libxml if you are use --prefix=/usr when upgrade libxml. And that's why you can not compile domxml You might fix the bug yourself by edit ext/domxml/php_domxml.h vi ext/domxml/php_domxml.h :% s/libxml/libxml2\/libxml/ :wq make Previous Comments: ------------------------------------------------------------------------ [2002-06-28 10:15:20] noel@racinglines.com I am still getting this error when building PHP-4.2.1 with Libxml2-2.4.22 php_domxml.c: In function `zif_domxml_doc_get_element_by_id': php_domxml.c:2675: warning: passing arg 2 of `xmlHashScan' from incompatible pointer type php_domxml.c: In function `zif_domxml_doc_ids': php_domxml.c:3292: warning: passing arg 2 of `xmlHashScan' from incompatible pointer type php_domxml.c: In function `zif_xmldoc': php_domxml.c:3309: `xmlDoValidityCheckingDefaultValue' undeclared (first use in this function) php_domxml.c:3309: (Each undeclared identifier is reported only once php_domxml.c:3309: for each function it appears in.) php_domxml.c:3325: `xmlLoadExtDtdDefaultValue' undeclared (first use in this function) php_domxml.c:3325: `XML_COMPLETE_ATTRS' undeclared (first use in this function) php_domxml.c: In function `php_xpathptr_eval': php_domxml.c:3995: `XPATH_XSLT_TREE' undeclared (first use in this function) ------------------------------------------------------------------------ [2002-05-16 10:26:18] chregu@php.net You need at least libxml2-2.4.14 for a clean compile. This is fixed in CVS, so configure checks for that, ------------------------------------------------------------------------ [2002-04-25 11:04:43] andrei@php.net After latest CVS update, compiling against installed libxml2-2.4.2 fails with the following: /projects/compile/php4/ext/domxml/php_domxml.c: In function `zif_domxml_doc_get_element_by_id': /projects/compile/php4/ext/domxml/php_domxml.c:2711: warning: passing arg 2 of `xmlHashScan' from incompatible pointer type ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16825&edit=1

« previous php.bugs (#15995) next »