Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-06 Thread Tom Rogers
Hi,

Wednesday, November 6, 2002, 2:50:42 PM, you wrote:
EN -BEGIN PGP SIGNED MESSAGE-
EN Hash: SHA1

EN I'm trying to get XSLT working with PHP, and after slowly working my way 
EN through several other problems, I've found one that I can't figure out.

EN Software:
EN PHP 4.2.3
EN Apache 1.3.27
EN Sablotron 0.96
EN GCC 3.2
EN Linux 2.4.19-lsm1

EN ./configure \
EN - --enable-xml \
EN - --enable-xslt \
EN - --enable-ftp \
EN - --enable-sockets \
EN - --enable-pcntl \
EN - --with-apxs=/usr/local/apache/bin/apxs \
EN - --with-xslt-sablot  \
EN make  \
EN sudo make install

EN Everything seems to work fine (except for a lot of 
EN cc1: warning: changing search order for system directory /usr/local/include
EN cc1: warning:   as it has already been specified as a non-system directory
EN 's that appear when using gcc-3.2), but when I try to 
EN /usr/local/apache/bin/apachectl restart, I get this: 

EN Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
EN Cannot load /usr/local/apache/libexec/libphp4.so into server: 
EN /usr/local/lib/libsablot.so.0: undefined symbol: __gxx_personality_v0
EN /usr/local/apache/bin/apachectl start: httpd could not be started

EN Any ideas???
EN -BEGIN PGP SIGNATURE-
EN Version: GnuPG v1.0.7 (GNU/Linux)

EN iD8DBQE9yJ/J/rncFku1MdIRAkhnAKClykcWMUwiWbslAYklx3xm1qsjSQCdFAXh
EN roJ+kMyayqdY1UXxL6S5xuQ=
EN =1Zaw
EN -END PGP SIGNATURE-


You probably need this patch
http://download-2.gingerall.cz/download/sablot/Sablot-0.96.1.patch

You can also use LDFLAGS=-lstdc++ before configuring PHP
more info at http://php.benscom.com/manual/en/ref.xslt.php

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-06 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nope... same error. Patch worked perfectly, LDFLAGS=-lstdc++ did too. End 
result: same error. Any other ideas???


On Wednesday 06 November 2002 09:09 am, you wrote:
 Hi,

 Wednesday, November 6, 2002, 2:50:42 PM, you wrote:
 EN -BEGIN PGP SIGNED MESSAGE-
 EN Hash: SHA1

 EN I'm trying to get XSLT working with PHP, and after slowly working my
 way EN through several other problems, I've found one that I can't figure
 out.

 EN Software:
 EN PHP 4.2.3
 EN Apache 1.3.27
 EN Sablotron 0.96
 EN GCC 3.2
 EN Linux 2.4.19-lsm1

 EN ./configure \
 EN - --enable-xml \
 EN - --enable-xslt \
 EN - --enable-ftp \
 EN - --enable-sockets \
 EN - --enable-pcntl \
 EN - --with-apxs=/usr/local/apache/bin/apxs \
 EN - --with-xslt-sablot  \
 EN make  \
 EN sudo make install

 EN Everything seems to work fine (except for a lot of
 EN cc1: warning: changing search order for system directory
 /usr/local/include EN cc1: warning:   as it has already been specified
 as a non-system directory EN 's that appear when using gcc-3.2), but when
 I try to
 EN /usr/local/apache/bin/apachectl restart, I get this:

 EN Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
 EN Cannot load /usr/local/apache/libexec/libphp4.so into server:
 EN /usr/local/lib/libsablot.so.0: undefined symbol: __gxx_personality_v0
 EN /usr/local/apache/bin/apachectl start: httpd could not be started

 EN Any ideas???
 EN -BEGIN PGP SIGNATURE-
 EN Version: GnuPG v1.0.7 (GNU/Linux)

 EN iD8DBQE9yJ/J/rncFku1MdIRAkhnAKClykcWMUwiWbslAYklx3xm1qsjSQCdFAXh
 EN roJ+kMyayqdY1UXxL6S5xuQ=
 EN =1Zaw
 EN -END PGP SIGNATURE-


 You probably need this patch
 http://download-2.gingerall.cz/download/sablot/Sablot-0.96.1.patch

 You can also use LDFLAGS=-lstdc++ before configuring PHP
 more info at http://php.benscom.com/manual/en/ref.xslt.php

- -- 
Jesus Christ: Imaginary Playmate to Millions of Adults!

- -Unknown
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9yW8T/rncFku1MdIRAhMXAKCFp4MyUAp2/oLVIwcXS4L0utNOVgCglIPf
5qP6pDQ/mrNX+CT5pV7X6oc=
=wdaO
-END PGP SIGNATURE-


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread .: B i g D o g :.
Try specifying the sablot installation directory in the configuration

--with-xslt-sablot=/some/dir


On Wed, 2002-11-06 at 04:50, Evan Nemerson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'm trying to get XSLT working with PHP, and after slowly working my way 
 through several other problems, I've found one that I can't figure out.
 
 Software:
 PHP 4.2.3
 Apache 1.3.27
 Sablotron 0.96
 GCC 3.2
 Linux 2.4.19-lsm1
 
 ./configure \
 - --enable-xml \
 - --enable-xslt \
 - --enable-ftp \
 - --enable-sockets \
 - --enable-pcntl \
 - --with-apxs=/usr/local/apache/bin/apxs \
 - --with-xslt-sablot  \
 make  \
 sudo make install
 
 Everything seems to work fine (except for a lot of 
 cc1: warning: changing search order for system directory /usr/local/include
 cc1: warning:   as it has already been specified as a non-system directory
 's that appear when using gcc-3.2), but when I try to 
 /usr/local/apache/bin/apachectl restart, I get this: 
 
 Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
 Cannot load /usr/local/apache/libexec/libphp4.so into server: 
 /usr/local/lib/libsablot.so.0: undefined symbol: __gxx_personality_v0
 /usr/local/apache/bin/apachectl start: httpd could not be started
 
 Any ideas???
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.7 (GNU/Linux)
 
 iD8DBQE9yJ/J/rncFku1MdIRAkhnAKClykcWMUwiWbslAYklx3xm1qsjSQCdFAXh
 roJ+kMyayqdY1UXxL6S5xuQ=
 =1Zaw
 -END PGP SIGNATURE-
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
-- 
.: B i g D o g :.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Trouble with php-4.2.3, apache-1.3.27, sablotron 0.96

2002-11-05 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nope. Same error. Good idea, though...

- -Evan



On Tuesday 05 November 2002 01:56 pm, .: B i g D o g :. wrote:
 Try specifying the sablot installation directory in the configuration

 --with-xslt-sablot=/some/dir

 On Wed, 2002-11-06 at 04:50, Evan Nemerson wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  I'm trying to get XSLT working with PHP, and after slowly working my way
  through several other problems, I've found one that I can't figure out.
 
  Software:
  PHP 4.2.3
  Apache 1.3.27
  Sablotron 0.96
  GCC 3.2
  Linux 2.4.19-lsm1
 
  ./configure \
  - --enable-xml \
  - --enable-xslt \
  - --enable-ftp \
  - --enable-sockets \
  - --enable-pcntl \
  - --with-apxs=/usr/local/apache/bin/apxs \
  - --with-xslt-sablot  \
  make  \
  sudo make install
 
  Everything seems to work fine (except for a lot of
  cc1: warning: changing search order for system directory
  /usr/local/include cc1: warning:   as it has already been specified as
  a non-system directory 's that appear when using gcc-3.2), but when I
  try to
  /usr/local/apache/bin/apachectl restart, I get this:
 
  Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
  Cannot load /usr/local/apache/libexec/libphp4.so into server:
  /usr/local/lib/libsablot.so.0: undefined symbol: __gxx_personality_v0
  /usr/local/apache/bin/apachectl start: httpd could not be started
 
  Any ideas???
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.0.7 (GNU/Linux)
 
  iD8DBQE9yJ/J/rncFku1MdIRAkhnAKClykcWMUwiWbslAYklx3xm1qsjSQCdFAXh
  roJ+kMyayqdY1UXxL6S5xuQ=
  =1Zaw
  -END PGP SIGNATURE-
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php

- -- 
I contend that we are both atheists. I just believe in one fewer god than you 
do. When you understand why you dismiss all the other possible gods, you will 
understand why I dismiss yours.

- -Stephen Roberts
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9yLD7/rncFku1MdIRAu9EAJwI0UUESRB4J0XOvcuENNIgITojcACfdqiF
pI5whvgtCWXuYGisHuJqin4=
=a46S
-END PGP SIGNATURE-


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php