ID: 42033
Updated by: [EMAIL PROTECTED]
Reported By: sh_tanaka at mail dot goo dot ne dot jp
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: freebsd 6.2
PHP Version: 6CVS-2007-07-18 (snap)
-Assigned To:
+Assigned To: pajoye
New Comment:
The development packages are required to compile PHP with GD.
That being said, I strongly suggest you to use:
"--with-gd" without any option so the bundled version will be used.
I close this bug (not a bug > bogus) as I think you did not install the
devel pkgs. Feel free to reopen it if it is not the case.
Previous Comments:
------------------------------------------------------------------------
[2007-07-18 15:34:55] sh_tanaka at mail dot goo dot ne dot jp
Description:
------------
Configure failed when I use not bundled GD
'--with-gd=/usr/local' ==>
fail. message is
configure: error: gdlib-config not found.
'--with-gd' ==>
succeed.
gd package version is
gd-2.0.34_1,1 A graphics library for fast creation of images
Reproduce code:
---------------
$'./configure' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-gd=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-png-dir=/usr/local' \
'--enable-gd-native-ttf' \
'--enable-mbstring' \
'--enable-mbstr-enc-trans' \
'--enable-mbregex' \
'--enable-zend-multibyte' \
'--with-zlib' \
'--with-imap' \
'--with-imap-ssl' \
'--with-freetype-dir=/usr/local' \
'--enable-gd-jis-conv'
Actual result:
--------------
.
. ommited
.
checking for FreeType 2... /usr/local
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD...
yes
configure: error: gdlib-config not found.
$
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42033&edit=1