[R] Install RSPerl in Leopard

David Ochoa dogcaesar at gmail.com
Mon Jan 14 13:31:39 CET 2008


Hi,

I am having problems installing RSPerl 0.92-1 in my Mac OSX 10.5.1.
I´ve installed correctly R-2.6.1 with the .mpkg.
I run the next command: <R CMD INSTALL --configure-args='  --with-in- 
perl ' RSPerl>
And the next error message appears:



  RSPerl
* Installing to library '/Library/Frameworks/R.framework/Resources/ 
library'
* Installing *source* package 'RSPerl' ...
checking for perl... /usr/bin/perl
No support for any of the Perl modules from calling Perl from R.
*****************************************************

        Set PERL5LIB to /Library/Frameworks/R.framework/Resources/ 
library/RSPerl/perl

*****************************************************
Testing: -F/Library/Frameworks/R.framework/.. -framework R
Using '/usr/bin/perl' as the perl executable
Perl modules (no):
Adding R package to list of Perl modules to enable callbacks to R from  
Perl
Creating the C code for dynamically loading modules with native code  
for Perl:  R
modules:   R; linking:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
Support R in Perl: yes
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating inst/scripts/RSPerl.csh
config.status: creating inst/scripts/RSPerl.bsh
config.status: creating src/RinPerlMakefile
config.status: creating src/Makefile.PL
config.status: creating cleanup
config.status: creating src/R.pm
config.status: creating R/perl5lib.R
making target all in RinPerlMakefile
RinPerlMakefile:5: /Library/Frameworks/R.framework/Resources/etc/ 
Makeconf: No such file or directory
make: *** No rule to make target `/Library/Frameworks/R.framework/ 
Resources/etc/Makeconf'.  Stop.
calling make -f Makefile.perl install
make: Makefile.perl: No such file or directory
make: *** No rule to make target `Makefile.perl'.  Stop.
chmod: blib/lib/R.pm: No such file or directory
Finished configuration
** libs
** arch - i386
gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx- 
version-min=10.4 -std=gnu99 -no-cpp-precomp -I/Library/Frameworks/ 
R.framework/Resources/include -I/Library/Frameworks/R.framework/ 
Resources/include/i386 -I.  -arch i386 -arch ppc -g -pipe -fno-common - 
DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after- 
statement -I/usr/local/include  -I/System/Library/Perl/5.8.8/darwin- 
thread-multi-2level/CORE  -DPERL_POLLUTE   -D_R_=1 -DUSE_R=1 - 
DUSE_TOPLEVEL_EXEC=1 -DWITH_R_IN_PERL=1 -msse3    -fPIC  -g -O2 - 
march=nocona -c Converters.c -o Converters.o
cc1: error: invalid option ‘arch=nocona’
lipo: can't open input file: /var/folders/qc/qcR--kvAHYGoOkmr3ZNtvk++ 
+TM/-Tmp-//cclHWEBN.out (No such file or directory)
make: *** [Converters.o] Error 1
chmod: /Library/Frameworks/R.framework/Resources/library/RSPerl/libs/ 
i386/*: No such file or directory
ERROR: compilation failed for package 'RSPerl'
** Removing '/Library/Frameworks/R.framework/Resources/library/RSPerl'




Have I will changed any enviroment variable?
Can anybody help me?
Thanks



David




More information about the R-help mailing list