« Return to Thread: GDAL 1.5.0 Perl Binding on Cygwin

GDAL 1.5.0 Perl Binding on Cygwin

by Jingmu Yang :: Rate this Message:

Reply to Author | View in Thread

I have successfully built GDAL 1.5.0 Perl binding on Cygwin and the followings might be helpful for those who experience problems.

1. Go to directory gdal-1.5.0/swig/perl and run 'perl Makefile.PL'.  The following four Makefiles should be created if it succeeds:

Makefile_Geo__GDAL
Makefile_Geo__GDAL__Const
Makefile_Geo__OGR
Makefile_Geo__OSR

2. Edit each of the four Makefiles by appending -lstdc++ after each -lgdal and save them.

3. Run make using each of the four Makefiles as follows:

make -f Makefile_Geo__GDAL
make -f Makefile_Geo__GDAL__Const
make -f Makefile_Geo__OGR
make -f Makefile_Geo__OSR

4. Install the Perl Geo::GDAL package by running

make -f Makefile_Geo__GDAL install

That it.  Enjoy!

Jim


More new features than ever. Check out the new AOL Mail!

_______________________________________________
gdal-dev mailing list
gdal-dev@...
http://lists.osgeo.org/mailman/listinfo/gdal-dev

 « Return to Thread: GDAL 1.5.0 Perl Binding on Cygwin

LightInTheBox - Buy quality products at wholesale price!