Bug #11790 Updated: Error compiling PHP
| From: | sniper@php.net | Date: | Sat, 30 Jun 2001 18:04:22 +0000 |
| Subject: | Bug #11790 Updated: Error compiling PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58534@lists.php.net to get a copy of this message | ||
ID: 11790
Updated by: sniper
Reported By: rmang@lexiconn.com
Old-Status: Duplicate
Status: Open
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
let's keep this one open and make the other one duplicate.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-30 11:50:47] rmang@lexiconn.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 04:28:24] derick@php.net
Dup of: 11776
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
The remainder of the comments for this report are too long.
To view the rest of the comments, please
view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11790&edit=2