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:
strange... With the last snapshot : without CLAGS, enable inline optimization and this : ./configure \ --prefix=/usr \ --with-exec-dir=/usr/bin \ --with-apache=../ \ --with-config-file-path=/servers/apache/conf \ --enable-track-vars \ --enable-safe-mode \ --with-gd=/usr/local/gd \ --with-ttf \ --with-jpeg \ --with-jpeg-dir \ --with-png \ --with-mm \ --with-gnu-ld \ --with-gettext \ --enable-mbstring \ --with-curl=/usr/local/curl \ --with-zlib \ --enable-bcmath \ --enable-memory-limit \ --enable-libxml \ --with-libxml-dir=/usr/local/libxml2 \ --with-freetype-dir=/usr/local/freetype \ --with-mysql=/usr/include/mysql \ --with-imap \ --with-kerberos \ --with-imap-ssl It fails with the same error. If I just add : --enable-debug, it works...... 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/ --17:10:48-- 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 191.96K/s ETA 00:00 17:11:17 (118.68 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/ Previous Comments: ------------------------------------------------------------------------ [2007-02-14 15:34:03] [EMAIL PROTECTED] No, please use the snapshot. ------------------------------------------------------------------------ [2007-02-14 15:25:18] zesigur at free dot fr OK no problem to help you! I've tried with the original php-5.2.1 version. with that : ./configure \ --prefix=/usr \ --with-exec-dir=/usr/bin \ --with-apache=../ \ --with-config-file-path=/servers/apache/conf \ --enable-track-vars \ --enable-safe-mode \ --with-gd=/usr/local/gd \ --with-ttf \ --with-jpeg \ --with-jpeg-dir \ --with-png \ --with-mm \ --with-gnu-ld \ --with-gettext \ --enable-mbstring \ --with-curl=/usr/local/curl \ --with-zlib \ --enable-bcmath \ --enable-memory-limit \ --enable-libxml \ --with-libxml-dir=/usr/local/libxml2 \ --with-freetype-dir=/usr/local/freetype \ --with-mysql=/usr/include/mysql \ --with-imap \ --with-kerberos \ --with-imap-ssl So, without the CFLAGS, and without --enable-inline-optimization . The problem is the same. Installing PEAR environment: /usr/lib/php/ make[1]: *** [install-pear-installer] Erreur de segmentation make: *** [install-pear] Erreur 2 You can tell me what to try next.. ------------------------------------------------------------------------ [2007-02-14 14:42:56] [EMAIL PROTECTED] Well, I would appreciate if you help us to find the roots of the problem. First of all, please remove all these custom CFLAGS and see if it works without them. Then remove --enable-inline-optimization and check it once again. If that doesn't help, tell me. I'll show you what to do after that. ------------------------------------------------------------------------ [2007-02-14 14:34:31] zesigur at free dot fr OK, so I will use this snapshot on these servers, that's OK. Thank you very much for your help ! ------------------------------------------------------------------------ [2007-02-14 14:28:16] [EMAIL PROTECTED] >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? I said I can't reproduce it. >What are the differences between these versions? Run `diff -ru php-5.2.1 php5.2-200702141130` if you want to see the diff. ------------------------------------------------------------------------ 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