Subject: GD and FreeType
To: None <netbsd-help@netbsd.org>
From: Tim Thibault <thibault@sasktel.net>
List: netbsd-help
Date: 08/02/2003 19:25:38
This is a multi-part message in MIME format.
--Boundary_(ID_TtmwCMXSQ+MN1C/Tl2b8Iw)
Content-type: multipart/alternative;
boundary="Boundary_(ID_BBJDs/huSL8VNndu+fpm7w)"
--Boundary_(ID_BBJDs/huSL8VNndu+fpm7w)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
I have installed GD and FreeType as well as PHP-GD. After installing and running my phpinfo script against the install, FreeType is not being reported as being enabled in GD. I have re-installed GD, FreeType and php stuff multiple times in different order and same results.
I am running or have the following installed (info taken from pkg_info):
NetBSD 1.5.2 (GENERIC)
gd-2.0.15
php-gd-4.2.3nb1
freetype2-2.1.4
freetype-1.3.1nb1
freetype-lib-1.3.1nb1
freetype-utils-1.3.1
ap-php-4.2.3
php-4.2.3nb2
and quite a number of different packages... will post if necessary.
My phpinfo.php file reports only the following in th GD section:
gd
GD Support enabled
GD Version 2.0 or higher
JPG Support enabled
PNG Support enabled
WBMP Support enabled
As you can see, there is no reference to FreeType.
I also tried issuing a "pkg_delete freetype2-2.1.4" and got the following response.
pkg_delete: package `freetype2-2.1.4' is required by other packages:
php-gd-4.2.3nb1
gd-2.0.15
The app I am running produces the following error in the log file:
PHP Fatal error: Call to undefined function: imagettfbbox()
I have reinstalled all my applications/packages that are related to this problem and still have the issue. As well, one app I am running reports the following:
FreeType is apparently not installed It looks like the FreeType library is not compiled into GDLib. This is required when Typo3 uses GDLib and you'll most likely get errors like 'ImageTTFBBox is not a function' or 'ImageTTFText is not a function'.
This is kind of an urgent situation so any help would be greatly appreciated....
--Boundary_(ID_BBJDs/huSL8VNndu+fpm7w)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4926.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have installed GD and FreeType as well as PHP-GD.
After installing and running my phpinfo script against the install, FreeType is
not being reported as being enabled in GD. I have re-installed GD, FreeType and
php stuff multiple times in different order and same results.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am running or have the following installed (info
taken from pkg_info):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>NetBSD 1.5.2 (GENERIC)</FONT></DIV>
<DIV><FONT face=Arial size=2>gd-2.0.15</FONT></DIV>
<DIV><FONT face=Arial size=2>php-gd-4.2.3nb1</FONT></DIV>
<DIV><FONT face=Arial size=2>freetype2-2.1.4</FONT></DIV>
<DIV><FONT face=Arial size=2>freetype-1.3.1nb1</FONT></DIV>
<DIV><FONT face=Arial size=2>freetype-lib-1.3.1nb1</FONT></DIV>
<DIV><FONT face=Arial size=2>freetype-utils-1.3.1</FONT></DIV>
<DIV><FONT face=Arial size=2>ap-php-4.2.3</FONT></DIV>
<DIV><FONT face=Arial size=2>php-4.2.3nb2</FONT></DIV>
<DIV><FONT face=Arial size=2>and quite a number of different packages... will
post if necessary.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My phpinfo.php file reports only the following in
th GD section:</FONT></DIV>
<DIV><!--StartFragment -->
<H2 align=center><FONT face=verdana,sans-serif color=black size=1><A
name=module_gd>gd</A></FONT></H2><FONT face=verdana,sans-serif color=black
size=1><BR><BR>
<TABLE cellSpacing=1 cellPadding=3 width=600 align=center bgColor=#000000
border=0>
<TBODY>
<TR vAlign=baseline bgColor=#cccccc>
<TD bgColor=#ccccff><B>GD Support</B></TD>
<TD align=left>enabled</TD></TR>
<TR vAlign=baseline bgColor=#cccccc>
<TD bgColor=#ccccff><B>GD Version</B></TD>
<TD align=left>2.0 or higher</TD></TR>
<TR vAlign=baseline bgColor=#cccccc>
<TD bgColor=#ccccff><B>JPG Support</B></TD>
<TD align=left>enabled</TD></TR>
<TR vAlign=baseline bgColor=#cccccc>
<TD bgColor=#ccccff><B>PNG Support</B></TD>
<TD align=left>enabled</TD></TR>
<TR vAlign=baseline bgColor=#cccccc>
<TD bgColor=#ccccff><B>WBMP Support</B></TD>
<TD align=left>enabled</TD></TR></TBODY></TABLE></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As you can see, there is no reference to
FreeType.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I also tried issuing a "pkg_delete freetype2-2.1.4"
and got the following response.<BR>pkg_delete: package `freetype2-2.1.4' is
required by other packages:<BR>
php-gd-4.2.3nb1<BR>
gd-2.0.15</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The app I am running produces the following error
in the log file:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PHP Fatal error: Call to undefined
function: imagettfbbox()</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have reinstalled all my applications/packages
that are related to this problem and still have the issue. As well, one app I am
running reports the following:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><!--StartFragment --> <TR><TD bgcolor="#d9d5c9" nowrap="nowrap"><IMG
height=16 src="http://www.wesupportcanada.ca/typo3/t3lib/gfx/icon_warning.gif"
width=18 align=top><STRONG><FONT face=verdana,sans-serif color=black
size=1>FreeType is apparently not installed</FONT></STRONG></TD></TR>
<TR><TD><FONT face=verdana,sans-serif color=black size=1>It looks like the
FreeType library is not compiled into GDLib. This is required when Typo3 uses
GDLib and you'll most likely get errors like 'ImageTTFBBox is not a function' or
'ImageTTFText is not a function'.</FONT><BR></DIV>
<DIV></TD></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>This is kind of an urgent situation so any
help would be greatly appreciated.... </TR></FONT></FONT></DIV></BODY></HTML>
--Boundary_(ID_BBJDs/huSL8VNndu+fpm7w)--
--Boundary_(ID_TtmwCMXSQ+MN1C/Tl2b8Iw)
Content-type: image/gif; name=icon_warning.gif
Content-transfer-encoding: base64
Content-disposition: attachment; filename=icon_warning.gif
Content-Location: http://www.wesupportcanada.ca/typo3/t3lib/gfx/icon_warning.gif
R0lGODlhEgAQAKIAAAAAAP//////AICAgP///wAAAAAAAAAAACH5BAEAAAQALAAAAAASABAAAAM8
SLo6/JAA4CIEQVDLsMgb501gdWXB9Gnm4oEv2w1rCtQDwOSoFocLXm0F3I1GrYewxGkgm8FJsjmY
QpsJADs=
--Boundary_(ID_TtmwCMXSQ+MN1C/Tl2b8Iw)--