
On Jun 8, 2006, at 12:22 PM, sj wrote:

> 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


Given that it worked in /usr/local as you stated in your last post,  
my guess is that the make step doesn't respect the above flags. I  
didn't have a look at rgdal, but a very common mistake is to use  
CPPFLAGS/LDFLAG at configure time while not passing them to  
PKG_CPPFLAGS/PKG_LIBS.

Cheers,
Simon


	[[alternative HTML version deleted]]

