php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18176 make failure
Submitted: 2002-07-05 03:51 UTC Modified: 2002-08-06 01:00 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: chemanth at hotmail dot com Assigned:
Status: No Feedback Package: DOM XML related
PHP Version: 4.2.1 OS: Red hat 7.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chemanth at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-07-05 03:51 UTC] chemanth at hotmail dot 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 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-05 04:09 UTC] sniper@php.net
reclassified.
 [2002-07-05 04:14 UTC] derick@php.net
Upgrade your libxml to 2.4.14, and report back if this fixed your problem.

Derick
 [2002-07-05 06:08 UTC] chemanth at hotmail dot com
We have upgraded to libxml-2.4.21-20020429.src.rpm. Still we are getting the same problem.
Regards,
Hemanth
 [2002-08-05 03:13 UTC] delphiring at hotmail dot com
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
 [2002-08-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC