PHP 4.0 Bug #4418: domxml fails to compile
| From: | rolf at suse dot de | Date: | Fri, 12 May 2000 09:17:12 +0000 |
| Subject: | PHP 4.0 Bug #4418: domxml fails to compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18637@lists.php.net to get a copy of this message | ||
From: rolf@suse.de
Operating system: SuSE Linux 7.0 alpha (internal)
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Compile Failure
Bug description: domxml fails to compile
Hello,
I´m compiling 4.0RC2 on a SuSE Linux 7.0 alpha system. Here´s the configuration line :
CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ucd-snmp -I/usr/include/gd" \
./configure \
%ifarch i386
--with-adabas=/usr/lib/adabas \
%endif
--with-java=%{java_jdkdir} \
--with-pgsql=/usr/lib/pgsql \
--with-mysql=yes \
--with-tiff-dir \
--with-jpeg-dir \
--with-png-dir \
--with-ldap=yes \
--with-imap=yes \
--with-gd=yes \
--with-zlib=yes \
--with-xml \
--with-ttf \
--with-ftp \
--with-db3 \
--with-db2 \
--with-dbm \
--with-ndbm \
--with-gdbm \
--with-snmp \
--with-mm \
--with-readline \
--with-gettext \
--with-config-file-path=%{apache_sysconfdir} \
--with-apxs="
which apxs" \
--with-exec-dir=%{apache_libexecdir}/bin \
--enable-versioning \
--enable-yp \
--enable-trans-sid \
--enable-inline-optimization \
--enable-track-vars \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sysvsem \
--enable-sysvshm \
--enable-bcmath \
--enable-thread-safety \
--enable-memory-limit \
--enable-wddx \
--with-dom \
$OPENSSL %{_target_cpu}-suse-linux-gnu ;
And here´s the output of the compilation (relevant parts):
Making all in domxml
make[2]: Entering directory `/usr/src/packages/BUILD/php-4.0RC2/ext/domxml'
make[3]: Entering directory `/usr/src/packages/BUILD/php-4.0RC2/ext/domxml'
/bin/sh /usr/src/packages/BUILD/php-4.0RC2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/usr/src/packages/BUILD/php-4.0RC2/ext/domxml -I/usr/src/packages/BUILD/ph
p-4.0RC2 -I/usr/include/apache -I/usr/src/packages/BUILD/php-4.0RC2/Zend
-I/usr/src/packages/BUILD/php-4.0RC2 -I/usr/local/include -I/usr/include/freetype
-I/usr/local/include
-I/usr/include/imap -I/usr/src/packages/BUILD/php-4.0RC2/ext/mysql/libmysql -I/usr/lib/adabas/incl
-I/usr/include/ucd-snmp -I/usr/src/packages/BUILD/php-4.0RC2/ext/xml/expat/
xmltok -I/usr/src/packages/BUILD/php-4.0RC2/ext/xml/expat/xmlparse -DEAPI=1 -I/usr/local/include
-DXML_BYTE_ORDER=12 -O2 -m486 -I/usr/include/ucd-snmp -I/usr/include/gd -g -W
all -c domxml.c
domxml.c: In function `php_if_domxml_children':
domxml.c:554: structure has no member named `children'
domxml.c:556: structure has no member named `children'
domxml.c:521: warning: `last' might be used uninitialized in this function
domxml.c: In function `php_if_domxml_attributes':
domxml.c:710: warning: implicit declaration of function `node_attributes'
domxml.c:683: warning: unused variable `attr'
domxml.c: In function `php_if_domxml_rootnew':
domxml.c:767: structure has no member named `children'
domxml.c:739: warning: `last' might be used uninitialized in this function
domxml.c: In function `php_if_domxml_root':
domxml.c:830: structure has no member named `children'
domxml.c:802: warning: `node' might be used uninitialized in this function
domxml.c: At top level:
domxml.c:1197: warning: node_attributes' was declared implicitly extern' and
later `static'
domxml.c:710: warning: previous declaration of `node_attributes'
domxml.c: In function `node_attributes':
domxml.c:1222: structure has no member named `children'
domxml.c: In function `node_children':
domxml.c:1280: structure has no member named `children'
domxml.c:1235: warning: unused variable `namespace'
domxml.c: In function `php_if_xmltree':
domxml.c:1318: structure has no member named `children'
domxml.c:1294: warning: unused variable `attributes'
domxml.c:1294: warning: unused variable `proot'
domxml.c:1296: warning: `root' might be used uninitialized in this function
domxml.c: At top level:
domxml.c:33: warning: `le_domxmlnsp' defined but not used
domxml.c:39: warning: `domxmltestnode_class_entry_ptr' defined but not used
domxml.c:85: warning: `php_domxmltestnode_class_functions' defined but not used
domxml.c:1158: warning: `node_namespace' defined but not used
make[3]: *** [domxml.lo] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/php-4.0RC2/ext/domxml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/php-4.0RC2/ext/domxml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/php-4.0RC2/ext'
make: *** [all-recursive] Error 1
The used xml library is:
# rpm -q libxmld
libxmld-1.8.7-36
# rpm -ql libxmld
/opt/gnome/lib/xmlConf.sh
/usr/include/gnome-xml
/usr/include/gnome-xml/HTMLparser.h
/usr/include/gnome-xml/HTMLtree.h
/usr/include/gnome-xml/SAX.h
/usr/include/gnome-xml/debugXML.h
/usr/include/gnome-xml/encoding.h
/usr/include/gnome-xml/entities.h
/usr/include/gnome-xml/nanoftp.h
/usr/include/gnome-xml/nanohttp.h
/usr/include/gnome-xml/parser.h
/usr/include/gnome-xml/parserInternals.h
/usr/include/gnome-xml/tree.h
/usr/include/gnome-xml/valid.h
/usr/include/gnome-xml/xlink.h
/usr/include/gnome-xml/xml-error.h
/usr/include/gnome-xml/xmlIO.h
/usr/include/gnome-xml/xmlmemory.h
/usr/include/gnome-xml/xpath.h
/usr/lib/libxml.a
/usr/lib/libxml.la
/usr/lib/libxml.so
/usr/lib/xmlConf.sh
/usr/share/doc/packages/libxmld
/usr/share/doc/packages/libxmld/DOM.gif
/usr/share/doc/packages/libxmld/example
/usr/share/doc/packages/libxmld/example/Makefile
/usr/share/doc/packages/libxmld/example/Makefile.am
/usr/share/doc/packages/libxmld/example/gjobread.c
/usr/share/doc/packages/libxmld/example/gjobs.xml
/usr/share/doc/packages/libxmld/html
/usr/share/doc/packages/libxmld/html/book1.html
/usr/share/doc/packages/libxmld/html/gnome-xml-debugxml.html
/usr/share/doc/packages/libxmld/html/gnome-xml-encoding.html
/usr/share/doc/packages/libxmld/html/gnome-xml-entities.html
/usr/share/doc/packages/libxmld/html/gnome-xml-error.html
/usr/share/doc/packages/libxmld/html/gnome-xml-htmlparser.html
/usr/share/doc/packages/libxmld/html/gnome-xml-htmltree.html
/usr/share/doc/packages/libxmld/html/gnome-xml-nanoftp.html
/usr/share/doc/packages/libxmld/html/gnome-xml-nanohttp.html
/usr/share/doc/packages/libxmld/html/gnome-xml-parser.html
/usr/share/doc/packages/libxmld/html/gnome-xml-parserinternals.html
/usr/share/doc/packages/libxmld/html/gnome-xml-sax.html
/usr/share/doc/packages/libxmld/html/gnome-xml-tree.html
/usr/share/doc/packages/libxmld/html/gnome-xml-valid.html
/usr/share/doc/packages/libxmld/html/gnome-xml-xml-error.html
/usr/share/doc/packages/libxmld/html/gnome-xml-xmlio.html
/usr/share/doc/packages/libxmld/html/gnome-xml-xmlmemory.html
/usr/share/doc/packages/libxmld/html/gnome-xml-xpath.html
/usr/share/doc/packages/libxmld/html/index.sgml
/usr/share/doc/packages/libxmld/html/libxml-lib.html
/usr/share/doc/packages/libxmld/html/libxml-notes.html
/usr/share/doc/packages/libxmld/structure.gif
/usr/share/doc/packages/libxmld/xml.html
# rpm -qi libxmld
Name : libxmld Relocations: (not relocateable)
Version : 1.8.7 Vendor: SuSE GmbH, Nuernberg, Germany
Release : 36 Build Date: Wed May 10 06:50:09 2000
Install date: Fri May 12 07:00:30 2000 Build Host: dehn.suse.de
Group : Development/Libraries Source RPM: libxml-1.8.7-36.src.rpm
Size : 1464336 License: LGPL
Packager : feedback@suse.de
URL : http://rpmfind.net/veillard/XML/
Summary : libxml development package
Description :
Libraries and includes to develop own applications that should the
libxml.
Authors:
--------
Daniel Veillard <Daniel.Veillard@w3.org>
Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey <tromey@cygnus.com>
Christopher Blizzard <blizzard@appliedtheory.com>
SuSE series: d