[GRASSLIST:9892] Re: Procedure that I followed for installing
GRASS mapserver
Stephan Holl
holl at gdf-hannover.de
Wed Jan 18 03:33:57 EST 2006
Hello siddhesh,
From your listing below I can see that you are using quite old
libraries. I recommend to use a recend gdal-version, because the
grass-driver has improved a lot since then.
Apparently you have installed gdal twice, once from source (step 2) and
once from RPM (step 5) which results in a double-installation. Most
probably this does not work without problems.
So try to use recent libraries and follow the (quite short)
installation in the wiki[1]
This deals with QGIS, but is mainly the same for mapserver since
mapserver users GDAL/OGR to read GRASS-data.
Hope that helps
Stephan
[1]
http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassQgisGdalOgrPlugin
On Tue, 17 Jan 2006 23:13:17 -0800 (PST) siddhesh bhatkar
<sid_grass at yahoo.com> wrote:
> 1. Installed proj-4.4.9
> 2. Installed gdal-1.1.9
> ./configure
> make
> make install
> 3. Installed GRASS5.3
> 4. Installed libgrass5_0-1.0.0-1mdk.i586.rpm
> 5. Installed libgdal0-1.1.9-2mdk.i586.rpm
> 6. Installed proj-4.4.9
> 7. Installed freetype-2.1.4
> 8. Installed gd-2.0.12
> 9. Installed libpng-1.2.8
> 10. Installed gdal-1.1.9 with grass support
> (I think am going wrong here)
> ./configure --without-python
> --with-grass53=~$USER/libgrass/gis
> --with-libz=/usr/local/lib --with-png=/usr/local/lib
> --with-jpeg=/usr/lib
> --with-libtiff=internal --with-geotiff=internal
> make
> make install
> ldconfig
>
> 11. cp -f /usr/include/gd.h /usr/lib/
>
> 12. Installed mapserver-4.4.1
> ./configure --with-proj --with-ogr
> --with-gdal=/usr/local/bin/gdal-config
> --with-gd=/usr/lib --with-png
> make
> make install
> ldconfig
>
>
> troubleshooting
>
> mapserv -v
> MapServer version 4.4.1 OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE
> SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE
>
> gdal-config --formats
> gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 bsb
> xpm sdts raw dted mem jdem envisat elas fit vrt
> usgsdem l1b nitf bmp jpeg2000 gif jpeg png
>
>
> gdal_translate --formats
> The following format drivers are configured and
> support output:
> VRT: Virtual Raster
> GTiff: GeoTIFF
> NITF: National Imagery Transmission Format
> HFA: Erdas Imagine Images (.img)
> ELAS: ELAS
> AAIGrid: Arc/Info ASCII Grid
> DTED: DTED Elevation Raster
> PNG: Portable Network Graphics
> JPEG: JPEG JFIF
> MEM: In Memory Raster
> GIF: Graphics Interchange Format (.gif)
> BSB: Maptech BSB Nautical Charts
> XPM: X11 PixMap Format
> BMP: MS Windows Device Independent Bitmap
> PNM: Portable Pixmap Format (netpbm)
> ENVI: ENVI .hdr Labelled
> PAux: PCI .aux Labelled
> MFF: Atlantis MFF Raster
> MFF2: Atlantis MFF2 (HKV) Raster
> FIT: FIT Image
>
>
>
> Kindly help
>
>
> Thanking u all
> Siddhesh,
>
>
>
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl at gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20060118/a335a6fb/signature.bin
More information about the grass-user
mailing list