[GRASSLIST:9894] Re: Procedure that I followed for installing GRASS mapserver
siddhesh bhatkar
sid_grass at yahoo.com
Wed Jan 18 04:29:06 EST 2006
Hey Matt ,
Thanks a lot. I did come across the package
gdal-grass-1.3.1.1.tar.gz But since i was using
grass5.3 i didnt think of using it. I have installed
Grass6.0 on another of my systems. Will certainly try
your procedure of installation on it.
Thanks again for taking time 'n' effort for writing
back to me the procedure.
Have a nice day.
Regards
Sid
--- Matthew Perry <perrygeo at gmail.com> wrote:
Siddhesh,
I would suggest using more recent versions of the
software. There
have been many changes in gdal and grass in recent
years and you'll be
more likely to find support if you use updated
software.
I have had good luck with installing things in this
order:
gdal 1.3.1 *without* grass support
(http://www.gdal.org/dl/gdal-1.3.1.tar.gz)
grass6
gdal-grass plugin
(http://www.gdal.org/dl/gdal-grass-1.3.1.1.tar.gz)
mapserver 4.6.2
(http://cvs.gis.umn.edu/dist/mapserver-4.6.2.tar.gz)
matt
On 1/17/06, 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
More information about the grass-user
mailing list