On Apr 23, 4:52 pm, strogdon <[EMAIL PROTECTED]> wrote:

Hi,

> On my Gentoo box I unpacked the subject tarball, changed to the sage
> directory and did a make with the results:
>
> gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)
> ****************************************************
> ****************************************************
> RHOMES= []
> DEBUG= True
> Setting RHOMES to  ['/usr/lib64/R']
> RHOMES= []
> DEBUG= True
> Setting RHOMES to  ['/usr/lib64/R']
> Traceback (most recent call last):
> Traceback (most recent call last):
>   File "setup.py", line 106, in <module>
>   File "setup.py", line 106, in <module>
>         RVERSION = rpy_tools.get_R_VERSION(RHOME, force_exec=True)
> RVERSION = rpy_tools.get_R_VERSION(RHOME, force_exec=True)
>   File "/local/sage-3.0/spkg/build/rpy-1.0.1.p1/src/rpy_tools.py",
> line 99, in get_R_VERSION
>   File "/local/sage-3.0/spkg/build/rpy-1.0.1.p1/src/rpy_tools.py",
> line 99, in get_R_VERSION
>         " `%s'.\n" % rexec )
> " `%s'.\n" % rexec )
> RuntimeErrorRuntimeError: : Couldn't execute the R interpreter `/usr/
> lib64/R/bin/R'.
> Couldn't execute the R interpreter `/usr/lib64/R/bin/R'.
>
> Error building RPY -- Python interface to R.
> Error building RPY -- Python interface to R.

Do you have R installed in the system? Is RHOMES set? Do you have the
build log?

> I tried several corrective measures and the only one that allowed sage
> to build was to issue:
>
> RHOMES="`pwd`/local/lib/R" make
>
> However, the following test failed:
>
> sage -t  devel/sage/sage/stats/test.py

What did fail? Can you post the log of only that test?

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to