Bug #17993 Updated: bundled GD compile failure
| From: | cox at idecnet dot com | Date: | Wed, 26 Jun 2002 20:17:38 +0000 |
| Subject: | Bug #17993 Updated: bundled GD compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12166@lists.php.net to get a copy of this message | ||
ID: 17993
Updated by: cox@idecnet.com
Reported By: cox@idecnet.com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.0CVS-2002-06-26
New Comment:
No errors with:
./configure --prefix=/usr \
--with-gd=php \
--without-mysql \
--with-zlib \
--disable-cli
The error I reported:
./configure --prefix=/usr \
--with-gd \
--without-mysql \
--with-zlib \
--disable-cli
Same error:
./configure --prefix=/usr \
--with-jpeg-dir=/usr \
--with-gd \
--without-mysql \
--with-zlib \
--disable-cli
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# rpm -q gd gd-devel libjpeg-devel
gd-1.8.1-2
gd-devel-1.8.1-2
libjpeg-devel-6b-7
Don't hesitate to request more info.
Previous Comments:
------------------------------------------------------------------------
[2002-06-26 12:43:00] rasmus@php.net
Oh, and by the way, you are not getting the bundled GD with that
configure line. You need to use --with-gd=php currently to get the
bundled one.
------------------------------------------------------------------------
[2002-06-26 12:29:45] rasmus@php.net
Make sure you have installed libjpg and add --with-jpeg-dir=/usr to
your configure line. Let us know if that fixes it.
------------------------------------------------------------------------
[2002-06-26 08:34:30] cox@idecnet.com
After a fresh checkout from CVS HEAD (2002-06-26):
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c: In function
`zif_imagecreatefromstring':
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c:1046:
`gdImageCreateFromJpegCtx' undeclared (first use in this function)
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c:1046: (Each undeclared
identifier
is reported only once
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c:1046: for each function
it appears in.)
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c: In function
`zif_imagecreatefromjpeg':
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c:1219:
`gdImageCreateFromJpeg' undeclared (first use in this function)
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c:1219:
`gdImageCreateFromJpegCtx' undeclared (first use in this function)
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c: In function
`zif_imagejpeg':
/root/cdrom/download/php_cvs/php4/ext/gd/gd.c:1441: `gdImageJpegCtx'
undeclared
(first use in this function)
make: *** [ext/gd/gd.lo] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/php/cvs/ \
--with-gd \
--enable-ftp \
--with-pgsql=/usr/local/pgsql \
--with-mysql=/usr \
--enable-bcmath \
--with-gettext \
--with-xml \
--with-dom \
--enable-trans-sid \
--with-pear \
--with-zlib \
--enable-sysvshm \
--enable-sysvsem \
--disable-cli
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17993&edit=1