From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Wed May 25 2005 - 16:34:58 EDT
Dear managers,
we are trying to use the UMN map server on Solaris. We built it as
follows.
gunzip gd-2.0.33.tar.gz
tar xvf gd-2.0.33.tar
cd gd-2.0.33
./configure
make
make install
gunzip proj-4.4.9.tar.gz
tar xvf proj-4.4.9.tar
cd proj-4.4.9
./configure
make
make install
gunzip mapserver-4.4.2.tar.gz
tar xvf mapserver-4.4.2.tar
cd mapserver-4.4.2
./configure --with-proj=/usr/local
make
cp mapserv /usr/local/bin
The resulting mapserv executable is supposed to be called as follows:
/usr/local/bin/mapserv
"QUERY_STRING=map=/opt/GNUstep/System/Library/Frameworks/
SRMapKit.framework/Versions/A/Resources/
mapTemplate.map&map_web_imagepath=/tmp/ahoesch/&map_web_imageurl=/tmp/
ahoesch/&map_web_template=/opt/GNUstep/System/Library/Frameworks/
SRMapKit.framework/Versions/A/Resources/
htmlTemplate.html&MAPSIZE=700+525&img.x=350&img.y=262&map_shapepath=/
Library/SmartObjects/
Shape&imgext=10.410550+53.187618+10.551580+53.299850"
htmlTemplate.html is a template file like this
...
<input type="hidden" name="map_web_imagepath"
value="[map_web_imagepath]">
<input type="hidden" name="map_web_imageurl" value="[map_web_imageurl]">
<input type="hidden" name="map_web_template" value="[map_web_template]">
...
After (successfully) generating the image mapserv reads this template
and tries to replace the placeholders
[map_web_imagepath]
[map_web_imageurl]
and so on. However it seems to have problems with parsing the [] in
this template since it dies with a
Segmentation Fault (core dumped)
at the first occurance of a [ in the template file. If I remove all []
fromthe template it goes through. However, I can't do this since this
is the only way to get the path to the image and the actually drawn
rect. Any idea what might cause this error? Has anybody mastered to get
mapserv running on Solaris?
Thanks a lot!
Regards,
Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:45 EDT