Compiling PHP with sablotron
| From: | Yann Larrivée | Date: | Fri, 28 Feb 2003 16:56:42 +0000 |
| Subject: | Compiling PHP with sablotron | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10239@lists.php.net to get a copy of this message | ||
Hi, i tried a couple times to compile
- php 4.3.1
- apache_1.3.27
- mysql-3.23.55
- Sablot-0.97
- expat-1.95.5
- libiconv-1.8
- libxml2-2.5.0
- zlib-1.1.4
The configuration of expat,libxml,libiconv,salotron whent well.
But i get the fallowing error will compiling php with sablotron
---
/root/sources/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
tempnam' is dangerous, better use mkstemp'
ext/xmlrpc/libxmlrpc/encodings.o: In function `convert':
/root/sources/php-4.3.1/ext/xmlrpc/libxmlrpc/encodings.c:63: undefined
reference to `libiconv_open'
/root/sources/php-4.3.1/ext/xmlrpc/libxmlrpc/encodings.c:74: undefined
reference to `libiconv'
/root/sources/php-4.3.1/ext/xmlrpc/libxmlrpc/encodings.c:94: undefined
reference to `libiconv_close'
/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
---
Here is my configure for PHP
./configure --with-apache=../apache_1.3.27 --enable-track-vars
--with-mysql --with-dom --enable-sockets --enable-wddx --with-xmlrpc
--enable-xslt --with-xslt-sablot --with-zlib-dir=/usr/local/lib/
Anybody has a solution for this issue ?
Thanks
Yann