#18176 [Com]: make failure
| From: | delphiring at hotmail dot com | Date: | Mon, 05 Aug 2002 07:13:04 +0000 |
| Subject: | #18176 [Com]: make failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15994@lists.php.net to get a copy of this message | ||
ID: 18176
Comment by: delphiring@hotmail.com
Reported By: chemanth@hotmail.com
Status: Feedback
Bug Type: DOM XML related
Operating System: Red hat 7.2
PHP Version: 4.2.1
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-07-05 06:08:46] chemanth@hotmail.com
We have upgraded to libxml-2.4.21-20020429.src.rpm. Still we are
getting the same problem.
Regards,
Hemanth
------------------------------------------------------------------------
[2002-07-05 04:14:11] derick@php.net
Upgrade your libxml to 2.4.14, and report back if this fixed your
problem.
Derick
------------------------------------------------------------------------
[2002-07-05 04:09:33] sniper@php.net
reclassified.
------------------------------------------------------------------------
[2002-07-05 03:51:06] chemanth@hotmail.com
'make' fails with the following error message after successfull call of
"./configure --with-zlib --with-dom --with-dom --enable-xslt
--with-xslt-sablot --with-apxs=/usr/sbin/apxs":
Making all in domxml
make[2]: Entering directory '/root/php4.2.1/ext/domxml'
make[3]: Entering directory '/root/php4.2.1/ext/domxml'
/bin/sh /root/php-4.2.1/libtool/ --silent --mode=compile gcc -I,
-I/root/php-4.2.1/ext/domxml -I/root/php-4.2.1/main -I/root/php-4.2.1
-I/usr/include/apache -I/root/php-4.2.1/libtool
-I/root/php-4.2.1/ext/mysql/libmysql/ -I/root/php-4.2.1/ext/xml/expat
-DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/root/php-4.2.1/TSRM -g -02
-prefer -pic -c php_domxml.c
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 usein 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 usr in
this fuction)
make[3]: *** [php_domxml.lo] Error 1
make[3]: Leaving directory '/root/php-4.2.1/ext/domxml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/php-4.2.1/ext/domxml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/php-4.2.1/ext'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18176&edit=1