Hi,
I have the following message when I attempt to install rpy2 from terminal
window.
Last login: Mon Nov 14 10:01:28 on console
iMac-de-Jose-Carlos-Guerrero-Antunez-5:~ joseca_IMac$ easy_install rpy2
Searching for rpy2
Reading http://pypi.python.org/simple/rpy2/
Reading http://rpy.sourceforge.net
Best match: rpy2 2.2.4
Downloading
http://pypi.python.org/packages/source/r/rpy2/rpy2-2.2.4.tar.gz#md5=0192a3c05d8d97971e2bcf888944aff5
Processing rpy2-2.2.4.tar.gz
Running rpy2-2.2.4/setup.py -q bdist_egg --dist-dir
/var/folders/ZI/ZILrLuSdG3uvcRwKJxojRU+++TI/-Tmp-/easy_install-xiFd5y/rpy2-2.2.4/egg-dist-tmp-l3tkpF
Configuration for R as a library:
include_dirs: ('/Library/Frameworks/R.framework/Resources/include',
'/Library/Frameworks/R.framework/Resources/include/x86_64')
libraries: ('Rblas', 'Rlapack')
library_dirs: ('/Library/Frameworks/R.framework/Resources/lib/x86_64',)
extra_link_args: ('-framework R', '-F/Library/Frameworks/R.framework/..')
# OSX-specific (included in extra_link_args)
framework_dirs: ('-F/Library/Frameworks/R.framework/..',)
frameworks: ('-framework R',)
warning: no previously-included files matching '*patch*' found anywhere in
distribution
warning: no previously-included files matching '*diff*' found anywhere in
distribution
warning: no previously-included files matching '.hg' found anywhere in
distribution
no previously-included directories found matching 'dist'
In file included from ./rpy/rinterface/_rinterface.c:63:
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:657:
warning: function declaration isn’t a prototype
In file included from ./rpy/rinterface/_rinterface.c:74:
/Library/Frameworks/R.framework/Resources/include/R_ext/Rdynload.h:26:
warning: function declaration isn’t a prototype
In file included from ./rpy/rinterface/_rinterface.c:122:
./rpy/rinterface/sequence.c: In function ‘VectorSexp_ass_slice’:
./rpy/rinterface/sequence.c:542: warning: unused variable ‘sexp_item’
./rpy/rinterface/sequence.c:542: warning: unused variable ‘tmp’
./rpy/rinterface/sequence.c:541: warning: unused variable ‘vs’
./rpy/rinterface/sequence.c:478: warning: unused variable ‘self_typeof’
./rpy/rinterface/_rinterface.c: At top level:
./rpy/rinterface/sequence.c:2173: warning: ‘ComplexVectorSexp_AsSexp’
defined but not used
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ShowFiles’:
./rpy/rinterface/_rinterface.c:738: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_FlushConsole’:
./rpy/rinterface/_rinterface.c:592: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ReadConsole’:
./rpy/rinterface/_rinterface.c:460: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_WriteConsole’:
./rpy/rinterface/_rinterface.c:318: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ShowMessage’:
./rpy/rinterface/_rinterface.c:392: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_CleanUp’:
./rpy/rinterface/_rinterface.c:886: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ChooseFile’:
./rpy/rinterface/_rinterface.c:636: warning: ‘gstate’ may be used
uninitialized in this function
In file included from
/Library/Frameworks/R.framework/Resources/include/R.h:34,
from ./rpy/rinterface/_rinterface.c:61:
/Library/Frameworks/R.framework/Resources/include/Rconfig.h:5:25: error:
ppc/Rconfig.h: No such file or directory
In file included from ./rpy/rinterface/_rinterface.c:62:
/Library/Frameworks/R.framework/Resources/include/Rversion.h:5:26: error:
ppc/Rversion.h: No such file or directory
In file included from ./rpy/rinterface/_rinterface.c:63:
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:657:
warning: function declaration isn’t a prototype
In file included from ./rpy/rinterface/_rinterface.c:74:
/Library/Frameworks/R.framework/Resources/include/R_ext/Rdynload.h:26:
warning: function declaration isn’t a prototype
In file included from ./rpy/rinterface/_rinterface.c:100:
./rpy/rinterface/r_utils.h:13: error: ‘R_MAJOR’ undeclared here (not in a
function)
./rpy/rinterface/r_utils.h:13: error: ‘R_MINOR’ undeclared here (not in a
function)
./rpy/rinterface/r_utils.h:13: error: ‘R_STATUS’ undeclared here (not in a
function)
./rpy/rinterface/r_utils.h:14: error: ‘R_SVN_REVISION’ undeclared here (not
in a function)
In file included from ./rpy/rinterface/_rinterface.c:122:
./rpy/rinterface/sequence.c: In function ‘VectorSexp_ass_slice’:
./rpy/rinterface/sequence.c:542: warning: unused variable ‘sexp_item’
./rpy/rinterface/sequence.c:542: warning: unused variable ‘tmp’
./rpy/rinterface/sequence.c:541: warning: unused variable ‘vs’
./rpy/rinterface/sequence.c:478: warning: unused variable ‘self_typeof’
In file included from ./rpy/rinterface/_rinterface.c:63:
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:657:
warning: function declaration isn’t a prototype
In file included from ./rpy/rinterface/_rinterface.c:74:
/Library/Frameworks/R.framework/Resources/include/R_ext/Rdynload.h:26:
warning: function declaration isn’t a prototype
In file included from ./rpy/rinterface/_rinterface.c:122:
./rpy/rinterface/sequence.c: In function ‘VectorSexp_ass_slice’:
./rpy/rinterface/sequence.c:542: warning: unused variable ‘sexp_item’
./rpy/rinterface/sequence.c:542: warning: unused variable ‘tmp’
./rpy/rinterface/sequence.c:541: warning: unused variable ‘vs’
./rpy/rinterface/sequence.c:478: warning: unused variable ‘self_typeof’
./rpy/rinterface/_rinterface.c: At top level:
./rpy/rinterface/sequence.c:2173: warning: ‘ComplexVectorSexp_AsSexp’
defined but not used
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ShowFiles’:
./rpy/rinterface/_rinterface.c:738: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_FlushConsole’:
./rpy/rinterface/_rinterface.c:592: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ReadConsole’:
./rpy/rinterface/_rinterface.c:460: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_WriteConsole’:
./rpy/rinterface/_rinterface.c:318: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ShowMessage’:
./rpy/rinterface/_rinterface.c:392: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_CleanUp’:
./rpy/rinterface/_rinterface.c:886: warning: ‘gstate’ may be used
uninitialized in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ChooseFile’:
./rpy/rinterface/_rinterface.c:636: warning: ‘gstate’ may be used
uninitialized in this function
lipo: can't open input file:
/var/folders/ZI/ZILrLuSdG3uvcRwKJxojRU+++TI/-Tmp-//ccGhHSfq.out (No such
file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit
status 1
iMac-de-Jose-Carlos-Guerrero-Antunez-5:~ joseca_IMac$
Best regards,
--
################################################################
Dr. José Carlos Guerrero
Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio
(LDSGAT)
Instituto de Ecología y Ciencias Ambientales (IECA)
Facultad de Ciencias
Universidad de la República
Montevideo-URUGUAY
################################################################
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list