Bug #11776 Updated: filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known
| From: | sniper@php.net | Date: | Fri, 29 Jun 2001 01:54:00 +0000 |
| Subject: | Bug #11776 Updated: filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58476@lists.php.net to get a copy of this message | ||
ID: 11776
Updated by: sniper
Reported By: jur@insource.nl
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
I wonder where you got those sources since in my version
of PHP 4.0.6 (which is the correct one) there is nothing
like that on line 159 of filestat.c. And is your install
of linux really working one?
Do you have following header files:
/usr/include/sys/statvfs.h
/usr/include/sys/statfs.h
/usr/include/sys/mount.h
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-06-28 08:44:04] jur@insource.nl
When trying to compile PHP 4.0.6 I get the following error:
gcc -I. -I/mnt/src/apache-install/php-4.0.6/ext/standard -I/mnt/src/apache-install/php-4.0.6/main
-I/mnt/src/apache-install/php-4.0.6 -I/mnt/src/apache-install/apache_1.3.20/src/include
-I/mnt/src/apache-install/apache_1.3.20/src/os/unix -I/mnt/src/apache-install/php-4.0.6/Zend
-I/usr/local/include/freetype -I/mnt/src/apache-install/gd-1.8.4 -I/usr/local/mysql/include/mysql
-I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmltok
-I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmlparse -I/mnt/src/apache-install/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:159: storage size of `buf' isn't known
make[3]: *** [filestat.lo] Error 1
make[3]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext'
make: *** [all-recursive] Error 1
My configureline:
./configure --prefix=/usr/local/apache --activate-module=src/modules/auth_mysql/libauth_mysql.a
--add-module=../mod_auth_cookie-1.9/mod_auth_cookie.c --activate-module=src/modules/php4/libphp4.a
--enable-module=ssl
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11776&edit=2