XSLT med expat og sablotron
Under installation af PHP på Apache får jeg denne fejl - andre der har været der ?---
modules/php4/libphp4.a(sablot.o): In function `zm_startup_xslt':
/usr/local/source/php-4.2.1/ext/xslt/sablot.c(.rodata+0x0): multiple definition of `SXPF_DISPOSE_NAMES'
modules/php4/libphp4.a(internal_functions.o)(.rodata+0x0):/usr/local/source/php-4.2.1/main/internal_functions.c: first defined here
modules/php4/libphp4.a(sablot.o): In function `zm_startup_xslt':
/usr/local/source/php-4.2.1/ext/xslt/sablot.c(.rodata+0x4): multiple definition of `SXPF_DISPOSE_VALUES'
modules/php4/libphp4.a(internal_functions.o)(.rodata+0x4):/usr/local/source/php-4.2.1/main/internal_functions.c: first defined here
modules/php4/libphp4.a(sablot.o): In function `zm_startup_xslt':
/usr/local/source/php-4.2.1/ext/xslt/sablot.c:154: multiple definition of `SXPF_SUPPORTS_UNPARSED_ENTITIES'
modules/php4/libphp4.a(internal_functions.o)(.rodata+0x8):/usr/local/source/php-4.2.1/main/internal_functions.c: first defined here
*** Error code 1
Stop in /usr/local/source/apache_1.3.26/src.
*** Error code 1
Stop in /usr/local/source/apache_1.3.26.
*** Error code 1
Stop in /usr/local/source/apache_1.3.26.
---
PHP er kompileret med
./configure --prefix=/usr/local/php4_2_1 --with-apache=../apache_1.3.26 --with-mysql --without-pear --enable-xslt --with-xslt-sablot=/usr/local/sablotron --with-expat-dir=/usr --with-iconv=/usr/local/libiconv
og Apache
./configure --prefix=/usr/local/apache --enable-module=rewrite --activate-module=src/modules/php4/libphp4.a
Hele herligheden på FreeBSD 4.6
Nogle gode ideer eller erfaringer
/ LJ
www.ljweb.com
PS. Man kunne argumentere for at flytte dette spm til BSD kategorien - men den er ret død :) derfor her i en vag afskygning af en årsag.
