• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.inH A D16-Oct-20202 KiB5842

READMEH A D16-Oct-20202 KiB6444

aclocal.m4H A D16-Oct-20205.8 KiB203183

configureH A D16-Oct-2020124.9 KiB4,4903,718

configure.inH A D16-Oct-20206.1 KiB176134

README

1Standalone GRASS Drivers for GDAL and OGR
2=========================================
3
4This package contains standalone drivers for GRASS raster and vector
5files that can be built after GDAL has been built and installed as an
6"autoload" driver.
7
8This is particularly useful in resolving problems with GRASS depending
9on GDAL, but GDAL with GRASS support depending on GRASS.  With this
10package you can configure and install GDAL normally (--without-grass), then
11build and install GRASS normally and finally build and install this driver.
12
13To build this driver it is necessary for it to find GDAL and GRASS support
14files.  Typically the configure and build process would look something like:
15
16./configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/usr/local/grass-7.0.0
17make
18sudo make install
19
20See also:
21
22  http://www.gdal.org/
23  http://grass.osgeo.org
24
25
26---
27
28FAQs
29----
30
31
32Question:
33
34I am trying to install gdal-grass 1.3.1 on Red hat enterprise linux
35advanced server 3.0. I have previously installed gdal 1.3.1 without-
36grass, and Grass 6.0.1 with-gdal. I have tried to configure gdal-grass
37with:
38
39./configure --with-gdal=/usr/local/gdal/bin/gdal-config --with-
40grass=/usr/local/grass-6.0.1
41
42It seems to find gdal alright, but then balks at the Grass location. The
43Grass location specified above is indeed the correct location. I have
44also tried adding --with-grass=/usr/local/grass-6.0.1/lib, but with no
45success. My error is:
46
47...
48checking for G_asprintf in -lgrass_gis ... no
49configure: error: --with-grass=/usr/local/grass-6.0.1 requested, but
50libraries not found?
51
52
53Answer:
54
55Your problem is likely to be solved by editing /etc/ld.so.conf to
56include the locations of proj, gdal, grass, and geos. Specifically,
57the full path to both gdal-config and geos-config, and the full paths
58to the library locations of proj (often /usr/local/lib) and grass (/
59usr/local/grass-6.0.1/lib). After editing ld.so.conf, run ldconfig,
60and you should be good to go.
61
62I ran into this problem this weekend (and posted for help to this
63list), so it seems to be a pretty common issue.
64