[mapserver-users] Compile problem

Jean-Francois.Doyon at ccrs.nrcan.gc.ca Jean-Francois.Doyon at ccrs.nrcan.gc.ca
Tue Sep 17 09:20:02 PDT 2002


This result is normal.  You have to pass mapserver at the very least a
mapfile, and possibly a template file.

You can try running "mapserv -v" to see the options it was compiled with for
example.

QUERY_STRING is the parameters you should pass the server (i.e.
"?map=mymapfile.map")

For a place to start, try checking out the demo.

Cheers,
J.F.

-----Original Message-----
From: Miroslav Sodja [mailto:miroslav.sodja at gov.si]
Sent: Tuesday, September 17, 2002 9:50 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Compile problem


I compiled (in fact my webmaster did that) mapserv on linux with:

[user at host user]$ ./configure --without-jpeg --without-eppl
[user at host user]$ make

When I try to run mapserv:

[user at host user]$ ./mapserv
This script can only be used to decode from result and should be
innitiated as a CGI process via a httpd server.

I try included library:

[user at host user]$ ldd mapserv
        libgd.so => /usr/lib/libgd.so (0x4001a000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40071000)
        libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x4008f000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x400d3000)
        libz.so.1 => /usr/lib/libz.so.1 (0x400fe000)
        libpdf.so.1 => /usr/local/lib/libpdf.so.1 (0x4010d000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x4019e000)
        libm.so.6 => /lib/libm.so.6 (0x401df000)
        libc.so.6 => /lib/libc.so.6 (0x40200000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Everything looks fine, but when I run browser like
http://www.go2ing.com/cgi-bin/mapserv the result is not

"No query information to decode. QUERY_STRING is set, but empty."

The result is very confused and looks like:
ELF!4°P4 (
44?4?AAôô?ô???~~? 
¤oe
°"° °  /lib/ld-linux.so.2

Any idea?

Thank you,

Miro Sodja
e-mail: miroslav.sodja at gov.si





More information about the MapServer-users mailing list