[Mapserver-users] Perl Mapscript Question

Stephen Woodbridge woodbri at swoodbridge.com
Mon Apr 26 09:28:35 EDT 2004


Hi all,

I am getting an apache server 500 error and the follow strange message 
in the apache logs when trying to use Perl/Mapscript version 4.0.1.

[Mon Apr 26 08:16:31 2004] [error] [client 129.44.191.48] Premature end 
of script headers: /home/woodbri/public_html/index.cgi
Can't locate auto/mapscript/imageObj/saveImage.al in @INC (@INC 
contains: /etc/perl /usr/local/lib/perl/5.8.0 
/usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at 
index.cgi line 136


I also get the following error when generating the Makefile, but it 
seemed like I could ignore it, but maybe not:

woodbri at maps:/u/software/ms4c/mapserver-4.0.1/mapscript/perl$ perl 
Makefile.PL
-I/u/software/ms4c/mapserver-4.0.1 -I/opt/mapserver/include 
-I/opt/mapserver/include -I/opt/mapserver//include -I/opt/mapserver//include
-Wl,-rpath,/opt/mapserver//lib 
-Wl,-rpath,/u/software/ms4c/mapserver-4.0.1 
-L/u/software/ms4c/mapserver-4.0.1 -lmap -L/opt/mapserver/lib -lgd 
-ljpeg -lfreetype -lpng -lz -ljpeg -lfreetype -lpng -lz 
-L/opt/mapserver/lib -lproj -ljpeg -L/opt/mapserver//lib -lgdal.1.1 
-L/opt/mapserver//lib -lcurl -lz -lssl -lcrypto -ldl -lm

Unrecognized argument in LIBS ignored: '-Wl,-rpath,/opt/mapserver//lib'
Unrecognized argument in LIBS ignored: 
'-Wl,-rpath,/u/software/ms4c/mapserver-4.0.1'
Writing Makefile for mapscript

Any ideas from the Perl experts?

-Steve W.




More information about the mapserver-users mailing list