From: Operating system: MacOS 10.7 PHP version: 5.3.6 Package: Compile Failure Bug Type: Bug Bug description:Compile fails on sprintf.lo
Description: ------------ When downloading the source tarball for 5.3.6, a vanilla ./configure followed by a make fails. gcc info: i686-apple-darwin11-llvm-gcc-4.2 Expected result: ---------------- No error Actual result: -------------- /Users/josh/php-5.3.6/main/spprintf.c:186: error: static declaration of âstrnlenâ follows non-static declaration /usr/include/string.h:143: error: previous declaration of âstrnlenâ was here make: *** [main/spprintf.lo] Error 1 -- Edit bug report at https://bugs.php.net/bug.php?id=55172&edit=1 -- Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55172&r=trysnapshot52 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55172&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55172&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55172&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55172&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55172&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55172&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55172&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55172&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55172&r=support Expected behavior: https://bugs.php.net/fix.php?id=55172&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55172&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55172&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55172&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55172&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55172&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55172&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55172&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55172&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55172&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55172&r=mysqlcfg Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55172&r=trysnapshot54