From: genetiq at gmail dot com Operating system: MacOS X 10.4.9 PHP version: 5.2.3 PHP Bug Type: Compile Failure Bug description: Unable to compile with --with-gd switch
Description: ------------ Unable to compile with bundled GD library - configure script fails with an error. Reproduce code: --------------- trying to compile with the following options: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man/ --with-apxs2=/usr/sbin/apxs --with-curl --with-gd --enable-exif --enable-fastcgi --with-pgsql --with-zip --with-jpeg-dir=/usr/src/libjpeg --with-png-dir=/usr/src/libpng it fails with this error: configure: error: GD build test failed. Please check the config.log for details. in config.log there are following info: configure:42434: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -L -lpng -lz -lcurl -lm -lxml2 -lz -liconv -lm -lcurl -lssl -lcrypto -lz -lxml2 -lz -liconv -lm 1>&5 /usr/bin/ld: -L: directory name missing collect2: ld returned 1 exit status configure: failed program was: #line 42423 "configure" #include "confdefs.h" char foobar () {} char foobar(); int main() { foobar(); return 0; } Expected result: ---------------- php is always expected to build normally :) -- Edit bug report at http://bugs.php.net/?id=41555&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41555&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41555&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41555&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41555&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41555&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41555&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41555&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41555&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41555&r=support Expected behavior: http://bugs.php.net/fix.php?id=41555&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41555&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41555&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41555&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41555&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41555&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41555&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41555&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41555&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41555&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41555&r=mysqlcfg