[Mapserver-users] Probem with installation of Geo::Shapelib

Gregorio Greco g.greco at cineca.it
Sun Feb 15 07:38:28 PST 2004


Hi all,
i have another problem......... :-)

I have downloaded the module Shapelib from the
http://www.cpan.org/modules/by-module/Geo/Geo-Shapelib-0.06.tar.gz. for to
execute shp2mysql.pl.

I work with Windows XP and i have some problems with the installation of
this library.
I have copied the file Shapelib.pm in the directory of Perl library, exactly
in H:\Perl\site\lib\Geo , and in in the script
i have added " sue Geo::Spapelib " but the compiler Perl return error :

"Can't locate auto/Geo/Shapelib/autosplit.ix in @INC (@INC contains:
H:/Perl/lib
H:/Perl/site/lib .) at H:/Perl/lib/AutoLoader.pm line 146.
Can't locate loadable object for module Geo::Shapelib in @INC (@INC
contains: H:
/Perl/lib H:/Perl/site/lib .) at C:\MapServer\ms401_gif_pg\shp2mysql.pl line
13
Compilation failed in require at C:\MapServer\ms401_gif_pg\shp2mysql.pl line
13."

My declaration of the module is:
"use DBI;
#use Geo::Coordinates::Convert;
#use Geo::ShapeFile::Shape;
#use Geo::ShapeFile::Point;
use Geo::ShapeFile;
use Geo::Shapelib qw /:all/; "

Somebody know how to install Shapelib on windows?

thanks again
Best regards

Gregorio




More information about the MapServer-users mailing list