ID: 27531
User updated by: mrowe at pointsystems dot com
Reported By: mrowe at pointsystems dot com
-Status: Feedback
+Status: Open
Bug Type: XSLT related
Operating System: Solaris 9
PHP Version: 4.3.4
New Comment:
here is the content of
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:
#define SAB_INFO "Cflags: -g -O2 -I/usr/local/include
-I/usr/local/include
Libs: -L/usr/local/lib -liconv -lexpat
Prefix: /usr/local"
Previous Comments:
------------------------------------------------------------------------
[2004-03-09 08:39:25] [EMAIL PROTECTED]
Please paste the contents of this file:
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h
------------------------------------------------------------------------
[2004-03-08 18:16:14] mrowe at pointsystems dot com
Description:
------------
Configure works just fine, but make seems to find a parse error in the
distributed php Sablotron libs.
Here's my configure line:
./configure \
--with-iconv=/usr/local \
--with-expat=/usr/local \
--with-mysql \
--with-openssl \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-zlib \
--with-ldap \
--with-dom \
--with-xml \
--with-pear \
--with-t1lib \
--with-freetype-dir=/usr \
--disable-debug \
--with-curl \
--with-xmlrpc \
--enable-xslt \
--with-xslt-sablot=/usr/local
Here's the relevant info from the make:
/bin/sh /raid/people/psystems/download/php-4.3.4/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/xslt/
-I/raid/people/psystems/download/php-4.3.4/ext/xslt/ -DPHP_ATOM_INC
-I/raid/people/psystems/download/php-4.3.4/include
-I/raid/people/psystems/download/php-4.3.4/main
-I/raid/people/psystems/download/php-4.3.4
-I/raid/people/psystems/download/php-4.3.4/Zend -I/usr/local/include
-I/usr/include/libxml2
-I/raid/people/psystems/download/php-4.3.4/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS
-I/raid/people/psystems/download/php-4.3.4/TSRM -g -O2 -prefer-pic -c
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c -o
ext/xslt/sablot.lo
In file included from
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c:36:
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:1:18:
missing terminating " character
In file included from
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c:36:
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:2:
error: parse error before ':' token
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:3:19:
missing terminating " character
In file included from /usr/include/fcntl.h:24,
from
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c:44:
/usr/include/sys/fcntl.h:180: error: parse error before '}' token
*** Error code 1
make: Fatal error: Command failed for target `ext/xslt/sablot.lo'
If i take out the last two options in the configure (--enable-xslt and
--with-xslt-sablot), make and make install work fine.
I've tried the latest stable snapshot, and I've tried the 4.3.4
distribution. Both exhibit similar behavior.
I've seen some similar errors where users suggest to try and set
LDFLAGS equal to -lstdc++. This wasn't much help, as I continued to
receive similar errors.
I've also seen errors due to old versions of gcc. I'm using version
3.3.2.
Thanks,
Matt
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27531&edit=1