[R-sig-Geo] spgrass6 build error on Mac OS X
Roland Kaiser
roland.kaiser at sbg.ac.at
Wed Jan 23 15:13:27 CET 2008
I did the following to get it run on Tiger (R version 2.6.1
(2007-11-26)):
Installed
GDAL 1.5 Framework from kyngchaos
PROJ 4.6 Framework from kyngchaos
additionally compiled PROJ 4.6.0 from source
and used /usr/local/lib as path to libproj.a
I'm not quite sure if mixing installations is correct usage,
but I didn't get it compile using PROJ 4.6 Framework alone
because libproj.a seems to be missing.
The following did the job without problems:
R CMD INSTALL /Users/roli/Desktop/rgdal_0.5-22.tar.gz --configure-
args='--with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/
1.5/Programs/gdal-config --with-proj-include=/Library/Frameworks/
PROJ.framework/Versions/4.6/unix/include --with-proj-lib=/usr/local/lib'
R CMD INSTALL /Users/roli/Desktop/spgrass6_0.4-4.tar.gz
I hope this help?
Roland
Am 23.01.2008 um 14:13 schrieb Ken Nussear:
> I picked up an rgdal binary from kyngchaos here just yesterday...
>
> http://www.kyngchaos.com/files/software/unixport/rgdal-0.5.15-1.zip
>
> and was able install the binary, and then install spgrass6 from
> source no problem, running R 2.6.1 and R gui 1.23 - devel (4901) and
> Mac OS 10.5.1
>
>
> Ken
>
>
>>
>>
>> Message: 8
>> Date: Wed, 23 Jan 2008 03:54:53 -0600
>> From: Thomas Juntunen <tmj at visi.com>
>> Subject: Re: [R-sig-Geo] spgrass6 build error on Mac OS X
>> To: Thomas.Adams at noaa.gov
>> Cc: r-sig-geo at stat.math.ethz.ch
>> Message-ID: <20080123035453296121.f1158b0f at visi.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> On Tue, 22 Jan 2008 23:28:45 -0500, Thomas.Adams at noaa.gov wrote:
>>
>>> I am attempting to build spgrass6 on MacOS X 10.5.1 (Leopard) on a
>>> 2.33. GHz
>>> Intel Core Duo MacBook Pro.
>> [...]
>>> I have "Install dependencies" checked, so rgdal is downloaded and
>>> attempts to
>>> build first. (No MacOS X binaries are available).
>>
>> William Kyngesburye provides many UNIX frameworks as OS X binaries
>> on his web
>> site:
>> http://www.kyngchaos.com/wiki/software:frameworks
>>
>> As of this writing he still has rgdal for R 2.5. He also has advice
>> for
>> compiling under OS X.
>>
>>
>>> ** libs
>>>
>> *****************************************
>
>
>
>>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list