On Mon, Apr 12, 2010 at 7:20 PM, Laurent Gautier <lgaut...@gmail.com> wrote:
>
> On 4/12/10 7:46 PM, Peter wrote:
>>
>> Hi Laurent,
>>
>> Apologies if this is a bit curt/blunt - I'm running late and just
>> squeezed in an attempt to build rpy2 (from the zip file for 2.1.0rc)
>> before going home. It is mostly a list of questions I'm afraid.
>
> Sure. No problem. Busy here as well.
>
>> I've just tied to build it using the MS compiler under Python 2.6 (a
>> setup I know can build other Python packages with C code), and failed.
>>
>> First attempt:
>>
>> C:\Downloads\rpy2-2.1.0rc>c:\python26\python setup.py bdist_wininst
>> c:\python26\lib\distutils\dist.py:266: UserWarning: Unknown distribution
>> option:
>>  'install_requires'
>>   warnings.warn(msg)
>> running bdist_wininst
>> running build
>> running build_py
>> running build_ext
>> Error: Tried to guess R's HOME but no R command in the PATH.
>>
>> What is this install_requires warning about?
>
> Attempt at using "Distribute" (that was supposed to be be next unifying
> thing for package distribute... but might not be in the end - package
> distribution with Python is definitely not suffering from monotony). Just
> ignore it, I'll take it out for the release.

OK.

>> Why isn't rpy2 checking the registry to find R (a regression from rpy1)?
>
> It does, but only at run time.
>
> Building is a more advanced operation (and I filtering candidate that can't
> edit the %Path% out ;-) ).

Would you accept a patch to "fix" this?

>
> R likes mingw better, if I remember right. There are ever changing
> requirements about *the* right combination of tools for building R and
> packages and you will likely need them (or a subset thereof).
>

I have used the cygwin provided mingw for Python 2.5,  2.4, and 2.3 but
had issues with it for compiling (non-rpy) extensions for Python 2.6 (if I
recall correctly) and switched to using the MS compiler for Python 2.6.

>> What was the last version of R known to work with rpy2 on Windows XP 32
>> bit?
>
> R-2.9 on my end, I think.
>

Any idea how calling "R CMD config --cppflags" behaved? That seems to
be the stumbling block at the moment and has nothing to do with Python
or the compiler for rpy2. It could be something funny on my machine...

Peter

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to