[STATSGRASS] Re: Building R GRASS interface for MacOS X 10.3 (Panther)

Markus Neteler neteler at itc.it
Sat Nov 1 06:12:50 EST 2003


Dear Roger,

I just tried compilation on Mac OSX, it compiled.

Markus

On Thu, Oct 30, 2003 at 09:18:31AM +0100, Roger Bivand wrote:
> Dear Thomas,
> 
> Unfortunately, I do not have access to Mac hardware/software, and am out 
> of my depth here. I am forwarding this to the small list within GRASS that 
> may have some experience - could anyone who has met such problems please 
> respond on-list so that the answers go into the archive?
> 
> Sorry not to be more direct help, please try out various solutions and let 
> us know about your progress, I'm sure more people will find your 
> experience useful.
> 
> Roger
> 
> On Wed, 29 Oct 2003, Thomas Adams wrote:
> 
> > Roger,
> > 
> > I'm trying to build the R GRASS interface for MacOS X 10.3 (Panther). I 
> > have built R Version 1.6.2  (2003-01-10) from CRAN sources - although, 
> > I thought I was building ver. 1.8, at least that's what the tar file 
> > indicated. When I try to use the command:
> > 
> > R CMD INSTALL GRASS
> > 
> > at the term prompt, I get the following error:
> > 
> > * Installing *source* package 'GRASS' ...
> > ** libs
> > gcc -no-cpp-precomp -I/usr/local/lib/R/include -DR_GRASS_INTERFACE 
> > -I./include -I/usr/local/include   -fno-common  -g -O2 -c R_G_init.c -o 
> > R_G_init.o
> > dyld: gcc version mismatch for library: /usr/local/lib/libiconv.2.dylib 
> > (compatibility version of user: 5.0.0 greater than library's version: 
> > 4.0.0)
> > make: *** [R_G_init.o] Trace/BPT trap
> > ERROR: compilation failed for package 'GRASS'
> > 
> > Somehow I have a dylib mismatch, but it's unclear to me why it's a 
> > problem. Is it because R is compiled with a different library that's 
> > older or what? Since I JUST built R and I am now trying to build your R 
> > GRASS library, I don't understand how there can be a problem with 
> > library incompatibilities.
> > 
> > Any suggestions will be helpful.
> > 
> > Regards,
> > Tom Adams
> > 
> > 
> 
> -- 
> Roger Bivand
> Economic Geography Section, Department of Economics, Norwegian School of
> Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
> Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
> e-mail: Roger.Bivand at nhh.no
> 
> 
> _______________________________________________
> statsgrass mailing list
> statsgrass at grass.itc.it
> http://grass.itc.it/mailman/listinfo/statsgrass

-- 
Markus Neteler     <neteler at itc.it>       http://mpa.itc.it
ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-stats mailing list