|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-27 15:19 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 22 02:00:01 2025 UTC |
Description: ------------ Building php5.0.4 in openpkg environment using php5-STABLE-200504201430 gcc 3.4.3 (OpenPKG-2.3) configure/make fails with syntax error php5-STABLE-200504201432/ext/libxml/php_libxml.h:97: error: syntax error before "void" Removing --with-xsl=/openpkg allows make to run to completion but PEAR is not built. This error also occurs with 5.0.3 (haven't tried earlier). Reproduce code: --------------- ./configure --prefix=/openpkg --sysconfdir=/openpkg/etc/php5 --with-config-file-path=/openpkg/etc/php5 --libdir=/openpkg/lib/php5 --disable-all --enable-calendar --with-mysql=/openpkg --without-pgsql --with-gd=/openpkg --with-jpeg-dir=/openpkg --with-png-dir=/openpkg --enable-gd-native-ttf --with-freetype-dir=/openpkg --with-zlib=/openpkg --with-zlib-dir=/openpkg --with-bz2=/openpkg --with-openssl=/openpkg --with-ldap=/openpkg --with-mm=/openpkg --enable-session --with-pcre-regex=/openpkg --enable-ftp --with-gettext=/openpkg --with-imap=/openpkg --with-imap-ssl=/openpkg --enable-xml --with-libxml-dir=/openpkg --with-xsl=/openpkg --enable-dom --with-libxml-dir=/openpkg --enable-bcmath --with-mhash=/openpkg --with-curl=/openpkg --with-gdbm=/openpkg --with-pear=/openpkg/lib/php --enable-mbregex --enable-mbstring --with-exif --with-iconv=/openpkg --enable-cli --enable-cgi --enable-force-cgi-redirect --enable-discard-path --enable-memory-limit /openpkg/bin/make --no-print-directory Expected result: ---------------- successful make Actual result: -------------- In file included from /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:25, from /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.h:46, from /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.c:28: /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/libxml/php_libxml.h:97: error: syntax error before "void" /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/libxml/php_libxml.h:98: error: syntax error before "void" In file included from /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.h:46, from /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.c:28: /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:41: error: parse error before "php_libxml_ref_obj" /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:41: warning: no semicolon at end of struct or union /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:44: error: parse error before '}' token /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:44: warning: data definition has no type or storage class /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:60: error: parse error before '*' token /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:60: warning: data definition has no type or storage class /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:61: error: parse error before "dom_object" /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/../dom/xml_common.h:62: error: parse error before '*' token /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.c: In function `zm_activate_xsl': /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.c:253: error: `php_libxml_error_handler' undeclared (first use in this function) /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.c:253: error: (Each undeclared identifier is reported only once /openpkg/RPM/TMP/php5-STABLE-200504201432/ext/xsl/php_xsl.c:253: error: for each function it appears in.) make: *** [ext/xsl/php_xsl.lo] Error 1