Matthew R. Lee wrote:
On Saturday 24 February 2007 18:50, Patrice Beaud wrote:
Matthew R. Lee a écrit :
I've just installed the science overlay because I want to use rkward
However when I try "emerge -pv rkward" it tells me there are no ebuilds
to satisfy ">=sci-libs/lapack-3.0"
This is the first time I've used an overlay, so is this a bug in the
ebuild of rkward or am I missing something?

Matt
It seems like the ebuild is outdated... (Note: I didn't know however
RKward existed. Thank you!)

 I make a:
cp -a /usr/portage/local/layman/science/sci-mathematics/rkward/
/usr/local/portage/sci-mathematics/

Change the name of the ebuild from rkward-0.3.7_pre1.ebuild to
rkward-0.4.6.ebuild.


Modify the ebuild:

10c10
< SRC_URI="http://rkward.sourceforge.net/temp/rkward-0.3.7pre1.tar.gz";
---

 > SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

17c17
< DEPEND=">=sci-libs/lapack-3.0
---

 > DEPEND=">=virtual/lapack-3.0

27c27
<       mv rkward-0.3.7pre1 rkward-0.3.7_pre1 || die
---

 > #     mv rkward-0.3.7pre1 rkward-0.3.7_pre1 || die

run
ebuild /usr/local/portage/sci-mathematics/rkward/rkward-0.4.6.ebuild digest


I started emerging and it stops with a sandbox violation:
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE =
"/var/log/sandbox/sandbox-sci-mathematics_-_rkward-0.4.6-14654.log"

open_wr:   /usr/qt/3/etc/settings/.qtrc.lock
open_wr:   /usr/qt/3/etc/settings/.qtrc.lock
---------------------------------------------------------------------------
-----

I continue without sandbox... :-(
RKward was installed and it works.


Thank you (I can try R) and Good luck !
   Patrice

Patrice,
Thanks for the help. I made some modifications to the ebuild and I too now have rkward-0.4.6 running. I didn't encounter the same problem with the sand box, which is just as well as I don't know how to run an ebuild without the sandbox :-) Given that this ebuild is a. out of date, and b. doesn't work. Is there anyone maintaining it? I would volunteer, but I have zero experience of putting ebuilds together. If someone who knows what they are doing was available on the end of the email to answer my (bleedin' obvious questions, I'm just a marine ecologist :-)) I'd give it a go. I'd like to learn how to create ebuilds as there are other packages in addition to rkward that I'd like to see in the tree, like xtides

Matt
I'm a little curious about something ... does "rkward" actually require an external Lapack, or is this optional? The reason I ask is that R itself *contains* a copy of Lapack, and the R developers have deprecated linking against external Lapack libraries!

--
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given rabbits 
fire.

--
[email protected] mailing list

Reply via email to