[Mapserver-users] Fwd: error using mapserver 4.0 demo

Steve Lime steve.lime at dnr.state.mn.us
Wed Aug 20 12:05:28 EDT 2003


Return-path: <sherwin at lhc.nlm.nih.gov>
Received: from mail.state.mn.us
	(state.mn.us [156.99.125.109])
	by co5.dnr.state.mn.us; Tue, 19 Aug 2003 19:18:21 -0500
Return-Path: <sherwin at lhc.nlm.nih.gov>
Received: from lhc.nlm.nih.gov ([130.14.35.128] [130.14.35.128]) by mail.state.mn.us with ESMTP for steve.lime at dnr.state.mn.us; Tue, 19 Aug 2003 12:55:54 -0500
Received: from hume.nlm.nih.gov (hume [130.14.31.40])
	by lhc.nlm.nih.gov (8.11.7+Sun/8.11.6) with ESMTP id h7JHpmf07861;
	Tue, 19 Aug 2003 13:55:20 -0400 (EDT)
Received: from localhost (sherwin at localhost)
	by hume.nlm.nih.gov (8.11.7+Sun/8.11.6) with ESMTP id h7JHp6A08432;
	Tue, 19 Aug 2003 13:51:06 -0400 (EDT)
Date: Tue, 19 Aug 2003 13:51:06 -0400 (EDT)
From: Ziying Sherwin <sherwin at lhc.nlm.nih.gov>
To: steve.lime at dnr.state.mn.us
cc: Matt.Wilkie at gov.yk.ca,
    jdoyon at nrcan.gc.ca
Subject: error using mapserver 4.0 demo
Message-Id: <Pine.GSO.4.21.0308191350040.7788-100000 at hume.nlm.nih.gov>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: 7bit


We are trying to build mapserver 4.0 on Solaris 2.8 machine using gd 2.0.15, 
freetype 2.1.4, tiff 3.6.0b2, proj.4 4.4.7, jpeg 6b, curl 7.10.5, gdal 1.1.8, 
pdflib 5.0.1, libgeotiff 1.2.1, zlib 1.1.4, libpng , xpm , libiconv 1.8 and gcc 3.3.

We configured it with options:

/configure --prefix=/depot/package/mapserver_4.0/vendor \
            --with-jpeg=/depot/package/jpeg_6b \
            --with-gd=/depot/package/gd_2.0.15 \
            --with-freetype=/depot/package/freeptype_2.1.4/bin \
            --with-zlib=/depot/package/zlib_1.1.4 \
            --with-png=/depot/package/libpng_1.2.5 \
            --with-xpm=/depot/package/xpm_3.4k \
            --with-pdf=/depot/package/pdflib_5.0.1 \
            --with-tiff=/depot/package/tiff_3.6.0b2 \
            --with-proj=/depot/package/proj_4.4.7/vendor \
            --with-gdal=/depot/package/gdal_1.1.8/vendor/bin/gdal-config \
            --with-curl-config=/depot/package/curl_7.10.5/vendor/bin/curl-config \
            --enable-ignore-missing-data \
            --enable-runpath

After compiled the package, we installed the binary mapserv into the Apache cgi-bin
directory. We then installed the itasca3.5 demo into the htdocs directory and edit
the demo_init.html file to refer to the correct directories. When we tried to test
the installation by visiting the URL:
 
   http://etg.nlm.nih.gov/service/mapserver/demo_init.html

We first see the page like this:

       MapServer Demo Interface

Click on the initialize button to fire up the demo with 3 layers turned
on will be accessible for browsing. The data are of Itasca County, MN
and were derived, for the most part, from USGS 1:24,000 quadrangles.
Some things to note are:

After pressing the "Initialize" button, we got the following error messages:

msLoadMap(): General error message. Undefined overlay symbol "symbols/ctyhwy.gif" in class 0, style 0 of layer ctyrdln3_anno. 
msAddImageSymbol(): General error message. Unable to load GIF symbol. 
msInitGDALOutputFormat(): General error message. GDAL `GTiff' driver does not support output. 

What do these messages mean? Any help will be appreciated.

Ziying Sherwin





More information about the mapserver-users mailing list