mapscript with python

Norman Vine nhv at cape.com
Tue Jun 27 12:53:38 PDT 2000


Michael Anderson writes:
>
>I have been waiting to post questions until I sent a suitable 
>introduction, 
>but I have a problem that I can't figure out so the 
>introduction will have 
>to wait. We tried to compile the python wrapper and got the 
>errors in the attached file. 

Hmm...

Looking at your errors it appears as if you are not linking with
libpython.a

I have attached the makefile I used to compile 3.3.009
with Python 1.52 and Cygwin.  You can probably modify
this to work for you.

I am having problems getting later versions to compile
of course I have upgraded my compiler and Python and SWIG
so I am not blaming MapServer :-)

When I finally do get it going I will write a python script that should
automate building the python extension.

If your 'C' programers are comfortable in Python they could take 
a look at the python Distutils SIG 
http://www.python.org/sigs/distutils-sig/download.html
The latest snapshots are getting much more powerful :-)

Norman



-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 1021 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20000627/74e100f1/attachment.obj>


More information about the MapServer-users mailing list