[Mapserver-users] mapserv doesn't work
Chen Fu
novalet at yahoo.com.cn
Fri Jun 20 00:12:35 PDT 2003
Till£º
My linux box is base on redhat8. the make generate
some warning but no error. the mapserv is 375445
bytes. I think it is much smaller than the one i used
in win2k. But i config it with gd lib only.
if i type "./mapserv" it will show
"
This script can only be used to decode form results
and
should be initiated as a CGI process via a httpd
server.
"
Is it mean the file is a validate executable? shp2img
generated in the same procession work very nice.
I search the archive for that message before i post it
here. But most i found is related to php or some other
thing. Because i am a newbie in compiling mapserver in
linux, so i select the cleanest way, use only gd lib.
But still get into trouble, sigh...
--- Till Adams <adams at terrestris.de> µÄÕýÎÄ£º> Dear
Cheng,
>
> "premature end of script" is an error which occurs,
> when the compile
> process was broken up: so while compiling, the
> "mapserv" was written but
> not finished. Which linux system do you use? Did you
> get an error
> message when compiling? Try the mailing list archive
> searching for
> contributions fitting to your error message.
>
> Good luck,
> Till
>
> Chen Fu schrieb:
> > Hi!
> > This is my first time to compile mapserver in
> linux.
> > But I use mapserver in win2k for a long time.
> > First download gd-2.0.15, make and install it.
> > Then i download mapserver4.0b, make it and copy
> > mapserv to cgi-bin.
> > But when i input http://localhost/cgi-bin/mapserv
> ,
> > the info in the brower is
> > Server error!
> >
> > The server encountered an internal error and was
> > unable to complete your request.
> >
> > Error message:
> > Premature end of script headers: mapserv
> >
> > I have tried shp2img, it work fine, and generate
> > proper image.
> > Can you give me some suggestion?
> >
> >
> > =====
> > Remote Scensing Satellite Ground Station
> > Chinese Academy of Science
> >
> >
>
_________________________________________________________
> > Do You Yahoo!?
> > ÍøÁµµÄÚ¹ÊÍ£ºÕæÇ黹ÊÇ·Å×Ý£¿
> >
>
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/netlove
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> >
>
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
>
>
> --
>
> ***** Treffen Sie uns auf der AGIT in Salzburg vom
> 2. bis 4. Juli 2003,
> Stand 35 *****
>
> -----
>
> Dipl. Geogr. Till Adams
> terrestris, Paulsen&Adams GbR
> Siemensstr. 8 * 53121 Bonn
> Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
> info at terrestris.de * www.terrestris.de
>
=====
Remote Scensing Satellite Ground Station
Chinese Academy of Science
_________________________________________________________
Do You Yahoo!?
ÍøÁµµÄÚ¹ÊÍ£ºÕæÇ黹ÊÇ·Å×Ý£¿
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/netlove
More information about the MapServer-users
mailing list