php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #598 configure GD/TTF
Submitted: 1998-07-30 10:06 UTC Modified: 1998-08-08 18:48 UTC
From: oa at spray dot fi Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Latest CVS OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oa at spray dot fi
New email:
PHP Version: OS:

 

 [1998-07-30 10:06 UTC] oa at spray dot fi
configure --with-gd=path (as opposed to just --with-gd) will not check for FreeType on the system and gdtff functions will not be included.

Also, while installing on an Alpha OSF4 machine, after compiling gd 1.3 (archive straight from http://www.boutell.com/gd/, 'make; mkdir lib; ln libgd.a lib; mkdir include; ln *.h include'), configuring PHP3 with --with-gd=`pwd`/../gd1.3 failed to detect gdImageString16 in the library (the function _was_ there, I verified that), thus thinking it was configuring for use with GD 1.2 instead. I did not find a fix for this other than changing config.h manually afterwards, and do not have continued access to the machine to test further.

fix for the first issue:

*** /usr/local/src/php3-cvs/php3/configure.in~	Thu Jul 30 16:55:47 1998
--- /usr/local/src/php3-cvs/php3/configure.in	Thu Jul 30 17:02:05 1998
***************
*** 496,501 ****
--- 496,502 ----
          GD_LIBS="-L$withval/lib -lgd"
          AC_DEFINE(HAVE_LIBGD)
          AC_CHECK_LIB(gd, gdImageString16, [ AC_DEFINE(HAVE_LIBGD13) ])
+         ac_cv_lib_gd_gdImageLine=yes
          AC_MSG_RESULT(yes)
        else
          AC_MSG_RESULT(no)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-08 18:48 UTC] rasmus
First issue resolved, unable to reproduce second.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 08:01:29 2024 UTC