map server on Solaris

From: Andreas Höschler (ahoesch_at_smartsoft.de)
Date: 05/25/05

  • Next message: Sam Mabjish: "hme0"
    Date: Wed, 25 May 2005 22:34:58 +0200
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: Sam Mabjish: "hme0"

    Relevant Pages

    • JET Server IP Change
      ... I have inherited a JET server. ... Solaris 8, Sun Ultra 10. ... Currently I can jumpstart clients no problem with the current templates. ... When I change the ip, defaultrouter and subnets, make a new template, ...
      (SunManagers)
    • Re: Patch 112438 on Solaris 2.6
      ... The patch says that it is for Solaris 7-8, ... the same template applies to patches for all OS'es, ... read as a way to install Solaris 8 kernel modules into an incompatible ...
      (comp.unix.solaris)
    • Template problem when linking with WorkShop 5
      ... I have a linkage problem that I believe related to template instantiation. ... My environment is Solaris 6, ... The link command don't use any objects under the template repository. ...
      (comp.unix.solaris)