It is looking like the setup script is too picky.
The following patch in setup.py should make work:
Index: setup.py
===================================================================
--- setup.py (revision 614)
+++ setup.py (working copy)
@@ -60,6 +60,9 @@
rconfig = rconfig.strip()
rconfig_m = re.match('^(-L.+) (-l.+)$', rconfig)
if rconfig_m is None:
+ # MacOSX
+ rconfig_m = re.match('^(-F.+) (-framework.+)$', rconfig)
+ if rconfig_m is None:
raise Exception(cmd + '\nreturned\n' + rconfig)
return rconfig_m.groups()
2008/8/7 Peter <[EMAIL PROTECTED]>:
> On Wed, Aug 6, 2008 at 9:46 PM, Laurent Gautier <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Rpy2 version 2.0.0-alpha2 was released.
>>
>> The beta release, and then the release, should arrive soon now.
>>
>> It is easier to make changes now that later (so do not wait too long
>> before giving feedback).
>
> Has anyone tried this on an Apple Mac? I downloaded and unzipped
> py2-2.0.0-a2.tar.gz then tried to build it as normal:
>
> $ python setup.py build
> Traceback (most recent call last):
> File "setup.py", line 137, in <module>
> ri_ext = getRinterface_ext(RHOME, r_packversion)
> File "setup.py", line 122, in getRinterface_ext
> get_rconfig(RHOME, 'LAPACK_LIBS') +\
> File "setup.py", line 63, in get_rconfig
> raise Exception(cmd + '\nreturned\n' + rconfig)
> Exception: "/Library/Frameworks/R.framework/Resources/bin/R" CMD
> config --ldflags
> returned
> -F/Library/Frameworks/R.framework/.. -framework R
>
> I have Python 2.5.2 and R version 2.7.0 (plus a working installation
> of rpy 1.0.3).
>
> Peter
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> rpy-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list