Hi All,
I am trying to install rpy2 (2.2.6) on mac os x 10.6.8 with python 2.7 and R 
2.14.1.
I think all my env variables are correct but I still get the underlying error. 
I think I previously solved it by forcing it to compile with arch x86_64 - but 
I can't remember what I did. Can anyone help?

Thanks,
Yair

~$ easy_install rpy2
Searching for rpy2
Reading http://pypi.python.org/simple/rpy2/
Reading http://rpy.sourceforge.net
Best match: rpy2 2.2.6
Downloading 
http://pypi.python.org/packages/source/r/rpy2/rpy2-2.2.6.tar.gz#md5=32d73a3e4acb915ce15d958c9092dcb8
Processing rpy2-2.2.6.tar.gz
Writing 
/var/folders/HU/HUM+PVEdFU8FgIU8u5qB+k+++TI/-Tmp-/easy_install-UIkMqK/rpy2-2.2.6/setup.cfg
Running rpy2-2.2.6/setup.py -q bdist_egg --dist-dir 
/var/folders/HU/HUM+PVEdFU8FgIU8u5qB+k+++TI/-Tmp-/easy_install-UIkMqK/rpy2-2.2.6/egg-dist-tmp-G4GNIC
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:79:
/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:132:
./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:748: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_FlushConsole’:
./rpy/rinterface/_rinterface.c:602: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ReadConsole’:
./rpy/rinterface/_rinterface.c:470: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_WriteConsole’:
./rpy/rinterface/_rinterface.c:328: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ShowMessage’:
./rpy/rinterface/_rinterface.c:402: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_CleanUp’:
./rpy/rinterface/_rinterface.c:896: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ChooseFile’:
./rpy/rinterface/_rinterface.c:646: 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:79:
/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:110:
./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:132:
./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:79:
/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:132:
./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:748: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_FlushConsole’:
./rpy/rinterface/_rinterface.c:602: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ReadConsole’:
./rpy/rinterface/_rinterface.c:470: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_WriteConsole’:
./rpy/rinterface/_rinterface.c:328: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ShowMessage’:
./rpy/rinterface/_rinterface.c:402: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_CleanUp’:
./rpy/rinterface/_rinterface.c:896: warning: ‘gstate’ may be used uninitialized 
in this function
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ChooseFile’:
./rpy/rinterface/_rinterface.c:646: warning: ‘gstate’ may be used uninitialized 
in this function
lipo: can't open input file: 
/var/folders/HU/HUM+PVEdFU8FgIU8u5qB+k+++TI/-Tmp-//cclnDZS2.out (No such file 
or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit 
status 1


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to