Ideas, certainly. Commitment, I'd like to see more of it ;-)

https://bitbucket.org/lgautier/rpy2/issue/27/patch-to-fix-build-on-win32


On 2011-10-06 00:39, Hajas, Wayne wrote:

I'm trying to get RPY2 working with python 2.7. I downloaded the .tar file and extracted the installation directories.

When I tried to run setup.py I got error messages (listed below). By the looks of things I am missing files or I am getting the wrong versions of files.

Does anybody have ideas how I can get RPY2 2.2 installed on PYTHON 2.7?

Thanks very much,

Wayne Hajas
Pacific Biological Station
Nanaimo, British Columbia
V9T 6N7
(250)753-7367
wayne.ha...@dfo-mpo.gc.ca

c:\rtools\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/wingdi.h:313:1: warning: this is the location of the previous

definition
.\rpy\rinterface\_rinterface.c:66:24: error: Rinterface.h: No such file or directory .\rpy\rinterface\_rinterface.c:79:31: error: readline/readline.h: No such file or directory
In file included from .\rpy\rinterface\_rinterface.c:117:
.\rpy\rinterface\/na_values.c:206: error: initializer element is not constant .\rpy\rinterface\/na_values.c:206: error: (near initialization for 'NAInteger_Type.tp_base') .\rpy\rinterface\/na_values.c:400: error: initializer element is not constant .\rpy\rinterface\/na_values.c:400: error: (near initialization for 'NALogical_Type.tp_base') .\rpy\rinterface\/na_values.c:582: error: initializer element is not constant .\rpy\rinterface\/na_values.c:582: error: (near initialization for 'NAReal_Type.tp_base') .\rpy\rinterface\/na_values.c:681: error: initializer element is not constant .\rpy\rinterface\/na_values.c:681: error: (near initialization for 'NACharacter_Type.tp_base') .\rpy\rinterface\/na_values.c:845: error: initializer element is not constant .\rpy\rinterface\/na_values.c:845: error: (near initialization for 'NAComplex_Type.tp_base')
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: In function 'EmbeddedR_CleanUp':
.\rpy\rinterface\_rinterface.c:906: warning: implicit declaration of function 'jump_to_toplevel' .\rpy\rinterface\_rinterface.c:926: error: 'R_Interactive' undeclared (first use in this function) .\rpy\rinterface\_rinterface.c:926: error: (Each undeclared identifier is reported only once .\rpy\rinterface\_rinterface.c:926: error: for each function it appears in.)
.\rpy\rinterface\_rinterface.c: In function 'EmbeddedR_init':
.\rpy\rinterface\_rinterface.c:1157: warning: assignment from incompatible pointer type .\rpy\rinterface\_rinterface.c:1159: warning: assignment from incompatible pointer type .\rpy\rinterface\_rinterface.c:1177: error: 'R_SignalHandlers' undeclared (first use in this function) .\rpy\rinterface\_rinterface.c:1186: error: 'R_Interactive' undeclared (first use in this function) .\rpy\rinterface\_rinterface.c:1207: error: 'R_CStackLimit' undeclared (first use in this function) .\rpy\rinterface\_rinterface.c:1207: error: 'uintptr_t' undeclared (first use in this function) .\rpy\rinterface\_rinterface.c:1247: warning: implicit declaration of function 'strndup' .\rpy\rinterface\_rinterface.c:1247: warning: incompatible implicit declaration of built-in function 'strndup' .\rpy\rinterface\_rinterface.c:1247: error: 'rl_completer_word_break_characters' undeclared (first use in this function)

.\rpy\rinterface\_rinterface.c:1250: error: 'rl_basic_word_break_characters' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to