[Gdal-dev] Continuing problems installing gdal-grass
William Hudspeth
bhudspeth at edac.unm.edu
Tue Jan 10 14:29:49 EST 2006
Thanks for responding Dan,
I have followed your suggestions - it seems to have configured just
fine. When I try to make, however, I get the following output:
g++ -Wall -fPIC -DUSE_CPL -DGRASS_GISBASE=\"/usr/local/grass-6.0.1\" -
I/usr/local/gdal/include -I/usr/local/grass-6.0.1/include -c -o
grass57dataset.o grass57dataset.cpp
In file included from grass57dataset.cpp:63:
/usr/local/grass-6.0.1/include/gprojects.h:20:22: proj_api.h: No such file or directory
In file included from grass57dataset.cpp:63:
/usr/local/grass-6.0.1/include/gprojects.h:31: syntax error before `*' token
make: *** [grass57dataset.o] Error 1
Hi Bill,
Your problem is likely to be solved by editing /etc/ld.so.conf to
include the locations of proj, gdal, grass, and geos. Specifically,
the full path to both gdal-config and geos-config, and the full paths
to the library locations of proj (often /usr/local/lib) and grass (/
usr/local/grass-6.0.1/lib). After editing ld.so.conf, run ldconfig,
and you should be good to go.
I ran into this problem this weekend (and posted for help to this
list), so it seems to be a pretty common issue.
Dan
On 10-Jan-06, at 10:12 AM, William Hudspeth wrote:
> I am trying to install gdal-grass 1.3.1 on Red hat enterprise linux
> advanced server 3.0. I have previously installed gdal 1.3.1 without-
> grass, and Grass 6.0.1 with-gdal. I have tried to configure gdal-
grass
> with:
>
> ./configure --with-gdal=/usr/local/gdal/bin/gdal-config --with-
> grass=/usr/local/grass-6.0.1
>
> It seems to find gdal alright, but then balks at the Grass
> location. The
> Grass location specified above is indeed the correct location. I have
> also tried adding --with-grass=/usr/local/grass-6.0.1/lib, but with
no
> success. My error is:
>
> ...
> checking for G_asprintf in -lgrass_gis ... no
> configure: error: --with-grass=/usr/local/grass-6.0.1 requested, but
> libraries not found?
>
> Any help much appreciated,
>
> Bill
>
More information about the Gdal-dev
mailing list