Congratulations. Few have made it so far ;-) Chuck White wrote: > I have successfully compiled rpy2 2.0.6 on windows. Here are the > final steps: > > [1] install msys (MSYS-1.0.11-rc-1) and mingw32 (MinGW-5.1.4) and add > to path.
Installing the R tools can also take care of it. http://www.murdoch-sutherland.com/Rtools/ > [2] install Python binaries from python.org and NOT the activestate > version One more "gotcha" when building on win32. Thanks. > [3] In <python root>\Lib\distutils (a) put a files called > "distutils.cfg" which contains ===================== [build] compiler > = mingw32 ===================== Or use the switch --compiler=mingw32 > (b) change line 278 in unixcompiler.py compiler = > "gcc"#os.path.basename(sysconfig.get_config_var("CC")) Yes, this or the workaround sent earlier to the list. This is a bug in the Python lib, and it is still unresolved for Python-2.6.2 (http://bugs.python.org/issue2437) > [4] command line: python setup.py bdist_wininst > > rpy2-2.0.6 > > [1] added to rinterface.h extern uintptr_t R_CStackLimit; /* C stack > limit */ extern int R_SignalHandlers; extern Rboolean R_Interactive; Or work from R-2.9 sources, or snatch Rinterface.h from their include/ directory and add it to the include directory of your binary R install. > ------------------------ Took the longest time to figure out that > step 2 was the problem. I now have rpy2-2.0.6.win32-py2.5.exe and > rpy2-2.0.6.win32-py2.6.exe. Please send me an e-mail if you need the > 2.5 build. If requests, it can also be added to the SourceForge download page. L. > Thanks. > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge This is your chance to win > up to $100,000 in prizes! For a limited time, vendors submitting new > applications to BlackBerry App World(TM) will have the opportunity to > enter the BlackBerry Developer Challenge. See full prize details at: > http://p.sf.net/sfu/Challenge > _______________________________________________ rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list