ID: 11776
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Duplicate
Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.2, Slackware 4.0, gcc 2.
PHP Version: 4.0.6
New Comment:

Fixed in CVS and PHP 4.0.7RC1.


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

[2001-06-30 14:04:40] [EMAIL PROTECTED]

duplicate of #11790


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

[2001-06-28 21:54:00] [EMAIL PROTECTED]

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


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

[2001-06-28 08:44:04] [EMAIL PROTECTED]

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

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



Edit this bug report at http://bugs.php.net/?id=11776&edit=1


-- 
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