From: omikorn at yahoo dot com Operating system: redhat based distros PHP version: 4.4.4 PHP Bug Type: Compile Failure Bug description: configure not checking properly for libjpeg header files
Description: ------------ ./configure is not checking properly for libjpeg header files Reproduce code: --------------- /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c:42:21: jpeglib.h: No such file or directory /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c:43:20: jerror.h: No such file or directory /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c:53: parse error before "cinfo" /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c: In function `fatal_jpeg_error': /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c:58: `cinfo' undeclared (first use in this function) /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c:58: (Each undeclared identifier is reported only once /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c:58: for each function it appears in.) /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c: At top level: /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c:100: parse error before "cinfo" /root/php-4.4.4/ext/gd/libgd/gd_jpeg.c: In function `gdImageJpegCtx': ... and more Expected result: ---------------- Normal continuation of compile. i got rid of that error in 1 easy step by isntalling libjpeg-devel -- Edit bug report at http://bugs.php.net/?id=38706&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38706&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38706&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38706&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38706&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38706&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38706&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38706&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38706&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38706&r=support Expected behavior: http://bugs.php.net/fix.php?id=38706&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38706&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38706&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38706&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38706&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38706&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38706&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38706&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38706&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38706&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38706&r=mysqlcfg
