ID:               28675
 Updated by:       [EMAIL PROTECTED]
 Reported By:      till at klimpong dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: FreeBSD 4.6
 PHP Version:      4.3.7
 New Comment:

Yes, and use a fresh copy of the PHP sources (as our configure stuff
already found out about those other gd.h files).


Previous Comments:
------------------------------------------------------------------------

[2004-06-07 18:19:00] till at klimpong dot com

/usr/local/include/gd/gd.h.old
/usr/local/include/libwmf/gd/gd.h
/usr/local/include/libwmf/gd.h
/usr/local/include/gd.h.old
/usr/local/share/doc/libwmf/gd.html

Did that, but it still failed. Do you think I need to remove it from
within libwmf directory as well?

------------------------------------------------------------------------

[2004-06-07 16:39:35] [EMAIL PROTECTED]

Can you temporary remove that file and then try to 
configure/compile PHP. 

------------------------------------------------------------------------

[2004-06-07 16:38:00] till at klimpong dot com

Yes I do.

------------------------------------------------------------------------

[2004-06-07 16:35:07] [EMAIL PROTECTED]

Do you have gd.h anywhere on your system beside the one 
found in the PHP directory? 

------------------------------------------------------------------------

[2004-06-07 16:25:48] till at klimpong dot com

Description:
------------
I'm using 4.3.7 stable.

Configure string:
./configure \
--with-apxs=/usr/local/sbin/apxs \
--with-config-file-path=/usr/local/etc \
--enable-versioning \
--with-regex=system \
--with-pgsql \
--with-gd \
--enable-gd-native-ttf \
--with-freetype-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-zlib \
--with-bz2=/usr \
--with-mcrypt=/usr/local \
--with-mhash=/usr/local \
--with-pdflib=/usr/local \
--with-zlib-dir=/usr \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-tiff-dir=/usr/local \
--with-mysql=/usr/local/mysql4 \
--with-expat-dir=/usr/local \
--with-xmlrpc \
--enable-xslt \
--with-xslt-sablot \
--enable-wddx \
--with-dom=/usr/local \
--enable-ftp \
--with-gettext=/usr/local \
--enable-mbregex \
--enable-bcmath \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-trans-sid \
--with-iconv=/usr/local \
--enable-exif \
--enable-track-vars \
--with-imap \
--with-mcal \
--with-pear \
--with-openssl=/usr/local \
--disable-ipv6

Make fails with:
ext/gd/gd.lo: In function `zif_imagegif':
/usr/src/php-4.3.7/ext/gd/gd.c(.text+0x3d24): undefined reference to
`gdImageGifCtx'
ext/gd/gd.lo: In function `zif_imagecolorat':
/usr/src/php-4.3.7/ext/gd/gd.c:1874: undefined reference to
`gdImageBoundsSafe'
/usr/src/php-4.3.7/ext/gd/gd.c:1882: undefined reference to
`gdImageBoundsSafe'
ext/pdf/pdf.lo: In function `zif_pdf_open_memory_image':
/usr/src/php-4.3.7/ext/pdf/pdf.c(.text+0x6067): undefined reference to
`gdImageBoundsSafe'
/usr/src/php-4.3.7/ext/pdf/pdf.c(.text+0x60aa): undefined reference to
`gdImageBoundsSafe'
*** Error code 1


I searched multipe mailing lists, no answer was provided.

I also tried the latest snapshot:
http://snaps.php.net/php4-STABLE-200406071230.tar.gz

Same configure string, but the make and make install worked perfectly.

Now my problem is that this _always_ works in the snapshots, but it's
"messed up" in the stable release, which is why I thought I'd report it
anyway.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28675&edit=1

Reply via email to