Date: 06/29/01
- Next message: sniper <email protected>: "[PHP-DEV] Bug #11807:"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #10589 Updated: buildconf not compatible with Gnu Libtool 1.4"
- Next in thread: derick <email protected>: "[PHP-DEV] Bug #11790 Updated: Error compiling PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 11790
User Update by: rmang <email protected>
Old-Status: Feedback
Status: Open
Bug Type: Compile Failure
Operating system: Redhat Linux 5.x
PHP Version: 4.0.6
Description: Error compiling PHP
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.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-29 09:41:44] sniper <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] rmang <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] Bug #11807:"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #10589 Updated: buildconf not compatible with Gnu Libtool 1.4"
- Next in thread: derick <email protected>: "[PHP-DEV] Bug #11790 Updated: Error compiling PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

