ID:               17064
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         XSLT related
 Operating System: Linux, kernel 2.4
 PHP Version:      4.2.0
 New Comment:

This problem is solved successful.
I found at
http://archive.gingerall.cz/archives/public/sablot2003/msg00083.html
### 
You can test that by use 
1. Apache (httpd-2.0.44.tar.gz)
2. MySQL (mysql-max-3.23.54b-pc-linux-i686.tar.gz)
2. PHP (php-4.3.0.tar.gz)
3. xslt (Sablot-0.97.tar.gz)
4. expat (expat-1.95.5.tar.gz)
5. libxml (libxml2-2.5.1.tar.gz)
6. mm (mm-1.2.2.tar.gz)
7. zlib (zlib-1.1.4.tar.gz)
8. curl (curl-7.10.3.tar.gz)

Install Step 
1. Install MySQL, xslt, expat, libxml, mm, zlib, curl
2. Install Apache 
# ./configure --prefix=/usr/local/apache \
              --enable-module=most \
              --enable-shared=max
# make
# make install
# make clean

3. Install PHP
# ./configure --with-mysql=/usr/local/mysql
--with-apxs2=/var/www/apache2/bin/apxs --enable-xslt
--with-xslt-sablot=/usr/local/sablot --with-dom=/usr/local/libxml
--with-zlib --with-expat-dir=/usr/local/expat --with-curl

You will get Makefile
**** You must edit Makefile by add -lstdc++ at EXTRA_LDFLAGS   line.

Ex:
open up the Makefile and adjust the EXTRA_LDFLAGS 
line.  mine was originally:
EXTRA_LDFLAGS = -avoid-version -module -L/opt/lib
I changed it to
EXTRA_LDFLAGS = -avoid-version -module -L/opt/lib -lstdc++

#make
#make install
#cp php.ini-dist /usr/local/lib/php.ini

4. Edit httpd.conf
-Add this line at Dynamic Shared Object (DSO) Support : 
LoadModule php4_module modules/libphp4.so
*** Don't type LoadModule php4_module  modules/libphp4.so
::: this line have two spaces between php4_module with
modules/libphp4.so that apache bugs 

-Add this line at AddType :
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps

5. Start or Restart apache2 

::: I hope this info useful to others.


Previous Comments:
------------------------------------------------------------------------

[2002-05-07 01:52:37] [EMAIL PROTECTED]

No idea, try it on a clean box.  I have no idea which of the many
libraries that are involved here may have been compiled with gcc3.  You
could try forcing linking against the gcc3 version of libGLU.so, but
that might cause weird side-effects.  We don't really have the
bandwidth to chase down one-off misconfigured environments here.

------------------------------------------------------------------------

[2002-05-07 01:47:22] [EMAIL PROTECTED]

OK, what do you suggest? I tried recompiling expat, and all the
others...

------------------------------------------------------------------------

[2002-05-07 01:42:07] [EMAIL PROTECTED]

Ok, I did a bit of google searching as you suggested.  As far as I can
tell __gxx_personality_v0 is a gcc3.0 symbol.  I bet you are mixing
object files or libraries compiled with gcc3 with stuff compiled with
gcc2.95.  The fact that you said you tried with both is a good
indication that you may have a mixture of both on your system.  It is
definitely not a common PHP building problem.  If you can somehow prove
otherwise, re-open.

------------------------------------------------------------------------

[2002-05-07 01:35:23] [EMAIL PROTECTED]

Yes, of course it loaded, and I don't see anybody else at the URL you
provided with your problem.  They seem to be just normal localized
flailing trying to build PHP.

------------------------------------------------------------------------

[2002-05-07 01:24:29] [EMAIL PROTECTED]

Yeah, it compiled, but did it load?

Here is a google link:

http://groups.google.com/groups?hl=en&safe=off&threadm=FWqB8.27804%24G%253.8933359%40typhoon.columbus.rr.com&rnum=2&prev=/groups%3Fq%3D__gxx_personality_v0%26hl%3Den%26safe%3Doff%26sa%3DG%26scoring%3Dd


There are a few more, do a google search. 

As a side note, I installed everything from source. Anything I might
have done wrong?

Thanks!

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/17064

-- 
Edit this bug report at http://bugs.php.net/?id=17064&edit=1

Reply via email to