ID: 45984 User updated by: jhuckaby at gmail dot com Reported By: jhuckaby at gmail dot com -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Fedora Core 6 PHP Version: 5.2.6 New Comment:
This issue is not reproducible with Fedora 9. This is apparently an incompatibility issue with the old C libraries that ship with Fedora Core 6. I am closing this bug. Previous Comments: ------------------------------------------------------------------------ [2008-09-03 16:03:21] jhuckaby at gmail dot com Description: ------------ In order to support 64-bit files in PHP, I was instructed by crrodriguez at suse dot de to do the following: "You dont pass D_FILE_OFFSET_BITS=64 directly, but add AC_SYS_LARGEFILE to configure.in then run ./buildconf --force and rebuild PHP." http://bugs.php.net/bug.php?id=45942 Following these instructions, I got the following error from `make`: /home/jhuckaby/dev/3rdparty/source/apache-1.3/php- 5.2.7/ext/posix/posix.c: In function 'zif_posix_uname': /home/jhuckaby/dev/3rdparty/source/apache-1.3/php- 5.2.7/ext/posix/posix.c:471: error: 'struct utsname' has no member named 'domainname' make: *** [ext/posix/posix.lo] Error 1 It should be noted that if I add "--disable-all --disable-cgi" to the ./configure then this works perfectly. It compiles, installs and 64-bit files work flawlessly. But a bare bones PHP will not suffice, as I need several modules compiled in. Reproduce code: --------------- echo AC_SYS_LARGEFILE >> configure.in ./buildconf --force ./configure --with-apache=../apache_1.3.39 --prefix=/ipix/php --with- config-file-path=/ipix/php/lib make Expected result: ---------------- I expected the 'make' to complete without errors, as it does when I add "--disable-all --disable-cgi". Actual result: -------------- /home/jhuckaby/dev/3rdparty/source/apache-1.3/php- 5.2.7/ext/posix/posix.c: In function 'zif_posix_uname': /home/jhuckaby/dev/3rdparty/source/apache-1.3/php- 5.2.7/ext/posix/posix.c:471: error: 'struct utsname' has no member named 'domainname' make: *** [ext/posix/posix.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45984&edit=1