[Mapserver-dev] Compiling Python Mapscript

Norman Vine nhv at cape.com
Mon Apr 28 11:47:34 EDT 2003


Howard C Butler writes:
>
> I'm having trouble compiling mapscript with swig 1.3.19 and gcc
> 3.2.  I am
> using Norman's distutils script found on the wiki page.  Many deprecated
> errors are being returned by swig, and gcc reports that it exits with
> status 1, but there isn't much useful information in the trace (like what
> is causing it).  I suspect that I'm probably missing a header
> file, swig is
> generating bad/unintended code, or my gcc is screwed up.
>
> Can anyone refer me to a gcc/swig combination that they were able to
> successfully get this going with?

I have an updated script on my website that works for me with
Cygwin gcc 3.2 and SWIG 1.3.19

http://www.vso.cape.com/~nhv/files/python/mapscript/3.7/setup.py

HTH

Norman





More information about the mapserver-dev mailing list