php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22928 php 4.3.1 compilation error on RedHat 8
Submitted: 2003-03-27 09:26 UTC Modified: 2003-03-27 13:09 UTC
From: jason at jasonsrealm dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.1 OS: RedHat Linux 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jason at jasonsrealm dot com
New email:
PHP Version: OS:

 

 [2003-03-27 09:26 UTC] jason at jasonsrealm dot com
I am attempting to configure php 4.3.1 and apache 1.3.27 on a Redhat
Linux 8 (Psyche) box and I am running into some problems.

my configure command is:  
./configure --with-mysql --with-apache=../apache_1.3.27/
--enable-track-vars

then I run "make" and I get the following problem.  What can I do to fix
this.

[root@code3 php-4.3.1]# make
gcc  -Iext/ctype/ -I/usr/local/src/php-4.3.1/ext/ctype/ -DPHP_ATOM_INC
-I/usr/local/src/php-4.3.1/include -I/usr/local/src/php-4.3.1/main
-I/usr/local/src/php-4.3.1 -I/usr/local/src/php-4.3.1/Zend
-I/usr/local/src/php-4.3.1/ext/xml/expat 
-I/usr/local/src/php-4.3.1/TSRM  -g -O2  -c
/usr/local/src/php-4.3.1/ext/ctype/ctype.c -o ext/ctype/ctype.o  && echo
> ext/ctype/ctype.lo
In file included from /usr/include/errno.h:36,
                 from
/usr/local/src/php-4.3.1/Zend/zend_operators.h:24,
                 from
/usr/local/src/php-4.3.1/Zend/zend_execute_globals.h:27,
                 from /usr/local/src/php-4.3.1/Zend/zend_globals.h:34,
                 from /usr/local/src/php-4.3.1/Zend/zend_list.h:25,
                 from /usr/local/src/php-4.3.1/Zend/zend_API.h:26,
                 from /usr/local/src/php-4.3.1/main/php.h:38,
                 from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or
directory
In file included from
/usr/local/src/php-4.3.1/Zend/zend_execute_globals.h:27,
                 from /usr/local/src/php-4.3.1/Zend/zend_globals.h:34,
                 from /usr/local/src/php-4.3.1/Zend/zend_list.h:25,
                 from /usr/local/src/php-4.3.1/Zend/zend_API.h:26,
                 from /usr/local/src/php-4.3.1/main/php.h:38,
                 from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.1/Zend/zend_operators.h: In function
`is_numeric_string':
/usr/local/src/php-4.3.1/Zend/zend_operators.h:78: `ERANGE' undeclared
(first use in this function)
/usr/local/src/php-4.3.1/Zend/zend_operators.h:78: (Each undeclared
identifier is reported only once
/usr/local/src/php-4.3.1/Zend/zend_operators.h:78: for each function it
appears in.)
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:144,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:132,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:11,
                 from /usr/include/sys/param.h:22,
                 from /usr/local/src/php-4.3.1/main/php.h:205,
                 from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or
directory
In file included from /usr/local/src/php-4.3.1/main/php.h:205,
                 from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23:
/usr/include/sys/param.h:23:26: linux/limits.h: No such file or
directory
/usr/include/sys/param.h:24:25: linux/param.h: No such file or
directory
In file included from /usr/local/src/php-4.3.1/main/php.h:354,
                 from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.1/main/php_streams.h: At top level:
/usr/local/src/php-4.3.1/main/php_streams.h:116: `PATH_MAX' undeclared
here (not in a function)
/usr/local/src/php-4.3.1/main/php_streams.h:117: confused by earlier
errors, bailing out
make: *** [ext/ctype/ctype.lo] Error 1
[root@code3 php-4.3.1]#

Thanks

Jason

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-27 12:08 UTC] jason at jasonsrealm dot com
Turns out this was not a bug.  I reloaded my box and started from scratch.  compile was successful
 [2003-03-27 13:09 UTC] sniper@php.net
Not bug -> bogus.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 03:01:28 2024 UTC