php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11790 Error compiling PHP
Submitted: 2001-06-28 23:44 UTC Modified: 2001-08-18 03:59 UTC
From: rmang at lexiconn dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Redhat Linux 5.x
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: rmang at lexiconn dot com
New email:
PHP Version: OS:

 

 [2001-06-28 23:44 UTC] rmang at lexiconn dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-29 09:41 UTC] sniper@php.net
Do you have following header files: 
/usr/include/sys/statvfs.h
/usr/include/sys/statfs.h
/usr/include/sys/mount.h 


--Jani

 [2001-06-29 14:32 UTC] rmang at lexiconn dot com
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-30 04:28 UTC] derick@php.net
Dup of: 11776
 [2001-06-30 11:50 UTC] rmang at lexiconn dot com
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.
 [2001-06-30 14:04 UTC] sniper@php.net
let's keep this one open and make the other one duplicate.

 [2001-07-30 10:03 UTC] sniper@php.net
Could you please try the latest CVS snapshot from http://snaps.php.net/ to verify if this problem still exists.

 [2001-07-30 11:43 UTC] rmang at lexiconn dot com
Tried the newest snapshot and received:
filestat.c: In function `php_if_disk_total_space':
filestat.c:133: storage size of `buf' isn't known
filestat.c: In function `php_if_disk_free_space':
filestat.c:234: storage size of `buf' isn't known
make[3]: *** [filestat.lo] Error 1                 

Rob M.
 [2001-08-18 03:59 UTC] sniper@php.net
Fixed now. Also fixed in PHP 4.0.7-RC1.
http://www.php.net/~zeev/php-4.0.7-latest.tar.gz

--Jani

 [2001-08-18 03:59 UTC] sniper@php.net
closed.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 06:01:29 2025 UTC