[Gdal-dev] Continuing problems installing gdal-grass
Putler, Dan
Dan.Putler at sauder.ubc.ca
Tue Jan 10 15:02:01 EST 2006
Hi Bill,
This is just a guess, but did you load proj via RPMs? If yes, you may
need to load the proj-devel package as well. The reason why I ask
this is the problems seems to be with proj_api.h, which is a proj
header file. RedHat has this thing about putting header files into
separate "product"-devel packages.
Dan
On 10-Jan-06, at 11:29 AM, William Hudspeth wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060110/ce136668/attachment.html
More information about the Gdal-dev
mailing list