From: janusng at mac dot com Operating system: Mac OS X 10.3 PHP version: 4.3.4 PHP Bug Type: PHP options/info functions Bug description: "configure --with-libjpeg=/sw --with-libpng=/sw --with-gd" does not work
Description: ------------ running "./configure --with-libjpeg=/sw --with-libpng=/sw --with-gd" will always result in the errors I am sure that both libjpeg.dylib and libpng.dylib are in /sw/bin directory. So does jpeglib.h, png.h and pngconf.h directory. Expected result: ---------------- configure runs successfully Actual result: -------------- The last few lines of configure output are: ... checking for GD support... yes checking for the location of libjpeg... no checking for the location of libpng... no checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... no checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... noIf configure fails try --with-jpeg-dir=<DIR> configure: error: libpng.(a|so) not found. and I found nothing special in the config.log. The last few lines are: ... configure:29479: checking for GD support configure:29526: checking for the location of libjpeg configure:29553: checking for the location of libpng configure:29606: checking for the location of libXpm configure:29631: checking for FreeType 1.x support configure:29656: checking for FreeType 2 configure:29681: checking for T1lib support configure:29706: checking whether to enable truetype string function in GD configure:29731: checking whether to enable JIS-mapped Japanese font support in GD configure:29785: checking for fabsf configure:29813: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/local//lib -L/usr/local//lib -L/sw/lib -L/sw/lib conftest.c -lz -lcurl -lz -lm -lcurl -lz -lssl -lcrypto -lz -lxml2 -lz -liconv -lm 1>&5 configure:29797: warning: conflicting types for built-in function `fabsf' ld: warning prebinding disabled because dependent library: /sw/lib/libxml2.2.dylib is not prebound configure:29785: checking for floorf configure:29813: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/local//lib -L/usr/local//lib -L/sw/lib -L/sw/lib conftest.c -lz -lcurl -lz -lm -lcurl -lz -lssl -lcrypto -lz -lxml2 -lz -liconv -lm 1>&5 ld: warning prebinding disabled because dependent library: /sw/lib/libxml2.2.dylib is not prebound -- Edit bug report at http://bugs.php.net/?id=26227&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26227&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26227&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26227&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26227&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26227&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26227&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26227&r=support Expected behavior: http://bugs.php.net/fix.php?id=26227&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26227&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26227&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26227&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26227&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26227&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26227&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26227&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26227&r=float