cant compile 4.2.1 on FreeBSD with domxml support

From: Date: Fri, 17 May 2002 22:11:42 +0000
Subject: cant compile 4.2.1 on FreeBSD with domxml support
References: 1 2 3 4 5 6 7 8 9  Groups: php.dev 
Request: Send a blank email to php-dev+get-84159@lists.php.net to get a copy of this message
I am trying to install 4.2.1 on FreeBSD 4.4 STABLE. It continues to fail during make in domxml with the following: Making all in domxml /bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile c -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/domxml -I/usr/ports/www/ mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr /local/include/apache -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/l ocal/include/libxml2 -I/usr/local/include -I/usr/local/include/mysql -DHARD _SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/" -DDEFAULT_PATH= "/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=20 8106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/usr/ports/www/mod_php4/work/php-4.2.1/T SRM -O -pipe -I/usr/local/include -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 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/ports/www/mod_php4/work/php-4.2.1/ext/domxml. We have installed 4.2.1 on our linux machines without any problems but just cant get it to work on FreeBSD. We have tried installing from the FreeBSD port and also directly from the source code, but get the same results. Can anyone shed some light on what the problem could be? Thanks, Rob

« previous php.dev (#84159) next »