[R] R 2.1 installation on Mac OS 10.2

From: Georg Otto <georg.otto_at_tuebingen.mpg.de>
Date: Mon 23 May 2005 - 23:03:53 EST


Hi,

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
http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html

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?

Best,

Georg

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon May 23 23:08:11 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:00 EST