From: jhuckaby at gmail dot com Operating system: Fedora Core 6 PHP version: 5.2.6 PHP Bug Type: Compile Failure Bug description: make fails with AC_SYS_LARGEFILE
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 bug report at http://bugs.php.net/?id=45984&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45984&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45984&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45984&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45984&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45984&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45984&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45984&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45984&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45984&r=support Expected behavior: http://bugs.php.net/fix.php?id=45984&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45984&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45984&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45984&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45984&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45984&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45984&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45984&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45984&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45984&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45984&r=mysqlcfg