[mapserver-users] Compile problem

Jean-Francois.Doyon@ccrs.nrcan.gc.ca Jean-Francois.Doyon@ccrs.nrcan.gc.ca
Tue, 17 Sep 2002 12:20:02 -0400


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@gov.si]
Sent: Tuesday, September 17, 2002 9:50 AM
To: mapserver-users@lists.gis.umn.edu
Subject: [mapserver-users] Compile problem


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

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

When I try to run mapserv:

[user@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@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!4P4 (44?4?AA????~~? 
oe"   /lib/ld-linux.so.2

Any idea?

Thank you,

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