php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17339 Dom compile failure
Submitted: 2002-05-21 14:27 UTC Modified: 2002-05-21 14:30 UTC
From: cox at idecnet dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.1 OS: Linux RH 6.x
Private report: No CVE-ID: None
 [2002-05-21 14:27 UTC] cox at idecnet dot com
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)
make[3]: *** [php_domxml.lo] Error 1

./configure --prefix=/usr \
--with-config-file-path=/etc/php/cgi \
--with-xml \
--without-gd \
--with-exec-dir=/usr/bin \
--enable-ftp \
--with-pgsql=/usr/local/pgsql \
--with-mysql=/usr \
--enable-dbase \
--enable-bcmath \
--with-gettext \
--with-xml \
--enable-pear \
--with-zlib \
--enable-sysvshm \
--enable-sysvsem \
--enable-pcntl \
--enable-sockets \
--enable-tokenizer \
--disable-posix \
--disable-sessions \
--with-oci8 \
--with-cli \
--with-readline \
--with-dom

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-21 14:30 UTC] derick@php.net
Upgrade your libxml to atleast 2.4.14, if it doesn't work then, please reopen this report.

Derick
 [2002-05-21 20:50 UTC] cox at idecnet dot com
I had libxml 2.4.6, and ok, with 2.4.21 now compiles fine. But doesn't the configure stuff stand for detecting such dependencies?

BTW: ./configure --help|grep dom
  --with-dom[=DIR]        Include DOM support (requires libxml >= 2.4.2)
 [2002-05-21 22:42 UTC] cox at idecnet dot com
I've just saw a post from Christian saying that this issue is fixed in HEAD. No more buzz in this front from my side ;-)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 01:01:27 2024 UTC