#18703 [NEW]: can't compile xslt support (sablotron error)
| From: | niklas dot fondberg at i3micro dot com | Date: | Fri, 02 Aug 2002 12:32:53 +0000 |
| Subject: | #18703 [NEW]: can't compile xslt support (sablotron error) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15811@lists.php.net to get a copy of this message | ||
From: niklas.fondberg@i3micro.com
Operating system: debian linux unstable
PHP version: 4.2.2
PHP Bug Type: Sablotron XSL
Bug description: can't compile xslt support (sablotron error)
Problem: Can't compile php 4.2.2 with xslt support.
--
Environment:
debian linux (unstable)
gcc version 2.95.4
GNU ld version 2.11.92.0.10
apache 1.3.26
php 4.2.2
libexpat1 1.95.2-6
libexpat1-dev 1.95.2-6
libsablot0 0.95-1
libsablot0-dev 0.95-1
sablotron 0.95-1
libxml-dev 1.8.17-2
libxml1 1.8.17-2
libxml2 2.4.23-1
libxml2-dev 2.4.23-1
libxmltok1 1.1-7
php config opts
CONFIG_OPTS = --with-apache=../apache \
--with-mysql \
--with-config-file-path=/etc \
--disable-rpath \
--enable-inline-optimization \
--with-mm \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--with-bz2 \
--with-curl \
--with-dom \
--with-zlib \
--with-xml \
--with-gd \
--with-regex=system \
--enable-magic-quotes \
--enable-safe-mode \
--enable-track-vars \
--enable-wddx \
--with-imap \
--enable-trans-sid \
--enable-ftp \
--enable-bcmath \
--with-pear=/var/devel \
--enable-sockets \
--with-dom \
--with-dom-xslt \
--with-sablot-js \
--enable-xslt \
--with-xslt-sablot \
--with-dom-exslt \
--with-soap
Error output
gcc -c -I./os/unix -I./include -O2 -DLINUX=22
-I/opt/build/system_servers/deb/apache-php/php-4.2.2
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/main
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/main
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/Zend
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/Zend
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/TSRM
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/TSRM
-I/opt/build/system_servers/deb/apache-php/php-4.2.2 -DNO_DL_NEEDED
./apaci modules.c
gcc -c -I./os/unix -I./include -O2 -DLINUX=22
-I/opt/build/system_servers/deb/apache-php/php-4.2.2
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/main
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/main
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/Zend
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/Zend
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/TSRM
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/TSRM
-I/opt/build/system_servers/deb/apache-php/php-4.2.2 -DNO_DL_NEEDED
./apaci buildmark.c
gcc -O2 -DLINUX=22 -I/opt/build/system_servers/deb/apache-php/php-4.2.2
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/main
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/main
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/Zend
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/Zend
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/TSRM
-I/opt/build/system_servers/deb/apache-php/php-4.2.2/TSRM
-I/opt/build/system_servers/deb/apache-php/php-4.2.2 -DNO_DL_NEEDED
./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
-rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
-lc-client -lsablot -lexpat -lmm -lcrypt -lgd -lexslt -lxsltbreakpoint
-lxml2 -lxslt -lz -lxml2 -lcurl -ldl -lcrypto -lssl -lcurl -lbz2 -lz
-lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lm -lcrypt -lexpat
modules/php4/libphp4.a(sablot.o): In function `zm_startup_xslt':
/opt/build/system_servers/deb/apache-php/php-4.2.2/ext/xslt/sablot.c(.rodata+0x0):
multiple definition of `SXPF_DISPOSE_NAMES'
modules/php4/libphp4.a(internal_functions.o)(.rodata+0x0):/opt/build/system_servers/deb/apache-php/php-4.2.2/main/internal_functions.c:
first defined here
modules/php4/libphp4.a(sablot.o): In function `zm_startup_xslt':
/opt/build/system_servers/deb/apache-php/php-4.2.2/ext/xslt/sablot.c(.rodata+0x4):
multiple definition of `SXPF_DISPOSE_VALUES'
modules/php4/libphp4.a(internal_functions.o)(.rodata+0x4):/opt/build/system_servers/deb/apache-php/php-4.2.2/main/internal_functions.c:
first defined here
modules/php4/libphp4.a(sablot.o): In function `zm_startup_xslt':
/opt/build/system_servers/deb/apache-php/php-4.2.2/ext/xslt/sablot.c:154:
multiple definition of `SXPF_SUPPORTS_UNPARSED_ENTITIES'
modules/php4/libphp4.a(internal_functions.o):/opt/build/system_servers/deb/apache-php/php-4.2.2/main/internal_functions.c:86:
first defined here
collect2: ld returned 1 exit status
make[4]: *** [target_static] Error 1
make[4]: Leaving directory
`/opt/build/system_servers/deb/apache-php/apache_1.3.26/src'
make[3]: *** [build-std] Error 2
make[3]: Leaving directory
`/opt/build/system_servers/deb/apache-php/apache_1.3.26'
make[2]: *** [build] Error 2
make[2]: Leaving directory
`/opt/build/system_servers/deb/apache-php/apache_1.3.26'
make[1]: *** [install-all] Error 2
make[1]: Leaving directory
`/opt/build/system_servers/deb/apache-php/apache_1.3.26'
make: *** [deb] Error 2
--
Edit bug report at http://bugs.php.net/?id=18703&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18703&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18703&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18703&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18703&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18703&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18703&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18703&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18703&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18703&r=globals