[gdal-dev] Newby: Compile gdal with perl on Windows / deployment
Ari Jolma
ari.jolma at gmail.com
Wed Feb 27 08:17:58 PST 2013
Helmut,
First, I don't recommend it to anybody to compile Geo::GDAL on Windows.
I used to do it regularly using the MinGW/MSYS environment and
self-compiled Perl (now I think I would use Strawberry Perl). Here are
some links to instructions I've written (at least some of them):
http://trac.osgeo.org/geoinformatica/wiki/BuildWithMingw
http://trac.osgeo.org/gdal/wiki/Perl
I tried to build some things in Windows lately (Windows 8 and maybe
64bit) but gave up after some time and frustration. I'm not sure what
the main frustration was (the Geoinformatica stack contains much more
than just Geo::GDAL).
I don't know of binary builds other than what I used to do. My own is
getting a bit old already
http://geoinformatics.aalto.fi/files/Geoinformatica/win32/
Best regards,
Ari
On 02/27/2013 03:57 PM, Helmut Seidel M.A. wrote:
> Hello everybody,
>
> in my comming up perl-project I need to use the Geo::Gdal - module. As
> I understand I need to compile gdal from sources first and then build
> the perl bindings. So far so good, but as I'm not a C/C++ developer I
> ran into a host of problems. The first thing I tried, was to install
> MinGW and compile gdal with the "--with-perl" option, which ran for
> about two hours but broke of with a message complaining that perl 5.8
> was not found on my system (I have ActivePerl 5.16 installed) - as far
> as I could decipher the message - I tried gdal 1.90 and gdal 1.92.
> I then tried to compile it using VC 10 which seemed to work but I
> didn't find a possibility where to put the "--with-perl" option -
> anyway I tried to compile perl using perl Makefile.PL which imediately
> complained about being not able to find gdal-conf (which I couldn't
> find either). I guess there would be lots of complaints after that,
> but I only got that far.
> I'm sure my errors have something to do with setting up paths and
> compilation options, but I dont't know which and where to set them.
> So here's my question: has anybody a blow by blow account for C/C++
> dummies how to set up Geo::Gdal? That would be great!
> Another question is how to deploy the finished application to other
> computers.
>
> I hope you could understand all of my English and my questions are not
> too stupid - but I spend two working days on it so far so I'm a little
> desperate now.
>
> Thanks and regards
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list