[Mapserver-users] Win32 + Mapscript + ActiveState Perl + precompiled??
Sean Gillies
sgillies at frii.com
Mon Jun 7 06:57:11 PDT 2004
On Jun 7, 2004, at 12:56 AM, Ryan Dietrich wrote:
> I downloaded the source and pre-compiled binaries for mapserver (for
> win32). I, like many other people am looking for the simple
> solution to getting mapscript compiled (perl specifically).
>
> Is there an easy solution for compiling the perl module with the win32
> pre-compiled binaries?
>
> Better yet, does anyone just have a ppm for this (didnt see it on
> activestates site).
>
> I also found it a little odd that this wasnt on cpan, even odder,
> there is no author mentioned in any of the perl code.
>
> Cheers,
>
> -Ryan Dietrich
>
Hi Ryan,
The pre-compiled binaries don't include any libraries that you can link
against, so no, there is no easy way to build a perl module with them.
There are some issues with building a Perl mapscript module on win32 and
Perl users have been avoiding the issues by using the cygwin
environment.
I don't know of anyone who is using a native win32 Perl mapscript, but
also don't know of anything that *absolutely* prevents it. I think
there
has just been a lack of motive.
The easy way: without leaving MS Windows for Linux, or getting into
cygwin,
you will have to consider another language: Python or PHP 4. There are
win32 mapscript binaries that run out of the box for each of these. If
you are a PHP user, you'll probably want to stick with that one. If you
want to use mapscript both inside and outside of a web environment, you
would be better choosing Python.
PHP mapscript can be downloaded from maptools.org. Follow the
instructions
to get the proper version of PHP and get it all properly configured.
Python can be downloaded from http://www.python.org/download/. Install
it
(no need to reboot), then download and run my mapscript installer
http://users.frii.com/sgillies/projects/pymapscriptwin32.zip. No reboot
needed there either. You can be programming in minutes.
cheers,
Sean
--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies
More information about the MapServer-users
mailing list