ID:               40474
 User updated by:  zesigur at free dot fr
 Reported By:      zesigur at free dot fr
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Redhat 7.3 (2.4.29)
 PHP Version:      5.2.1
 New Comment:

They are LAN servers with no access from the outside.. But my question
is : why does it work with your latest version with --enable-debug and
why it does not work with original php-5.2.1? What are the differences
between these versions? Is it because of the .phar?


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

[2007-02-14 14:00:41] [EMAIL PROTECTED]

>So there seems to be a problem with this release and 
>--disable-debug, isn't it?
No, --disable-debug is just not that forgiving.
Please provide an account on this machine, I can't see any problems
here - everything installs and works just fine.

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

[2007-02-14 13:52:23] zesigur at free dot fr

It works changing --disable-debug into --enable-debug !! no more
segfault with Your http://snaps.php.net/php5.2-latest.tar.gz

make install
Installing PHP SAPI module:       apache
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/man/man1/
Installing build environment:     /usr/lib/php/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/lib/php/
--14:46:56--  http://pear.php.net/install-pear-nozlib.phar
           => `pear/install-pear-nozlib.phar'
Résolution de pear.php.net... 216.92.131.66
Connexion vers pear.php.net[216.92.131.66]:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 3,551,864 [text/plain]

100%[======================================================================>]
3,551,864    183.08K/s    ETA 00:00

14:47:19 (146.51 KB/s) - « pear/install-pear-nozlib.phar » sauvegardé
[3551864/3551864]

[PEAR] Console_Getopt - already installed: 1.2.1
[PEAR] Archive_Tar    - already installed: 1.3.2
[PEAR] Structures_Graph- already installed: 1.0.2
[PEAR] PEAR           - already installed: 1.5.0
Wrote PEAR system config file at: /usr/etc/pear.conf
You may want to add: /usr/lib/php to your php.ini include_path
Installing PDO headers:          /usr/include/php/ext/pdo/

The original php-5.2.1.tar.gz does not work even with --enable-debug..
So there seems to be a problem with this release and --disable-debug,
isn't it?

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

[2007-02-14 12:58:39] [EMAIL PROTECTED]

It would help very much if you build PHP with --enable-debug.

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

[2007-02-14 12:56:07] zesigur at free dot fr

make install was different with this version but fails too : 
make install
Installing PHP SAPI module:       apache
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/man/man1/
Installing build environment:     /usr/lib/php/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/lib/php/
--13:52:33--  http://pear.php.net/install-pear-nozlib.phar
           => `pear/install-pear-nozlib.phar'
Résolution de pear.php.net... 216.92.131.66
Connexion vers pear.php.net[216.92.131.66]:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 3,551,864 [text/plain]

100%[======================================================================>]
3,551,864    165.76K/s    ETA 00:00

13:52:54 (167.66 KB/s) - « pear/install-pear-nozlib.phar » sauvegardé
[3551864/3551864]

make[1]: *** [install-pear-installer] Erreur de segmentation
make: *** [install-pear] Erreur 2

and GDB on sapi/cli/php :

Starting program:
/var/tmp/apache_1.3.34/php5.2-200702141130/sapi/cli/php
/var/tmp/apache_1.3.34/php5.2-200702141130/pear/install-pear-nozlib.phar
[New Thread 1024 (LWP 17186)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 17186)]
0x082cb70a in _zval_ptr_dtor ()
(gdb) bt
#0  0x082cb70a in _zval_ptr_dtor ()
#1  0x086888a0 in ?? ()
#2  0x40007274 in _dl_lookup_symbol_internal () from
/lib/ld-linux.so.2
Cannot access memory at address 0x73627573

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

[2007-02-14 11:07:15] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip



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

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/40474

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

Reply via email to