ID: 11790
User Update by: [EMAIL PROTECTED]
Status: Duplicate
Bug Type: Compile Failure
Operating system: Redhat Linux 5.x
PHP Version: 4.0.6
Description: Error compiling PHP

It is similar to bug report 11776, however, my Redhat Linux install is verified to be 
a true and correct install. I am wondering now if PHP-4.0.6 has now become not usable 
on older RH5.x LIBC5 platforms. Thanks.

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

[2001-06-30 04:28:24] [EMAIL PROTECTED]

Dup of: 11776

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

[2001-06-29 14:32:35] [EMAIL PROTECTED]

I have /usr/include/sys/mount.h
but not statfs.h, and not stavfs.h

I tried just adding the header files to the dir. (I know it's not the preferred way) 
but that did not good. I am running gcc version 2.7.2.1 and libc5.3.12 on RH 5.x.

I have successfully compiled php-4.0.4pl1 on this machine. Thanks for any help.

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

[2001-06-29 09:41:44] [EMAIL PROTECTED]

Do you have following header files: 
/usr/include/sys/statvfs.h
/usr/include/sys/statfs.h
/usr/include/sys/mount.h 


--Jani


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

[2001-06-28 23:44:59] [EMAIL PROTECTED]

Compiling php4.0.6 on RH libc5.3 server as CGI module, received the following compile 
error:
--
gcc  -I. -I/home2/rlm/php-4.0.6/ext/standard -I/home2/rlm/php-4.0.6/main 
-I/home2/rlm/php-4.0.6 -I/home2/rlm/php-4.0.6/Zend -I/home/rlm/gd1.3/ 
-I/usr/local/Hughes/include -I/usr/local/mysql3/include 
-I/home2/rlm/php-4.0.6/ext/xml/expat/xmltok 
-I/home2/rlm/php-4.0.6/ext/xml/expat/xmlparse -I/home2/rlm/php-4.0.6/TSRM  
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c filestat.c && touch filestat.lo
filestat.c: In function `php_if_diskfreespace':
filestat.c:157: storage size of `buf' isn't known
make[3]: *** [filestat.lo] Error 1
make[3]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/rlm/php-4.0.6/ext'
make: *** [all-recursive] Error 1
---
configure line:
./configure --enable-force-cgi-redirect --with-mysql=/usr/local/mysql3 --with-msql 
--bindir=/home/rlm/php-4.0.6 --with-gd=/home/rlm/gd1.3 
--with-config-file-path=/home/rlm/php-4.0.6

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


Full Bug description available at: http://bugs.php.net/?id=11790


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to