php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42033 configure failed (GD)
Submitted: 2007-07-18 15:34 UTC Modified: 2007-07-18 16:16 UTC
From: sh_tanaka at mail dot goo dot ne dot jp Assigned: pajoye (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 6CVS-2007-07-18 (snap) OS: freebsd 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sh_tanaka at mail dot goo dot ne dot jp
New email:
PHP Version: OS:

 

 [2007-07-18 15:34 UTC] 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.
$

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-18 16:16 UTC] pajoye@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Nov 27 17:01:28 2024 UTC