Changes between Initial Version and Version 1 of GdalPerlOnCygwin


Ignore:
Timestamp:
Jan 18, 2008, 3:54:18 PM (16 years ago)
Author:
maphew
Comment:

how to build GDAL Perl bindngs on Cygwin

Legend:

Unmodified
Added
Removed
Modified
  • GdalPerlOnCygwin

    v1 v1  
     1I have successfully built GDAL 1.5.0 Perl binding on Cygwin and the followings might be helpful for those who experience problems.
     2
     31. Go to directory gdal-1.5.0/swig/perl and run 'perl Makefile.PL'.  The following four Makefiles should be created if it succeeds:
     4{{{
     5Makefile_Geo__GDAL
     6Makefile_Geo__GDAL__Const
     7Makefile_Geo__OGR
     8Makefile_Geo__OSR
     9}}}
     102. Edit each of the four Makefiles by appending `-lstdc++` after each `-lgdal` and save them.
     11
     123. Run make using each of the four Makefiles as follows:
     13{{{
     14make -f Makefile_Geo__GDAL
     15make -f Makefile_Geo__GDAL__Const
     16make -f Makefile_Geo__OGR
     17make -f Makefile_Geo__OSR
     18}}}
     194. Install the Perl `Geo::GDAL` package by running
     20{{{
     21make -f Makefile_Geo__GDAL install
     22}}}
     23
     24That's it. Enjoy!
     25
     26----
     27Source:
     28 * http://www.nabble.com/GDAL-1.5.0-Perl-Binding-on-Cygwin-td14960908.html