[R-SIG-Mac] Problems installing rgdal from source

Paul Roebuck roebuck at mdanderson.org
Thu Jun 8 15:35:36 CEST 2006


On Thu, 8 Jun 2006, sj wrote:

> I tried to install rgdal from source and was running into troubles.
>
> System: OS X 10.4.6, PPC
> R version: 2.3.0
> GDAL version: 1.3.1.0 (installed from fink)
> PROJ.4 version: 4.4.8-4 (installed from fink)
>
> proj_api.h exists in /sw/include
> libproj.a exists in /sw/lib
>
> therefor I used the following commands to install:
>
> export CPPFLAGS="-I/sw/include"
> export LDFLAGS="-L/sw/lib"
> R CMD INSTALL rgdal_0.4-4.tar.gz
>
> what produced:
>
> [SNIP compilation errors]
>
> Apparently it still cannot find the proj_api.h, although
> the checks were ok.

Is it possible that such a generically named header file
actually is completely unrelated to the API in question?

> Any hints what I do wrong?

You put FINK on your OS X system and expected it to use
it for development with non-FINK software. Ditch FINK and
compile what you need yourself.

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)



More information about the R-SIG-Mac mailing list