[mapserver-users] CGI Error

Lowell Filak lfilak at medinaco.org
Wed Jul 17 05:58:52 PDT 2002


Just as an FYI for future searchers of the list. The information that Martin covered is documented at:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptBuild35
Lowell F.

The following message was sent by Martin Weinelt <mweinelt at planiglobe.com> on Wed, 17 Jul 2002 10:10:04 +0200.

> Simon Kirkness on  17 Juli 2002 05:21:
> 
> > > Hi all,
> >
> > I am trying to create a perl script to display points on a map and am
> > getting the following error
> >
> > Can't locate mapscript.pm in @INC (@INC contains: C:/perl/lib
> > C:/perl/site/lib .) at C:\Inetpub\scripts\mapsightings.pl line 12.
> > BEGIN failed--compilation aborted at C:\Inetpub\scripts\mapsightings.pl
> > line 12.
> >
> > Any ideas?
> 
> Simon,
> 
> the @INC array holds the places where your perl installation 
> stores modules/packages. Type perl -V and and the content 
> of @INC will be printed out (among other things).
> 
> Usually the 'perl Makefile.pl - make - make install ' takes care of this
> aspect with installin new packages. Did the installation print out any 
> error messages? 
> 
> If for any reason the installtion process does not place the package 
> where perl looks, you can always add the actual place of the package
> to @INC (as one of the first lines in your script).
> 
> Cheers, martin




More information about the MapServer-users mailing list