Hi,

Running the following xml library packages:

[10:29:58][root@insomniac]:/usr/local/php-4.2.2$ pkg_info | grep xml
libxml2-2.4.1       Xml parser library for GNOME
libxml2-2.4.12      Xml parser library for GNOME
[10:33:08][root@insomniac]:/usr/local/php-4.2.2$

I have no problem with the following configure line:

./configure  --with-mysql=/usr/local/ --with-pgsql --with-gd=/usr/local/
--with-openssl --with-curl --enable-ftp --with-dom --enable-trans-sid
-enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/
--withfreetype --with-t1lib --with-ttf --with-freetype-dir=/usr/local/
--enable-pcntl

Problems only arise upon "make" (this is just the part that died):

[10:29:34][root@insomniac]:/usr/local/php-4.2.2$ make
Making all in Zend
Making all in main
Making all in ext
Making all in zlib
Making all in ctype
Making all in curl
Making all in domxml
gcc -I. -I/usr/local/php-4.2.2/ext/domxml -I/usr/local/php-4.2.2/main
-I/usr/local/php-4.2.2 -I/usr/local/php-4.2.2/Zend -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local//include/freetype2/freetype
-I/usr/local//include -I/usr/local//include/mysql
-I/usr/local/include/pgsql -I/usr/local/php-4.2.2/ext/xml/expat 
-I/usr/local/php-4.2.2/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: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)
*** Error code 1

Stop in /usr/local/php-4.2.2/ext/domxml.
*** Error code 1

Stop in /usr/local/php-4.2.2/ext/domxml.
*** Error code 1

Stop in /usr/local/php-4.2.2/ext.
*** Error code 1

Stop in /usr/local/php-4.2.2.
[10:29:58][root@insomniac]:/usr/local/php-4.2.2$


Is there any more information I can give to help find a patch for this...
or is it something Im doing wrong?

I would really like to upgrade to 4.2.2 due to the security vunerability
(and due to the nature of the applications running on this live server -
post cannot be turned off).

Alternative suggestions (and even hints as to how I could find the source
of the problem and fix it myself would be welcomed - I have limited, but
basic foundation in C programming).

Thanks

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to