ID:               33145
 Updated by:       [EMAIL PROTECTED]
 Reported By:      graced at monroe dot wednet dot edu
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux 2.4.21 (RHAS 3)
 PHP Version:      5.0.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Fix your libxml/libxslt installation. Not PHP bug.



Previous Comments:
------------------------------------------------------------------------

[2005-05-25 23:39:04] graced at monroe dot wednet dot edu

Description:
------------
PHP 5.0.4 fails to compile against LibXML2 2.6.19/LibXSLT 1.1.14. It
also fails against LibXSLT 1.1.13 in a second test to see if it was a
bad release of LibXSLT.

It compiles successfully without LibXSLT in --configure.

It compiles successfully against Redhat-supplied LibXML 2.5.10 /LibXSLT
1.0.33

Looks similiar to #30534, but I explicitly specified a path to my
LibXML2 and LibXSLT installation (both libraries have two installed
versions -- RedHat's, and mine.)

Reproduce code:
---------------
# './configure' '--prefix=/usr/local/php-5.0.4'
'--with-apxs=/usr/local/apache/bin/apxs' '--enable-inline-optimization'
'--enable-force-cgi-redirect' '--enable-discard-path' '--disable-ipv6'
'--with-openssl' '--enable-calendar' '--with-mysql=/usr/local/mysql'
'--enable-pcntl' '--with-spell' '--with-curl=/usr/local/curl'
'--with-zlib' '--with-bz2' '--with-libxml=/usr/libxml2'
'--with-xsl=/usr/libxslt'

# make



Expected result:
----------------
I expect to end up with a shiny new PHP binary ;)

Actual result:
--------------
[...]

/bin/sh /usr/local/src/php-5.0.4/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/xsl/ -I/usr/local/src/php-5.0.4/ext/xsl/
-DPHP_ATOM_INC -I/usr/local/src/php-5.0.4/include
-I/usr/local/src/php-5.0.4/main -I/usr/local/src/php-5.0.4
-I/usr/include/libxml2 -I/usr/local/mysql/include
-I/usr/libxslt/include -I/usr/libxml2/include/libxml2
-I/usr/local/src/php-5.0.4/TSRM -I/usr/local/src/php-5.0.4/Zend    -g
-O2  -prefer-non-pic -c /usr/local/src/php-5.0.4/ext/xsl/php_xsl.c -o
ext/xsl/php_xsl.lo
In file included from /usr/libxslt/include/libxslt/xsltInternals.h:20,
                 from /usr/local/src/php-5.0.4/ext/xsl/php_xsl.h:38,
                 from /usr/local/src/php-5.0.4/ext/xsl/php_xsl.c:28:
/usr/libxml2/include/libxml2/libxml/dict.h:30: syntax error before
"xmlDictPtr"
/usr/libxml2/include/libxml2/libxml/dict.h:31: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:32: syntax error before
"xmlDictPtr"
/usr/libxml2/include/libxml2/libxml/dict.h:33: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:34: syntax error before
"int"
/usr/libxml2/include/libxml2/libxml/dict.h:35: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:36: syntax error before
"void"
/usr/libxml2/include/libxml2/libxml/dict.h:37: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:42: syntax error before
"const"
/usr/libxml2/include/libxml2/libxml/dict.h:43: syntax error before
"xmlDictLookup"
/usr/libxml2/include/libxml2/libxml/dict.h:45: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:46: syntax error before
"const"
/usr/libxml2/include/libxml2/libxml/dict.h:47: syntax error before
"xmlDictExists"
/usr/libxml2/include/libxml2/libxml/dict.h:49: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:50: syntax error before
"const"
/usr/libxml2/include/libxml2/libxml/dict.h:51: syntax error before
"xmlDictQLookup"
/usr/libxml2/include/libxml2/libxml/dict.h:53: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:54: syntax error before
"int"
/usr/libxml2/include/libxml2/libxml/dict.h:56: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:57: syntax error before
"int"
/usr/libxml2/include/libxml2/libxml/dict.h:58: warning: data definition
has no type or storage class
/usr/libxml2/include/libxml2/libxml/dict.h:63: syntax error before
"void"
/usr/libxml2/include/libxml2/libxml/dict.h:64: warning: data definition
has no type or storage class
make: *** [ext/xsl/php_xsl.lo] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33145&edit=1

Reply via email to