MapTools.org

[maplab-users] Preview Error - libgd and FreeType

Brent Weatherall brentw@resorttowork.com
Tue, 03 Feb 2004 11:56:26 -0500
This is a multi-part message in MIME format.

--Boundary_(ID_HcoookyXquEmBG7uhxhd2Q)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

I get the following error when I try to preview the demo map in MapLab
=20
Warning: [MapServer Error]: msGetLabelSize(): libgd was not built with
FreeType font support in /gisapps/apps/maplab/htdocs/mapedit/preview.php =
on
line 469

Fatal error: Call to a member function on a non-object in
/gisapps/apps/maplab/htdocs/mapedit/preview.php on line 474

System is FreeBSD 5.1-Release with Apache 2
=20
I am certain GD has been compiled with FreeType support, is there any =
way i
can double check this?
(compiled via the freebsd ports collection so it automatically checks =
for
png and freetype libs before proceding)
=20
Also here is my php config (php-4.3.4)
./configure --with-regex=3Dsystem --with-gd --with-ttf =
--enable-gd-native-ttf
--with-zlib-dir=3D/usr/local --enable-dbase
=20
and my mapserver config (4.0)
./configure --with-gd=3D/usr/local --with-php=3D/root/php-4.3.4 =
--with-wms
--with-wms-client --enable-runpath --with-httpd=3D/usr/local/sbin/httpd
--with-proj=3D/usr/local/ =
--with-curl-config=3D/usr/local/bin/curl-config
--with-tiff=3D/usr/local
=20
Does anyone have any suggestions on why I may be getting this error?  =
Please
let me know if any more infomation is needed.
=20
Brent Weatherall
La P=EAche GIS Society

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003
=20

--Boundary_(ID_HcoookyXquEmBG7uhxhd2Q)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>I get =
the following=20
error when I try to preview the demo map in MapLab</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D296193416-03022004><STRONG>Warning</STRONG>: =
[MapServer Error]:=20
msGetLabelSize(): libgd was not built with FreeType font support in=20
<B>/gisapps/apps/maplab/htdocs/mapedit/preview.php</B> on line=20
<B>469</B><BR><BR><B>Fatal error</B>: Call to a member function on a =
non-object=20
in <B>/gisapps/apps/maplab/htdocs/mapedit/preview.php</B> on line=20
<B>474</B><BR></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>System =
is FreeBSD=20
5.1-Release with Apache 2</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>I am =
certain GD has=20
been compiled with FreeType support, is there any way i can double check =

this?</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial =
size=3D2>(compiled via the=20
freebsd ports collection so it automatically checks for png and freetype =
libs=20
before proceding)</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>Also =
here is&nbsp;my=20
php config (php-4.3.4)</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial =
size=3D2>./configure=20
--with-regex=3Dsystem --with-gd --with-ttf --enable-gd-native-ttf=20
--with-zlib-dir=3D/usr/local --enable-dbase</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>and my =
mapserver=20
config (4.0)</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial =
size=3D2>./configure=20
--with-gd=3D/usr/local --with-php=3D/root/php-4.3.4 --with-wms =
--with-wms-client=20
--enable-runpath --with-httpd=3D/usr/local/sbin/httpd =
--with-proj=3D/usr/local/=20
--with-curl-config=3D/usr/local/bin/curl-config=20
--with-tiff=3D/usr/local</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>Does =
anyone have any=20
suggestions on why I may be getting this error?&nbsp; Please let me know =
if any=20
more infomation is needed.</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>Brent=20
Weatherall</FONT></SPAN></DIV>
<DIV><SPAN class=3D296193416-03022004><FONT face=3DArial size=3D2>La =
P=EAche GIS=20
Society</FONT></DIV></SPAN></BODY></HTML>
<BR>

<P><FONT SIZE=3D2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003<BR>
</FONT> </P>

--Boundary_(ID_HcoookyXquEmBG7uhxhd2Q)--


This archive was generated by Pipermail.