ID: 35443 Updated by: [EMAIL PROTECTED] Reported By: paniemin at cc dot hut dot fi -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Red Hat Linux 7.3 PHP Version: 5.1.0 New Comment:
1) There is no such GCC version as 2.96, see: http://gcc.gnu.org/gcc-2.96.html 2) Check your config.nice file and see if you have any empty lines after the options. Previous Comments: ------------------------------------------------------------------------ [2005-11-28 12:42:47] paniemin at cc dot hut dot fi Description: ------------ I think that this bug is low priority. I tried to uprade from php 5.0 to 5.1 on web server where I don't have root privilegs. I faced build failure: /home/customers/antin/php5.1/php-5.1.0/main/reentrancy.c: In function `php_readdir_r': /home/customers/antin/php5.1/php-5.1.0/main/reentrancy.c:143: too few arguments to function `readdir_r' make: *** [main/reentrancy.lo] Error 1 The problem seems to be that systems is quite old. I think that makes bug low priority or irrelevant. Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113) I found that actual problem is that HAVE_OLD_READDIR_R is set even thought the system doesn't include correct version. It builds well when I change source code so that pre-complier choose else branch in reentrancy.c. I tried to check the configuration script but I'm not familiar with autoconf style so I cannot say what is the exact problem in this system. configure: './configure' \ '--enable-sysvshm' \ '--enable-pcntl' \ '--with-gd' \ '--enable-gd-native-ttf' \ '--with-jpeg-dir' \ '--with-png-dir' \ '--enable-sysvsem' \ '--with-zlib' \ '--prefix=~/php5.1' \ '--enable-discard-path' \ '--with-bz2' \ '--with-libxml-dir=~/libxml2/' \ '--with-freetype-dir=~/freetype' \ '--with-ttf' \ I can build the PHP5.1 but I just wanted to inform that there maybe problems with older systems. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35443&edit=1