[R] R 2.1 installation on Mac OS 10.2

Georg Otto georg.otto at tuebingen.mpg.de
Mon May 23 15:03:53 CEST 2005


I am trying to install R 2.1 from source on a Mac 10.2.8, Darwin Kernel 
Version 6.8

According to the FAQ at  

I proceeded in the following manner:

>  ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua

This resulted in the following message:

> R is now configured for powerpc-apple-darwin6.8
>   Source directory:          .
>   Installation directory:    /Library/Frameworks
>   C compiler:                gcc  -g -O2
>   C++ compiler:              g++  -g -O2
>   Fortran compiler:          g77  -g -O2
>   Interfaces supported:      X11, aqua, tcltk
>   External libraries:        readline, BLAS(generic), LAPACK(in blas)
>   Additional capabilities:   PNG, JPEG, MBCS, NLS
>   Options enabled:           framework, R profiling
>   Recommended packages:      yes

make then gives me the following error message:

> config.status: creating src/unix/Makefile
> making dynload.d from dynload.c
> making edit.d from edit.c
> making stubs.d from stubs.c
> making system.d from system.c
> making sys-unix.d from sys-unix.c
> making sys-std.d from sys-std.c
> making X11.d from X11.c
> making aqua.d from aqua.c
> making dlfcn-darwin.d from dlfcn-darwin.c
> gcc -no-cpp-precomp -I. -I../../src/include -I../../src/include 
> -I/usr/X11R6/include -I/sw/include -I/usr/local/include 
> -DHAVE_CONFIG_H  -fno-common  -g -O2 -c dynload.c -o dynload.lo
> In file included from dynload.c:37:
> ../../src/include/Defn.h:886: error: parse error before "mbstate_t"
> make[3]: *** [dynload.lo] Error 1
> make[2]: *** [R] Error 2
> make[1]: *** [R] Error 1
> make: *** [R] Error 1

Could anyone give me a hint how to work around this?



P.S. I am on digest mode, cc´ing to me directly would be highly 

More information about the R-help mailing list