[R] Problems with compiling rimage on macOS

Thomas Heine thomas.heine at enieh.com
Mon Sep 17 23:24:48 CEST 2007


hello,

i want to install the rimage package (0.5-7) into my R (2.5.1).
i installed the

"i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build  
5367)"

from the macOS cd and created symbolic links to gcc and g++.
well if i try now to install the package in R the console says:

g++
checking for C++ compiler default output... ** Removing '/Library/ 
Frameworks/R.framework/Versions/2.5/Resources/library/rimage'
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
ERROR: configuration failed for package 'rimage'

if i try the compile the source on my own i have access to this  
config.log but i cant really see something ... cause i have no idea :(

here is an excerpt which could be interesting cause here appear the  
first errors ...

-------------------

gcc version 4.0.1 (Apple Computer, Inc. build 5367)
configure:1399: $? = 0
configure:1401: g++ -V </dev/null >&5
g++: argument to `-V' is missing
configure:1404: $? = 1
configure:1428: checking for C++ compiler default output
configure:1431: g++    conftest.cc  >&5
i686-apple-darwin8-g++-4.0.1: installation problem, cannot exec 'as':  
No such fi
le or directory
configure:1434: $? = 1
configure: failed program was:
| #line 1407 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "rimage configuration script"
| #define PACKAGE_TARNAME "rimage-configuration-script"
| #define PACKAGE_VERSION "0.4"
| #define PACKAGE_STRING "rimage configuration script 0.4"
| #define PACKAGE_BUGREPORT "takashina.tomomi at nikon.co.jp"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1473: error: C++ compiler cannot create executables
See `config.log' for more details.

---------------

thanks for your help in advance.
thomas



More information about the R-help mailing list