*sablotron-0.95-r1 (12 Jul 2002) 12 Jul 2002; Roman Weber <gentoo@gonzo.ch> sablotron-0.95-r1.ebuild: Added a patch that PHP compiles with sablotron enabled. Source: http://bugs.php.net/bug.php?id=18184
Created attachment 2177 [details, diff] sablotron-0.95-r1.ebuild Patch
Created attachment 2178 [details, diff] sablotron-0.95-gentoo.patch
Created attachment 2179 [details] ChangeLog
hi, will this be the solution for those errors? : make[1]: Entering directory `/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1' /bin/sh /var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/libtool --silent --mode=link gcc -I. -I/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ -I/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/main -I/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1 -I/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/Zend -I/usr/include/libxml2 -I/usr/include/freetype -I/usr/include/mysql -I/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ext/xml/expat -I/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/TSRM -g -O2 -o php -export-dynamic stub.lo libphp4.la ./.libs/libphp4.a(sablot.o): In function `zm_startup_xslt': /var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ext/xslt/sablot.c:153: multiple definition of `SXPF_DISPOSE_NAMES' ./.libs/libphp4.a(internal_functions.o):/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/main/internal_functions.c:73: first defined here ./.libs/libphp4.a(sablot.o): In function `zm_startup_xslt': /var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ext/xslt/sablot.c:153: multiple definition of `SXPF_DISPOSE_VALUES' ./.libs/libphp4.a(internal_functions.o):/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/main/internal_functions.c:73: first defined here ./.libs/libphp4.a(sablot.o): In function `zm_startup_xslt': /var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ext/xslt/sablot.c:154: multiple definition of `SXPF_SUPPORTS_UNPARSED_ENTITIES' ./.libs/libphp4.a(internal_functions.o):/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/main/internal_functions.c:74: first defined here /usr/lib/libsablot.so: undefined reference to `operator new[](unsigned)' /usr/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /usr/lib/libsablot.so: undefined reference to `operator delete(void*)' /usr/lib/libsablot.so: undefined reference to `__gxx_personality_v0' /usr/lib/libsablot.so: undefined reference to `__cxa_pure_virtual' /usr/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/lib/libsablot.so: undefined reference to `operator delete[](void*)' /usr/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /usr/lib/libsablot.so: undefined reference to `operator new(unsigned)' collect2: ld returned 1 exit status make[1]: *** [php] Error 1
Hi Jens Yes Roman
thanks for this Roman :) added to portage.