MapTools.org

[maplab-users] Preview Error - libgd and FreeType

Brent Weatherall brentw@resorttowork.com
Tue, 03 Feb 2004 16:12:44 -0500
Hi Zak, thanks for the suggestion. I just included the path /usr/local for
any of the libs I wanted withing php and it cured the problem after I
recomplied

Much appreciated!

Brent Weatherall
La Pêche GIS Society
----- Original Message ----- 
From: "Zak James" <zak-ms@hoppsan.org>
To: "Brent Weatherall" <brentw@resorttowork.com>
Cc: <maplab-users@lists.maptools.org>
Sent: Tuesday, February 03, 2004 1:27 PM
Subject: Re: [maplab-users] Preview Error - libgd and FreeType


Brent,

I think you might get more specific help on the mapserver-users list as
this isn't really a maplab issue. The basic problem is that when you
compile php, it's not using the version of gd that you built, but the
internal php version in the ext directory. Reconfigure php
--with-gd=<path to your gd> and then recompile and reinstall mapscript.

zak

--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca

On Feb 3, 2004, at 11:56 AM, Brent Weatherall wrote:

> I get the following error when I try to preview the demo map in MapLab
>
> 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
>
> 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)
>
> Also here is my php config (php-4.3.4)
> ./configure --with-regex=system --with-gd --with-ttf
> --enable-gd-native-ttf
> --with-zlib-dir=/usr/local --enable-dbase
>
> and my mapserver config (4.0)
> ./configure --with-gd=/usr/local --with-php=/root/php-4.3.4 --with-wms
> --with-wms-client --enable-runpath --with-httpd=/usr/local/sbin/httpd
> --with-proj=/usr/local/ --with-curl-config=/usr/local/bin/curl-config
> --with-tiff=/usr/local
>
> Does anyone have any suggestions on why I may be getting this error?
> Please
> let me know if any more infomation is needed.
>
> Brent Weatherall
> La Pêche 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
>




This archive was generated by Pipermail.