[gdal-dev] Newby: Compile gdal with perl on Windows / deployment

Helmut Seidel M.A. info at knowhow-la.de
Wed Feb 27 05:57:56 PST 2013


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


More information about the gdal-dev mailing list