[GRASSLIST:9890] Procedure that I followed for installing GRASS mapserver

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

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@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

--
Matt Perry
perrygeo@gmail.com
http://www.perrygeo.net

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@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@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

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@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@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

Hello Stephan,
Thank you for suggesting me to use the recent
gdal-version. I will need to use GRASS 6.0 for
that.Will go through the installation in the wiki[1].
Hope it works out for me too.

Regards
Siddhesh.

--- Stephan Holl <holl@gdf-hannover.de> wrote:

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@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@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax:
++49-(0)511.39088508

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Hello,

These are the Steps Followed by me.

1. Installed gdal *without* GRASS support
   cd gdal-1.3.1
   ./configure
   make
   su
   make install

2. Installed GRASS 6.0 in my home directory.
   cd grass-6.0.0

   ./configure --prefix=/home/bnagesh
--bindir=/home/bnagesh/bin
--with-postgres-includes=/usr/include/pgsql
--without-odbc --without-fftw
   
3. While Installing gdal-grass-1.3.1 error
encountered.
   steps as follows
   a. ln -s /usr/local/lib
/home/bnagesh/grass-6.0.0/lib/*.so
   b. ./configure
--with-gdal=/usr/local/bin/gdal-config
--with-grass=/home/bnagesh/grass-6.0.0

configure: error:
--with-grass=/home/bnagesh/grass-6.0.0/ requested, but
libraries not found!

Why does this error occur? whats the name of the
libraries its looking for? and where are these
libraries located?

Thanking you.

Siddhesh

--- Matthew Perry <perrygeo@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@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
>
>

--
Matt Perry
perrygeo@gmail.com
http://www.perrygeo.net

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Hello Siddhesh,

On Wed, 18 Jan 2006 04:28:35 -0800 (PST) Siddhesh Bhatkar
<sid_grass@yahoo.com> wrote:

Hello,

These are the Steps Followed by me.

1. Installed gdal *without* GRASS support
   cd gdal-1.3.1
   ./configure
   make
   su
   make install

2. Installed GRASS 6.0 in my home directory.
   cd grass-6.0.0

   ./configure --prefix=/home/bnagesh
--bindir=/home/bnagesh/bin
--with-postgres-includes=/usr/include/pgsql
--without-odbc --without-fftw
   
3. While Installing gdal-grass-1.3.1 error
encountered.
   steps as follows
   a. ln -s /usr/local/lib
/home/bnagesh/grass-6.0.0/lib/*.so
   b. ./configure
--with-gdal=/usr/local/bin/gdal-config
--with-grass=/home/bnagesh/grass-6.0.0

configure: error:
--with-grass=/home/bnagesh/grass-6.0.0/ requested, but
libraries not found!

Make sure, that the dynmic linker finds your GRASS-libs in the
non-standard location. perhaps you need to add the grass-libs-path
to the env-variable LD_LIBRARY_PATH.

Why does this error occur? whats the name of the
libraries its looking for? and where are these
libraries located?

Best
  Stephan

--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

Hello Stephan,

I added the non-standard location of grass library
(in my case ~bnagesh/grass-6.0.0/lib) to the
Enviroment variable LD_LIBRARY_PATH in my .bashrc
file.

./configure --with-gdal=/usr/local/bin/gdal-config
--with-grass=/home/bnagesh/grass-6.0.0/
now creates the Makefile Successfully.

But when i run the "make" command i get the following
error:

g++ -Wall -fPIC -DUSE_CPL
-DGRASS_GISBASE=\"/home/bnagesh/grass-6.0.0/\"
-I/usr/local/include
-I/home/bnagesh/grass-6.0.0//include -c -o
ogrgrassdatasource.o ogrgrassdatasource.cpp
ogrgrassdatasource.cpp: In member function `int
OGRGRASSDataSource::Open(const char*, int, int, int)':
ogrgrassdatasource.cpp:212: error: cannot allocate an
object of type `OGRGRASSLayer'
ogrgrassdatasource.cpp:212: error: because the
following virtual functions are abstract:
/usr/local/include/ogrsf_frmts.h:176: error:
virtual OGRGeometry* OGRLayer::GetSpatialFilter()
make: *** [ogrgrassdatasource.o] Error 1

Does this error need to be debugged?
Kindly Help

Siddhesh,

--- Stephan Holl <holl@gdf-hannover.de> wrote:

Hello Siddhesh,
Make sure, that the dynmic linker finds your
GRASS-libs in the
non-standard location. perhaps you need to add the
grass-libs-path
to the env-variable LD_LIBRARY_PATH.

Best
Stephan

On Wed, 18 Jan 2006 04:28:35 -0800 (PST) Siddhesh
Bhatkar
<sid_grass@yahoo.com> wrote:

Hello,
These are the Steps Followed by me.
  1. Installed gdal *without* GRASS support
    cd gdal-1.3.1
    ./configure
    make
    su
    make install

2. Installed GRASS 6.0 in my home directory.
    cd grass-6.0.0

    ./configure --prefix=/home/bnagesh
--bindir=/home/bnagesh/bin
--with-postgres-includes=/usr/include/pgsql
--without-odbc --without-fftw
    
3. While Installing gdal-grass-1.3.1 error
encountered.
    steps as follows
    a. ln -s /usr/local/lib
/home/bnagesh/grass-6.0.0/lib/*.so
    b. ./configure
--with-gdal=/usr/local/bin/gdal-config
--with-grass=/home/bnagesh/grass-6.0.0

configure: error:
--with-grass=/home/bnagesh/grass-6.0.0/ requested,
but
libraries not found!

Why does this error occur? whats the name of the
libraries its looking for? and where are these
libraries located?

Siddhesh,

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Hello Siddhesh,

On Wed, 18 Jan 2006 21:51:01 -0800 (PST) Siddhesh Bhatkar
<sid_grass@yahoo.com> wrote:

Hello Stephan,

I added the non-standard location of grass library
(in my case ~bnagesh/grass-6.0.0/lib) to the
Enviroment variable LD_LIBRARY_PATH in my .bashrc
file.

./configure --with-gdal=/usr/local/bin/gdal-config
--with-grass=/home/bnagesh/grass-6.0.0/
now creates the Makefile Successfully.

But when i run the "make" command i get the following
error:

g++ -Wall -fPIC -DUSE_CPL
-DGRASS_GISBASE=\"/home/bnagesh/grass-6.0.0/\"
-I/usr/local/include
-I/home/bnagesh/grass-6.0.0//include -c -o
ogrgrassdatasource.o ogrgrassdatasource.cpp
ogrgrassdatasource.cpp: In member function `int
OGRGRASSDataSource::Open(const char*, int, int, int)':
ogrgrassdatasource.cpp:212: error: cannot allocate an
object of type `OGRGRASSLayer'
ogrgrassdatasource.cpp:212: error: because the
following virtual functions are abstract:
/usr/local/include/ogrsf_frmts.h:176: error:
virtual OGRGeometry* OGRLayer::GetSpatialFilter()
make: *** [ogrgrassdatasource.o] Error 1

I did not come accross this error-message.

It *could* be related to the fact that a GRASS6 CVS-snapshpt is needed
for making the GRASS-plugin of GDAL work, but I do not know for sure.
Can anybody confirm?

We always work with GRASS CVS-versions in production, so I have not
seen this errors.

Another starting-point could be the GRASS-development-mailinglist,
which dan be found here[1].

Best regards

  Stephan

[1] http://grass.itc.it/mailman/listinfo/grass5
--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

Hello Stephan,

is this the GRASS6 CVS snapshot u used?
http://grass.itc.it/grass60/source/snapshot/grass-6.0.cvs_src_snapshot_2006_01_14.tar.gz

Do i need to download the CVS software too for
updates? or can i do away with it.
Since u were successful , i would want to follow the
same procedure as urs. Can i proceed with installing
the CVS snapshot of GRASS 6.0?
Kindly Suggest.

Regards
Siddhesh.

--- Stephan Holl <holl@gdf-hannover.de> wrote:

Hello Siddhesh,

On Wed, 18 Jan 2006 21:51:01 -0800 (PST) Siddhesh
Bhatkar
<sid_grass@yahoo.com> wrote:

> Hello Stephan,
>
> I added the non-standard location of grass
library
> (in my case ~bnagesh/grass-6.0.0/lib) to the
> Enviroment variable LD_LIBRARY_PATH in my .bashrc
> file.
>
> ./configure --with-gdal=/usr/local/bin/gdal-config
> --with-grass=/home/bnagesh/grass-6.0.0/
> now creates the Makefile Successfully.
>
>
> But when i run the "make" command i get the
following
> error:
>
>
> g++ -Wall -fPIC -DUSE_CPL
> -DGRASS_GISBASE=\"/home/bnagesh/grass-6.0.0/\"
> -I/usr/local/include
> -I/home/bnagesh/grass-6.0.0//include -c -o
> ogrgrassdatasource.o ogrgrassdatasource.cpp
> ogrgrassdatasource.cpp: In member function `int
> OGRGRASSDataSource::Open(const char*, int, int,
int)':
> ogrgrassdatasource.cpp:212: error: cannot allocate
an
> object of type `OGRGRASSLayer'
> ogrgrassdatasource.cpp:212: error: because the
> following virtual functions are abstract:
> /usr/local/include/ogrsf_frmts.h:176: error:
> virtual OGRGeometry* OGRLayer::GetSpatialFilter()
> make: *** [ogrgrassdatasource.o] Error 1

I did not come accross this error-message.

It *could* be related to the fact that a GRASS6
CVS-snapshpt is needed
for making the GRASS-plugin of GDAL work, but I do
not know for sure.
Can anybody confirm?

We always work with GRASS CVS-versions in
production, so I have not
seen this errors.

Another starting-point could be the
GRASS-development-mailinglist,
which dan be found here[1].

Best regards

  Stephan

[1] http://grass.itc.it/mailman/listinfo/grass5

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Hello Siddhesh,

On Thu, 19 Jan 2006 01:19:37 -0800 (PST) Siddhesh Bhatkar
<sid_grass@yahoo.com> wrote:

Hello Stephan,

is this the GRASS6 CVS snapshot u used?
http://grass.itc.it/grass60/source/snapshot/grass-6.0.cvs_src_snapshot_2006_01_14.tar.gz

Do i need to download the CVS software too for
updates? or can i do away with it.
Since u were successful , i would want to follow the
same procedure as urs. Can i proceed with installing
the CVS snapshot of GRASS 6.0?
Kindly Suggest.

I have used a CVS-snapshot as well, but I used the CVS-software for
checkout. If you do not want to use the CVS-software, go here[1] and
download a GRASS CVS 6.1 snapshot.

Best
  Stephan

[1] http://grass.itc.it/grass61/source/snapshot/

--- Stephan Holl <holl@gdf-hannover.de> wrote:

> Hello Siddhesh,
>
> On Wed, 18 Jan 2006 21:51:01 -0800 (PST) Siddhesh
> Bhatkar
> <sid_grass@yahoo.com> wrote:
>
> > Hello Stephan,
> >
> > I added the non-standard location of grass
> library
> > (in my case ~bnagesh/grass-6.0.0/lib) to the
> > Enviroment variable LD_LIBRARY_PATH in my .bashrc
> > file.
> >
> > ./configure --with-gdal=/usr/local/bin/gdal-config
> > --with-grass=/home/bnagesh/grass-6.0.0/
> > now creates the Makefile Successfully.
> >
> >
> > But when i run the "make" command i get the
> following
> > error:
> >
> >
> > g++ -Wall -fPIC -DUSE_CPL
> > -DGRASS_GISBASE=\"/home/bnagesh/grass-6.0.0/\"
> > -I/usr/local/include
> > -I/home/bnagesh/grass-6.0.0//include -c -o
> > ogrgrassdatasource.o ogrgrassdatasource.cpp
> > ogrgrassdatasource.cpp: In member function `int
> > OGRGRASSDataSource::Open(const char*, int, int,
> int)':
> > ogrgrassdatasource.cpp:212: error: cannot allocate
> an
> > object of type `OGRGRASSLayer'
> > ogrgrassdatasource.cpp:212: error: because the
> > following virtual functions are abstract:
> > /usr/local/include/ogrsf_frmts.h:176: error:
> > virtual OGRGeometry* OGRLayer::GetSpatialFilter()
> > make: *** [ogrgrassdatasource.o] Error 1
>
> I did not come accross this error-message.
>
> It *could* be related to the fact that a GRASS6
> CVS-snapshpt is needed
> for making the GRASS-plugin of GDAL work, but I do
> not know for sure.
> Can anybody confirm?
>
> We always work with GRASS CVS-versions in
> production, so I have not
> seen this errors.
>
> Another starting-point could be the
> GRASS-development-mailinglist,
> which dan be found here[1].
>
> Best regards
>
> Stephan
>
> [1] http://grass.itc.it/mailman/listinfo/grass5

__________________________________________________
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@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508