Hi all,
I installed r-base, then tried to install its packages inside R environment,
with the error below. The binary version of R didn't have such error. Would
it be Fink's problem?
R version 2.11.0 (2010-04-22)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages("sp")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://essrc.hyogo-u.ac.jp/cran/src/contrib/sp_0.9-69.tar.gz'
Content type 'application/x-gzip' length 536637 bytes (524 Kb)
opened URL
==================================================
downloaded 524 Kb
* installing *source* package ‘sp’ ...
** libs
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c Rcentroid.c -o Rcentroid.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c gcdist.c -o gcdist.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c init.c -o init.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c pip.c -o pip.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c pip2.c -o pip2.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c sp_xports.c -o sp_xports.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c surfaceArea.c -o surfaceArea.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
-I/sw/include -fPIC -g -O2 -c zerodist.c -o zerodist.o
gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined
dynamic_lookup -single_module -multiply_defined suppress -L/sw/lib -o sp.so
Rcentroid.o gcdist.o init.o pip.o pip2.o sp_xports.o surfaceArea.o
zerodist.o -F/sw/Library/Frameworks/R.framework/.. -framework R -lintl
-Wl,-framework -Wl,CoreFoundation
ld: warning: in /sw/Library/Frameworks/R.framework/R, file was built for
i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libintl.dylib, file was built for i386 which is not
the architecture being linked (x86_64)
installing to
/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs
** R
** data
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so':
dlopen(/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so,
6): no suitable image found. Did find:
/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so:
mach-o, but wrong architecture
ERROR: loading failed
* removing
‘/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp’
The downloaded packages are in
‘/private/var/folders/FF/FFUvwZUMHNy0Shp4TusaJk+++TI/-Tmp-/RtmpRd78TR/downloaded_packages’
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("sp") :
installation of package 'sp' had non-zero exit status
>
--
BABA Yoshihiko
http://homepage.mac.com/babayoshihiko
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel