Bug #11790 Updated: Error compiling PHP

From: Date: Sat, 30 Jun 2001 08:28:24 +0000
Subject: Bug #11790 Updated: Error compiling PHP
Groups: php.dev 
Request: Send a blank email to php-dev+get-58502@lists.php.net to get a copy of this message
ID: 11790 Updated by: derick Reported By: rmang@lexiconn.com Old-Status: Open Status: Duplicate Bug Type: Compile Failure Operating system: PHP Version: 4.0.6 Assigned To: Comments: Dup of: 11776 Previous Comments: --------------------------------------------------------------------------- [2001-06-29 14:32:35] rmang@lexiconn.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-29 09:41:44] 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-28 23:44:59] rmang@lexiconn.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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11790&edit=2

« previous php.dev (#58502) next »