[mapserver-users] Perl/Mapscript Summary

Tim Sutton sutton_t at giug.net
Fri Oct 5 17:50:29 EDT 2001


Do I need to do something similar for compiling php_mapscript from cvs?

Thanks

Tim

On Fri, 5 Oct 2001, Paul Ramsey wrote:

>
> If you are having trouble with Perl/Mapscript (as I was) here is the
> summary of things you will need to know:
>
> - To build it from the CVS tree, you need to first copy the
>   mapscript.i file into the perl directory. Then use the 'swig'
>   program thusly: 'swig -shadow -perl5 mapscript.i'. Ignore the
>   warnings. This will generate the mapscript_wrap.c file. Then do
>   the usual perl compilation: perl Makfile.PL ; make ; make install
>
> - Note that you *cannot* use the 1.3.x recent development versions
>   of SWIG to do this, or you will get funny results later on.
>   Use the "stable" version, 'SWIG Version 1.1 (Build 883)'
>
> Follow the directions above and all will be sweetness and light.
>
>




More information about the mapserver-users mailing list