Hi,
when i tried to install php4.2.1.tar.gz with linux7.2, '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
for which i have installed libxml2-2.4.2-1.src.rpm. still i am getting the error. Suggest me how to solve the problem.
Hemanth.