[Mapserver-users] (no subject)

Norman Vine Norman Vine" <nhv@cape.com
Fri, 20 Dec 2002 09:38:33 -0500


Sven Jacobi writes:
> 
> 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 an alternative setup.py module that might help
http://www.vso.cape.com/~nhv/files/python/mapscript/3.7/setup.py

This one actually parses the Makefile used to build libmap.a to
determine the dependencies ect ...

Norman
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users