Re: make with XSLT driving me nuts [SOLVED]

From: Date: Mon, 21 Apr 2003 13:21:27 +0000
Subject: Re: make with XSLT driving me nuts [SOLVED]
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-144638@lists.php.net to get a copy of this message
For the record here is how I got it to work: [geoff@vectrag php-4.3.1]$rm -rf config.cache [geoff@vectrag php-4.3.1]$make clean [geoff@vectrag php-4.3.1]$export LDFLAGS=-lstdc++ [geoff@vectrag php-4.3.1]$ ./configure --with-apxs=/www/bin/apxs --without-mysql --with-mssql=/usr/local/freetds/ --with-dom --enable-sockets --enable-wddx --with-xml-rpc --enable-track-var --with-zlib-dir=/usr/local --enable-xslt --with-xslt-sablot=/usr/local [geoff@vectrag php-4.3.1]$make [geoff@vectrag php-4.3.1]$su [root@vectrag php-4.3.1]$make install [root@vectrag php-4.3.1]$apachectl graceful phpinfo(); now show xslt support enabled whew! Also, I tried putting LDFLAGS=' -lstdc++' in front of configure but that didn't work for me On Mon, 2003-04-21 at 07:45, Geoff wrote: > I am trying to complie php with xslt support on Mandrake 9.1. make > always errors with the following: > > /usr/local/lib/libsablot.so: undefined reference to `operator > new[](unsigned)' > /usr/local/lib/libsablot.so: undefined reference to `vtable for > __cxxabiv1::__si_class_type_info' > /usr/local/lib/libsablot.so: undefined reference to `operator > delete(void*)' > /usr/local/lib/libsablot.so: undefined reference to > `__gxx_personality_v0' > /usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual' > /usr/local/lib/libsablot.so: undefined reference to `vtable for > __cxxabiv1::__class_type_info' > /usr/local/lib/libsablot.so: undefined reference to `operator > delete[](void*)' > /usr/local/lib/libsablot.so: undefined reference to `vtable for > __cxxabiv1::__vmi_class_type_info' > /usr/local/lib/libsablot.so: undefined reference to `operator > new(unsigned)' > collect2: ld returned 1 exit status > make: *** [sapi/cli/php] Error 1 > > I am not sure why.I tested sabcmd and it shows version 0.98 and it works > when passing it an xslt stylesheet and xml file. > > The funny thing is that when configuring this shows up: > checking whether to enable xslt support... yes > checking for XSLT Sablotron backend... yes > checking for libexpat dir for Sablotron XSL support... yes > checking for iconv dir for Sablotron XSL support... yes > checking for JavaScript for Sablotron XSL support... yes > checking for sablot-config... found > checking for Sablotron version... >= 0.96

« previous php.general (#144638) next »