[mapserver-users] Build Perl-Mapscript om Windows
Tamas Szekeres
szekerest at gmail.com
Mon Feb 18 13:24:01 PST 2013
Hi,
Just gave it a try and I could successfully compile Perl this way:
1. Install ActivePerl-5.16.2.1602-MSWin32-x86-296513.msi<http://www.activestate.com/activeperl/downloads/thank-you?dl=http://downloads.activestate.com/ActivePerl/releases/5.16.2.1602/ActivePerl-5.16.2.1602-MSWin32-x86-296513.msi>
into
a given folder (ie: C:\Perl)
2. Download the SDK package
http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1500-dev.zip
Extract these files into a folder, let's say: E:\builds
3. Checkout mapserver sources into the SDK root, ie: E:\builds\mapserver
4. Open Visual Studio 2008 Command Prompt
5. Change directory to E:\builds
cd E:\builds
6. Compile mapserver:
nmake ms MS_DIR=mapserver
7. Go to perl dir:
cd mapserver\mapscript\perl
8. Copy the attached makefile.vc into this subdirectory
9. Compile the Perl bindings
nmake -f
makefile.vcEXT_NMAKE_OPT=E:\builds\release-1500\mapserver.opt
PERL_DIR=C:\Perl
I suspect Perl may have a more sophisticated compilation approach, but my
knowledge of Pearl is near to nothing.
Best regards,
Tamas
2013/2/18 Helmut Seidel M.A. <info at knowhow-la.de>
> Hello everybody,
>
> my employer wants me to start a mapserver project with perl MapScript in a
> Windows environment, as we do most of our programming in Perl. I've tried
> some html-coding with mapserver and a few very basic perl MapScript
> examples on my Linux machine so far.
>
> Now comes the task of moving to windows. I have learned that all binary
> distributions do not come with Perl MapScript, so it seems I have to build
> Mapserver from source. (I've only ever built minor projects from source -
> so maybe not everything I say is quite correct). I've browsed the net for
> two day now (not all the time) but I couldn't find instructions how to
> build Mapserver with Perl MapScript support.
>
> So can anybody please give a few instructions (for built-newbees) howto
> build Perl Mapscript?
>
> Thanks and regards
> ______________________________**_________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130218/9916fbc3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.vc
Type: application/octet-stream
Size: 1225 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130218/9916fbc3/attachment.obj>
More information about the MapServer-users
mailing list