I also ran into another problem that the make process does not recognize /opt/php-4.3.0/include/php_sab_info.h, which was a file in three lines. I have to change it to a line. Any idea what went wrong?
Many thanks,
Edwin



From: "Kenneth Webber" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP-INSTALL] Help --- xslt installation with php 4.3.0
Date: Tue, 23 Sep 2003 16:35:23 +0000

It is working. Yann you were a big help.

For the record and anyone who gets this issue, this is what I ran:

mv config.cache config.cache.bak
/usr/local/bin/make clean
env LDFLAGS=-lstdc++
../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
/usr/local/bin/make
/usr/local/bin/make install


Hi, the answer to your problem is listed in the FAQ page
http://www.protonicdesign.com/tutorial/faq.php#php2

Youn need to link with libstc++

Befor you compile PHP do this.

export LDFLAGS=-lstdc++

You need libstdc++ and libstdc++-dev installed

Then after simply type

make
make test
make install

Yann Larrivee
www.phpquebec.org
www.protonicdesign.com


On Mon, 2003-09-22 at 12:58, edwin lin wrote:
> I am having problems with compiling xslt with php 4.3.0.
> 1. I use all zlib, expat, iconv from sunfreeware site.
> 2. I have no problem compiling xslt. But in case you to look at it, I
> include two file of make, and make install as attachment.
> 3. I have no problem of configure php but running into dead end with make.
> The following are errors got.
> Please help. I am running against a deadline.
> Thanks,
> Edwin
>
> cc1: warning: changing search order for system directory
> "/usr/local/include"
> cc1: warning: as it has already been specified as a non-system directory
> /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2
> -avoid-versionp
> Undefined first referenced
> symbol in file
> __cxa_pure_virtual /usr/local/lib/libsablot.so
> libiconv /usr/local/lib/libsablot.so
> vtable for __cxxabiv1::__si_class_type_info/usr/local/lib/libsablot.so
> libiconv_open /usr/local/lib/libsablot.so
> vtable for __cxxabiv1::__vmi_class_type_info/usr/local/lib/libsablot.so
> operator new[](unsigned) /usr/local/lib/libsablot.so
> libiconv_close /usr/local/lib/libsablot.so
> vtable for __cxxabiv1::__class_type_info/usr/local/lib/libsablot.so
> operator delete(void*) /usr/local/lib/libsablot.so
> operator new(unsigned) /usr/local/lib/libsablot.so
> __gxx_personality_v0 /usr/local/lib/libsablot.so
> operator delete[](void*) /usr/local/lib/libsablot.so
> ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
> _________________________________________________________________
> Help protect your PC. Get a FREE computer virus scan online from McAfee.
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


_________________________________________________________________
Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Reply via email to