[Mapserver-users] mapscript compiling

Michael Schulz mschulz at webgis.de
Fri Dec 20 08:22:11 PST 2002


Hi Sven,

i think you only need one of those: -lfreetype (freetype 2.0.x) or -lttf
(freetype 1.3.x).
I am not sure where this comes together, but with mapserver configure options
you can determine which freetype lib to use. This, i guess, should be the same
that you use for compiling the gd-lib.
It could also be that you only have to disable the 'ttf' entry in the
libraries-list of the setup.py script.

HTH, Michael



Sven Jacobi schrieb:

> Hi,
>
> I try to reconfigure mapscript for python and I do it the
> way described in the Wiki.
> I don't know how to deal with the following error:
>
> gcc -shared build/temp.solaris-2.8-sun4u-2.1/mapscript_wrap.o ../../libmap.a
> /home/jacobi/MAP/library/ogrsf_frmts.a /home/jacobi/MAP/library/gdal.a
> /home/jacobi/MAP/library/ogr.a /home/jacobi/MAP/library/gdal.a
> /home/jacobi/MAP/library/cpl.a -L../.. -L../../gd-1.8.4 -L/lib
> -L/usr/local/lib -lgd -lfreetype -lttf -lpng.dll -lproj -lpq -lz -o
> build/lib.solaris-2.8-sun4u-2.1/MapScriptc.so
> /opt/gnu/sparc-sun-solaris2.8/bin/ld: cannot find -lttf
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
>
> I have never heard of "LTTF" and have no idea how to install this.
> After checking the archives, I've found that it has something to
> do with freetype (Am I correct?).
> I have freetype-2.0.9 installed, but I can't find "lttf" there...
>
> Any ideas or help ???
>
> Cheers,
>
> Sven
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz at webgis.de                             www.webgis.de





More information about the MapServer-users mailing list