Hi All, I'm getting an error when running make with the GD library against 4.0.6. The configure is:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-gd-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --disable-debug --with-libdir=/usr/lib --with-db3=/usr/local/BerkeleyDB.4.0 --with-interbase=shared --with-mysql=/usr --with-pgsql=shared --with-ldap --with-imap=/usr/local --enable-xslt --with-xslt-sablot --with-xml --enable-shared Machine: cobalt Raq4 already has working 4.06 with 1.8.3 GD - but I need to re-compile to include pear libs - any ideas? Regards, Jeremy Make Output: Making all in gd make[2]: Entering directory `/home/sites/home/users/admin/software/php-4.0.6/ext/gd' make[3]: Entering directory `/home/sites/home/users/admin/software/php-4.0.6/ext/gd' /bin/sh /home/sites/home/users/admin/software/php-4.0.6/libtool --silent --mode=compile gcc -I. -I/home/sites/home/users/admin/software/php-4.0.6/ext/gd -I/home/sites/home/users/admin/software/php-4.0.6/main -I/home/sites/home/users/admin/software/php-4.0.6 -I/usr/include/apache -I/home/sites/home/users/admin/software/php-4.0.6/Zend -I/usr/local/BerkeleyDB.4.0/include -I/usr/include/freetype -I/usr/local/include -I/usr/interbase/include -I/usr/include/mysql -I/home/sites/home/users/admin/software/php-4.0.6/ext/xml/expat/xmltok -I/home/sites/home/users/admin/software/php-4.0.6/ext/xml/expat/xmlparse -I/home/sites/home/users/admin/software/php-4.0.6/TSRM -DLINUX=22 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c In file included from gd.c:89: gd_ctx.c:3: warning: `struct gdIOCtx' declared inside parameter list gd_ctx.c:3: warning: its scope is only this definition or declaration, which is probably not what you want. gd_ctx.c:8: warning: `struct gdIOCtx' declared inside parameter list gd_ctx.c:13: warning: `struct gdIOCtx' declared inside parameter list gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:28: `gdIOCtx' undeclared (first use in this function) gd_ctx.c:28: (Each undeclared identifier is reported only once gd_ctx.c:28: for each function it appears in.) gd_ctx.c:28: `ctx' undeclared (first use in this function) gd.c: At top level: gd.c:104: parse error before `gdIOCtx' gd.c: In function `_php_image_create_from_string': gd.c:1030: `gdIOCtx' undeclared (first use in this function) gd.c:1030: `io_ctx' undeclared (first use in this function) gd.c: In function `php_if_imagecreatefromstring': gd.c:1074: `gdImageCreateFromJpegCtx' undeclared (first use in this function) gd.c:1083: `gdImageCreateFromPngCtx' undeclared (first use in this function) gd.c:1101: `gdImageCreateFromWBMPCtx' undeclared (first use in this function) gd.c: In function `_php_image_create_from': gd.c:1166: `gdIOCtx' undeclared (first use in this function) gd.c:1166: `io_ctx' undeclared (first use in this function) gd.c:1167: parse error before `buff_size' gd.c:1170: `buff_size' undeclared (first use in this function) gd.c:1170: `buff_em' undeclared (first use in this function) gd.c:1177: `buff' undeclared (first use in this function) gd.c: In function `php_if_imagecreatefromjpeg': gd.c:1222: `gdImageCreateFromJpeg' undeclared (first use in this function) gd.c:1222: `gdImageCreateFromJpegCtx' undeclared (first use in this function) gd.c: In function `php_if_imagecreatefrompng': gd.c:1235: `gdImageCreateFromPng' undeclared (first use in this function) gd.c:1235: `gdImageCreateFromPngCtx' undeclared (first use in this function) gd.c: In function `php_if_imagecreatefromwbmp': gd.c:1278: `gdImageCreateFromWBMP' undeclared (first use in this function) gd.c:1278: `gdImageCreateFromWBMPCtx' undeclared (first use in this function) gd.c: In function `php_if_imagepng': gd.c:1419: `gdImagePngCtx' undeclared (first use in this function) gd.c: In function `php_if_imagejpeg': gd.c:1437: `gdImageJpegCtx' undeclared (first use in this function) gd.c: In function `php_if_imagewbmp': gd.c:1454: `gdImageWBMPCtx' undeclared (first use in this function) gd.c: At top level: gd.c:3244: parse error before `gdIOCtx' gd.c: In function `_php_image_bw_convert': gd.c:3249: `im_org' undeclared (first use in this function) gd.c:3274: `threshold' undeclared (first use in this function) gd.c:3284: `gdImageWBMPCtx' used prior to declaration gd.c:3284: `out' undeclared (first use in this function) gd.c: In function `_php_image_convert': gd.c:3371: `gdImageCreateFromJpeg' used prior to declaration gd.c:3371: warning: assignment makes pointer from integer without a cast gd.c:3382: `gdImageCreateFromPng' used prior to declaration gd.c:3382: warning: assignment makes pointer from integer without a cast make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/home/sites/home/users/admin/software/php-4.0.6/ext/ gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sites/home/users/admin/software/php-4.0.6/ext/ gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sites/home/users/admin/software/php-4.0.6/ext' make: *** [all-recursive] Error 1 -- -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php