Re: [Rd] Rconfig.h & unsupported architectures

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Wed, 25 Jul 2012 18:46:16 -0500

On 25 July 2012 at 15:56, Hadley Wickham wrote:
| Hi all,
|
| Recently, when compiling R packages containing C code, I've started
| getting the following error:
|
| * installing to library ‘/Users/hadley/R’
| * installing *source* package ‘appdirs’ ...
| ** Creating default NAMESPACE file
| ** libs
| *** arch - i386
| gcc -arch i386 -std=gnu99
| -I/Library/Frameworks/R.framework/Resources/include
| -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG
| -I/usr/local/include -fPIC -g -O2 -c win-path.c -o win-path.o
| In file included from /Library/Frameworks/R.framework/Resources/include/R.h:34,
| from win-path.c:1:
| /Library/Frameworks/R.framework/Resources/include/Rconfig.h:13:2:
| error: #error "Unsupported architecture."
| In file included from
| /Library/Frameworks/R.framework/Resources/include/R_ext/RS.h:27,
| from /Library/Frameworks/R.framework/Resources/include/R.h:44,
| from win-path.c:1:
| /Library/Frameworks/R.framework/Resources/include/Rconfig.h:13:2:
| error: #error "Unsupported architecture."
|
| I'm on
|
| > sessionInfo()
| R version 2.15.1 (2012-06-22)
| Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
|
| And in case it helps:
|
| gcc --version
| i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
| build 5658) (LLVM build 2336.9.00)
|
| Any ideas about what I might have done to break this?

A quick grep for the string shows it pop up in pcre:

edd_at_max:~/src/debian/R/R-2.15.1/src$ grep "Unsupported arch" */*/* extra/pcre/pcre_jit_compile.c:#error Unsupported architecture edd_at_max:~/src/debian/R/R-2.15.1/src$

and it is the same in R-devel. Can you substitute a pre-built pcre library?

Dirk  

| Thanks!
|
| Hadley
|
|
| --
| Assistant Professor / Dobelman Family Junior Chair
| Department of Statistics / Rice University
|
http://had.co.nz/
|
| ______________________________________________
| R-devel_at_r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Dirk Eddelbuettel | edd@debian.org | http://dirk.eddelbuettel.com  

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 25 Jul 2012 - 23:48:28 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 26 Jul 2012 - 05:50:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive