ID: 36665 User updated by: geoffrey at misco dot nl Reported By: geoffrey at misco dot nl -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: redhat 9 PHP Version: 4.4.2 New Comment:
i've edited the configure script and changed a directory link... he now goes a bit further then png.h but now the compiler strands on configure: error: libXpm.(a|so) not found. Previous Comments: ------------------------------------------------------------------------ [2006-03-09 14:10:10] geoffrey at misco dot nl been there, done that. Still is popping up errors ------------------------------------------------------------------------ [2006-03-09 13:56:47] [EMAIL PROTECTED] Install libpng-devel package and/or fix the mess with libraries and headers in your system. Not PHP problem. ------------------------------------------------------------------------ [2006-03-09 13:52:07] geoffrey at misco dot nl i've done that and if i try to compile it says this: configure: error: png.h not found. ------------------------------------------------------------------------ [2006-03-09 13:04:45] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2006-03-09 12:35:37] geoffrey at misco dot nl Description: ------------ I cannot get php to be compiled with GD and JPEG support Reproduce code: --------------- [EMAIL PROTECTED] php-4.4.1]# ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/ apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm --with-sybase=/usr/local/freetds --with-gd --with-png-dir=/usr --h ost=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir= /usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --li bdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/ usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../confi g.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --e nable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable- inline-optimization --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with -gd --enable-gd-native-ttf --with-ttf --with-gettext --with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-regex=system --with-xml --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-e xif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --en able-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars --enabl e-trans-sid --enable-yp --with-xpm-dir=/usr --enable-wddx --without-oci8 --with -pear=/usr/share/pear--with-imap=shared --with-png-dir=/usr --with-imap-ssl --w ith-unixODBC=shared --enable-memory-limit --enable-bcmath --enable-shmop --enab le-versioning --enable-calendar --enable-dbx --enable-dio --enable-mcal after this i type make Expected result: ---------------- succesfull build Actual result: -------------- [EMAIL PROTECTED] php-4.4.1]# make /bin/sh /home/ervin/php-4.4.1/libtool --silent --preserve-dup-deps --mode=compil e gcc -I/home/ervin/php-4.4.1/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -Iext/gd / -I/home/ervin/php-4.4.1/ext/gd/ -DPHP_ATOM_INC -I/home/ervin/php-4.4.1/include -I/home/ervin/php-4.4.1/main -I/home/ervin/php-4.4.1 -I/usr/kerberos/include -I /usr/include/libxml2 -I/include -I/usr/include/ncurses -I/usr/local/freetds/incl ude -I/home/ervin/php-4.4.1/TSRM -I/home/ervin/php-4.4.1/Zend -g -O2 -prefer -non-pic -c /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c -o ext/gd/libgd/gd_jpeg .lo /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:42:21: jpeglib.h: No such file or d irectory /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:43:20: jerror.h: No such file or di rectory /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:53: parse error before "cinfo" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c: In function `fatal_jpeg_error': /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:58: `cinfo' undeclared (first use i n this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:58: (Each undeclared identifier is reported only once /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:58: for each function it appears in .) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c: At top level: /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:100: parse error before "cinfo" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c: In function `gdImageJpegCtx': /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:104: storage size of `cinfo' isn't known /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:105: storage size of `jerr' isn't k nown /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:108: syntax error before "row" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:109: `JSAMPROW' undeclared (first u se in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:111: `JDIMENSION' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:111: parse error before "nlines" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:121: `row' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:134: `JCS_RGB' undeclared (first us e in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:137: `TRUE' undeclared (first use i n this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:147: parse error before "_safe_emal loc" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:148: `JSAMPLE' undeclared (first us e in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:149: `rowptr' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:154: `JPEG_LIB_VERSION' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:158: `JPEG_COM' undeclared (first u se in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:175: `nlines' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:198:2: #error IJG JPEG library BITS _IN_JSAMPLE value must be 8 or 12 /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c: At top level: /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:234: parse error before "cinfo" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c: In function `gdImageCreateFromJpeg Ctx': /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:244: storage size of `cinfo' isn't known /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:245: storage size of `jerr' isn't k nown /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:248: syntax error before "row" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:250: `JSAMPROW' undeclared (first u se in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:250: parse error before "rowptr" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:253: `JDIMENSION' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:253: parse error before "nrows" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:264: `row' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:280: `JPEG_APP0' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:282: `TRUE' undeclared (first use i n this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:283: `JPEG_HEADER_OK' undeclared (f irst use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:304: `JCS_CMYK' undeclared (first u se in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:304: `JCS_YCCK' undeclared (first u se in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:307: `JCS_RGB' undeclared (first us e in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:334: `jpeg_saved_marker_ptr' undecl ared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:334: parse error before "marker" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:340: `marker' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:358: `JSAMPLE' undeclared (first us e in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:360: `rowptr' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:364: syntax error before "currow" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:366: `nrows' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:371: `currow' undeclared (first use in this function) /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:377: syntax error before "currow" /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c: At top level: /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:450: field `pub' has incomplete typ e /home/ervin/php-4.4.1/ext/gd/libgd/gd_jpeg.c:455: confused by earlier errors, ba iling out make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1 [EMAIL PROTECTED] php-4.4.1]# ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36665&edit=1