php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7905 --with-dom prevents php compile
Submitted: 2000-11-21 10:30 UTC Modified: 2000-11-21 22:35 UTC
From: victord at wwcd dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Solaris 2.7
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: victord at wwcd dot com
New email:
PHP Version: OS:

 

 [2000-11-21 10:30 UTC] victord at wwcd dot com
When I compile php (libxml2.2.8 is installed), the compile fails due to --with-dom option. Here is the output given to me during compile:

./configure \
   --with-apxs=/usr/www/bin/apxs \
   --disable-debug \
   --enable-safe-mode \
   --enable-trans-sid \
   --enable-track-vars \
   --with-mysql=/usr/local/mysql \
   --with-pgsql=/usr/local/pgsql \
   --with-magic-quotes \
   --with-dom=/usr/local

<snip>

make[2]: Leaving directory `/src/php-4.0.3pl1/main'
make[1]: Leaving directory `/src/php-4.0.3pl1/main'
Making all in ext
make[1]: Entering directory `/src/php-4.0.3pl1/ext'
Making all in domxml
make[2]: Entering directory `/src/php-4.0.3pl1/ext/domxml'
make[3]: Entering directory `/src/php-4.0.3pl1/ext/domxml'
/bin/sh /src/php-4.0.3pl1/libtool --silent --mode=compile gcc 
-I.
-I/src/php-4.0.3pl1/ext/domxml
-I/src/php-4.0.3pl1
-I/src/php-4.0.3pl1/main
-I/usr/www/include
-I/src/php-4.0.3pl1/Zend
-I/src/php-4.0.3pl1
-I/usr/local/include
-I/usr/local/mysql/include
-I/src/php-4.0.3pl1/ext/xml/expat/xmltok
-I/src/php-4.0.3pl1/ext/xml/expat/xmlparse
-I/src/php-4.0.3pl1/TSRM

-D_POSIX_PTHREAD_SEMANTICS -DEAPI -DXML_BYTE_ORDER=21 -g -O2
 -c php_domxml.c
php_domxml.c: In function `php_minit_domxml':
php_domxml.c:162: `XML_GLOBAL_NAMESPACE' undeclared (first use in this function)
php_domxml.c:162: (Each undeclared identifier is reported only once php_domxml.c:162: for each function it appears in.)
make[3]: *** [php_domxml.lo] Error 1
make[3]: Leaving directory `/src/php-4.0.3pl1/ext/domxml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/php-4.0.3pl1/ext/domxml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-21 22:35 UTC] joey@php.net
This is fixed in CVS.
Note that CVS does not seem to compile with libxml < 2.2.7
any more...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 03:01:35 2025 UTC