[mapserver-users] Python Mapscript MS 3.6.1
Michael Schulz
mschulz at webgis.de
Thu Jul 11 01:22:46 PDT 2002
Dear List,
i am also stuck in compiling python mapscript. I use swig 1.1 and mapserver 3.6.0
(problem?)
I changed the mapscript.i file according to the mail from Sean, but to no avail. When
compiling I still get following errors:
...
mapscript_wrap.c: In function `_wrap_imageObj_free':
mapscript_wrap.c:4926: parse error before `*'
mapscript_wrap.c:4927: `ms_error' undeclared (first use in this function)
...
Hmm, Vinko, could you send your mapscript.i file? Or anybody got a clue why it isn't
working?
Cheers, Michael
Vinko Vrsalovic schrieb:
> On Wed, Jul 10, 2002 at 02:50:51PM -0600, Sean Gillies wrote:
> > Vinko Vrsalovic wrote:
> > > Hello,
> > >
> > > I've been trying to compile the mapscript python module, but I
> > > keep finding this errors:
> > >
> > [snip]
> >
> > Vinko,
> >
> > One of your problems (regarding ms_error) occurs because the
> > mapscript.i included with mapserver 3.6.1 is a bit out-of-date.
> >
> > Edit the Python specific section to match the following:
> >
>
> [snap]
>
> > The key thing is to get an errorObj returned from msGetErrorObj().
>
> Thanks a lot! The warnings from swig didn't disappear (as expected), but were
> irrelevant to the working of the module (as expected too), now I'm happily coding in
> PyMapScript :-)
>
> BTW, Vine's script is very useful in installing the module.
>
> (Why isn't mapscript.i fixed in the official distribution? Should i send
> the fixed file to Steve?)
> --
> Vinko Vrsalovic <vinko[|- at -|]cprsig.cl>
> http://www.cprsig.cl
--
-----------------------------------------------------------
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