[mapserver-users] Compiling freetype

Stepan Kafka stepan.kafka@centrum.cz
Fri, 8 Mar 2002 08:00:20 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C1C677.4AFA73A0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit

Hi Steve,

I have good experience with this configuration:

1. Compiling gd 1.8.4. with freetype 1.2 (I had to edit makefile to ensure
the freetype 1.2) without make install.
2. Configuring and compiling mapserver with these options:

 ./configure --with-gd=static,/installs/gd-1.8.4 --with-ttf ...

Stepan Kafka
  -----Puvodní zpráva-----
  Od: owner-mapserver-users@lists.gis.umn.edu
[mailto:owner-mapserver-users@lists.gis.umn.edu]za uživatele
klehr1@tampabay.rr.com
  Odesláno: 7. brezna 2002 18:18
  Komu: Users
  Predmet: [mapserver-users] Compiling freetype


  Good morning:

  I'm getting the error:   getSymbol(): Symbol definition error.
(FONT):(118)

  My goal is to get rotating text to work and have downloaded the freetype
1.2 library and the gd-1.8.4 library.

  It seems that this version of freetype does not make a libfreetype.a file
which is needed to make the symbols work in when compiling mapserver with gd
option.

  I've searched the archives and help sites, but I'm missing something
here---

  1.  Download freetype 1.2 and compile (check)
  2.  Download gd-1.8.4 and compile with -libttf (check)
  3.  Download mapserver_3.5 and configure
  ./configure --with-gd=/installs/gd-1.8.4   (since gd is compiled with
freetype--though there's no libfreetype.a generated?? I don't need
to --with-freetype)

  I guess my question is do what version of freetype do I need to make
libfreetype.a and do I really need that?

  Thanks
  Steve Lehr
  WebDatabaseSolutions.com



------=_NextPart_000_0009_01C1C677.4AFA73A0
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=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Steve,</FONT></SPAN></DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial color=3D#0000ff =
size=3D2>I have=20
good experience with this configuration:</FONT></SPAN></DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial><FONT =
color=3D#0000ff><FONT=20
size=3D2>1. Compiling gd 1.8.4. with freetype 1.2 (I&nbsp;had to edit =
makefile to=20
ensure the freetype 1.2)&nbsp;<SPAN class=3D905595306-08032002>without =
make=20
install.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D436354606-08032002></SPAN><SPAN =
class=3D436354606-08032002><FONT=20
face=3DArial color=3D#0000ff size=3D2>2. Configuring and compiling =
mapserver with=20
these options:</FONT></SPAN></DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial><FONT=20
size=3D2>&nbsp;./configure --with-gd=3Dstatic,/installs/gd-1.8.4 =
--with-ttf<SPAN=20
class=3D905595306-08032002> ...</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D436354606-08032002><FONT face=3DArial size=3D2>Stepan =

Kafka</FONT></SPAN></DIV></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
  size=3D2>-----P&#367;vodn=ED zpr=E1va-----<BR><B>Od:</B>=20
  owner-mapserver-users@lists.gis.umn.edu=20
  [mailto:owner-mapserver-users@lists.gis.umn.edu]<B>za u=9Eivatele</B>=20
  klehr1@tampabay.rr.com<BR><B>Odesl=E1no:</B> 7. b&#345;ezna 2002=20
  18:18<BR><B>Komu:</B> Users<BR><B>P&#345;edm&#283;t:</B> =
[mapserver-users] Compiling=20
  freetype<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Good morning:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>I'm getting the error:&nbsp;&nbsp; =
</FONT><FONT=20
  face=3DArial size=3D2>getSymbol(): Symbol definition error. =
(FONT):(118)=20
  </FONT></DIV></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>My goal is to get rotating text to =
work and have=20
  downloaded the freetype 1.2 library and the gd-1.8.4 =
library.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>It seems that this version of =
freetype does not=20
  make a libfreetype.a file which is needed to make the symbols work in =
when=20
  compiling mapserver with gd option.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I've searched the archives and help =
sites, but=20
  I'm missing something here---</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>1.&nbsp; Download freetype 1.2 and =
compile=20
  (check)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>2.&nbsp; Download gd-1.8.4 and =
compile=20
  with&nbsp;-libttf (check)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>3.&nbsp; Download mapserver_3.5 and=20
  configure&nbsp;&nbsp; ./configure =
--with-gd=3D/installs/gd-1.8.4&nbsp;&nbsp;=20
  (since gd is compiled with freetype--though there's no libfreetype.a=20
  generated?? I don't need to --with-freetype)</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I guess my question is do what =
version of=20
  freetype do I need to make libfreetype.a and do I really need=20
  that?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Steve Lehr</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>WebDatabaseSolutions.com</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0009_01C1C677.4AFA73A0--