patyavalos
09-06-2002, 01:19 PM
I'm installing a PHP 4.2.2, Apache 1.3.26 on a Solaris machine.
I edited a little configure inside php-4.2.2 source directory with the options that I'm needing because of they are necesary install a web mail with the IMP and Horde software:
paty% more configure-paty-1
./configure --with-mysql=/usr/local/mysql --with-oracle=/db/oracle --with-apache
=/webserver/correo/apache_1.3.26 --with-imap-ssl=/webserver/correo/imap --with-z
lib --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-tiff-dir
=/usr/local/lib --with-xml --with-ssl --with-gd --with-pdflib=/usr/local --with-
mm --with-mcal --with-ldap --with-gettext --with-db3=/usr/local/BerkeleyDB.3.2 -
-with-mcrypt --enable-sigchild --with-freetype --enable-track-vars --enable-sysv
sem --enable-sysvshm --enable-url-includes --enable-memory-limit=yes --enable-de
bug=no --enable-libgcc
% ./configure-paty-1
When I run the make script, I get an error:
% /usr/local/bin/make
.
.
gd.c: In function `zif_imagecreatefromstring':
gd.c:1075: `gdImageCreateFromJpegCtx' undeclared (first use in this function)
gd.c:1075: (Each undeclared identifier is reported only once
gd.c:1075: for each function it appears in.)
gd.c:1102: `gdImageCreateFromWBMPCtx' undeclared (first use in this function)
gd.c: In function `zif_imagecreatefromjpeg':
gd.c:1248: `gdImageCreateFromJpeg' undeclared (first use in this function)
gd.c:1248: `gdImageCreateFromJpegCtx' undeclared (first use in this function)
gd.c: In function `zif_imagecreatefromwbmp':
gd.c:1304: `gdImageCreateFromWBMP' undeclared (first use in this function)
gd.c:1304: `gdImageCreateFromWBMPCtx' undeclared (first use in this function)
gd.c: In function `zif_imagejpeg':
gd.c:1496: `gdImageJpegCtx' undeclared (first use in this function)
gd.c: In function `zif_imagewbmp':
gd.c:1513: `gdImageWBMPCtx' undeclared (first use in this function)
gd.c: In function `_php_image_bw_convert':
gd.c:3443: `gdImageWBMPCtx' used prior to declaration
gd.c: In function `_php_image_convert':
gd.c:3531: `gdImageCreateFromJpeg' used prior to declaration
gd.c:3531: warning: assignment makes pointer from integer without a cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/webserver/correo/php-4.2.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/webserver/correo/php-4.2.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/webserver/correo/php-4.2.2/ext'
make: *** [all-recursive] Error 1
Any help with this would be appreciated..
Thanks,
I edited a little configure inside php-4.2.2 source directory with the options that I'm needing because of they are necesary install a web mail with the IMP and Horde software:
paty% more configure-paty-1
./configure --with-mysql=/usr/local/mysql --with-oracle=/db/oracle --with-apache
=/webserver/correo/apache_1.3.26 --with-imap-ssl=/webserver/correo/imap --with-z
lib --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-tiff-dir
=/usr/local/lib --with-xml --with-ssl --with-gd --with-pdflib=/usr/local --with-
mm --with-mcal --with-ldap --with-gettext --with-db3=/usr/local/BerkeleyDB.3.2 -
-with-mcrypt --enable-sigchild --with-freetype --enable-track-vars --enable-sysv
sem --enable-sysvshm --enable-url-includes --enable-memory-limit=yes --enable-de
bug=no --enable-libgcc
% ./configure-paty-1
When I run the make script, I get an error:
% /usr/local/bin/make
.
.
gd.c: In function `zif_imagecreatefromstring':
gd.c:1075: `gdImageCreateFromJpegCtx' undeclared (first use in this function)
gd.c:1075: (Each undeclared identifier is reported only once
gd.c:1075: for each function it appears in.)
gd.c:1102: `gdImageCreateFromWBMPCtx' undeclared (first use in this function)
gd.c: In function `zif_imagecreatefromjpeg':
gd.c:1248: `gdImageCreateFromJpeg' undeclared (first use in this function)
gd.c:1248: `gdImageCreateFromJpegCtx' undeclared (first use in this function)
gd.c: In function `zif_imagecreatefromwbmp':
gd.c:1304: `gdImageCreateFromWBMP' undeclared (first use in this function)
gd.c:1304: `gdImageCreateFromWBMPCtx' undeclared (first use in this function)
gd.c: In function `zif_imagejpeg':
gd.c:1496: `gdImageJpegCtx' undeclared (first use in this function)
gd.c: In function `zif_imagewbmp':
gd.c:1513: `gdImageWBMPCtx' undeclared (first use in this function)
gd.c: In function `_php_image_bw_convert':
gd.c:3443: `gdImageWBMPCtx' used prior to declaration
gd.c: In function `_php_image_convert':
gd.c:3531: `gdImageCreateFromJpeg' used prior to declaration
gd.c:3531: warning: assignment makes pointer from integer without a cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/webserver/correo/php-4.2.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/webserver/correo/php-4.2.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/webserver/correo/php-4.2.2/ext'
make: *** [all-recursive] Error 1
Any help with this would be appreciated..
Thanks,