View previous topic :: View next topic |
Author |
Message |
DrKayBee Tux's lil' helper
Joined: 11 May 2004 Posts: 143 Location: Columbus, OH
|
Posted: Thu May 13, 2004 1:54 pm Post subject: Not in portage - R - Software for statistical computing |
|
|
I've been looking for R (www.r-project.org) but it is not in portage. Also as per some other posts I tried to see if it is in bugs.gentoo.org but it is incredibly hard to search on just 'R'. What to do?
What does it take to write an ebuild on one's own? |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Hayl Guru
Joined: 28 Jan 2003 Posts: 442 Location: Calgary, Alberta, Canada
|
Posted: Thu May 13, 2004 2:21 pm Post subject: |
|
|
Code: | # Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-misc/R/R-1.9.0.ebuild,v 1.0 2004/05/12 17:02:15 ddicks Exp $
inherit eutils
DESCRIPTION="R - Statistical Computing"
HOMEPAGE="http://www.r-project.org/mail.shtml"
SRC_URI="http://probability.ca/cram/src/base/R-1.9.0.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="mpeg4"
DEPEND=""
src_unpack() {
unpack ${A}
}
src_install() {
einstall || die
dodoc README
}
|
That is a start for you, it works and starts to compile but fails after a while on:
Code: | dataentry.c: In function `GetKey':
dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible pointer type
dataentry.c: In function `GetCharP':
dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible pointer type
dataentry.c: In function `doControl':
dataentry.c:1302: warning: passing arg 4 of `XLookupString' from incompatible pointer type
make[4]: *** [dataentry.lo] Error 1 |
I dont use the app so that is as far as I'm taking it. (it may even be failing because I have xorg, I dunno)
I didn't include deps in the ebuild either.
OOPS! Guess I shoudl have searched portage my self before posting it. Oh well, you have an example basic ebuild to make new ones from if you ever need to now |
|
Back to top |
|
|
DrKayBee Tux's lil' helper
Joined: 11 May 2004 Posts: 143 Location: Columbus, OH
|
Posted: Thu May 13, 2004 2:53 pm Post subject: Thanks both of you |
|
|
R compiled fine with "emerge R"
It's still hard to look it up using the -S / -s option - and admittedly I should have simply done the obvious emerge R first. But I've been looking for it in app-sci, which is not where it is. Maybe we can put a pointer to dev-lang in there?
thanks again.
KB |
|
Back to top |
|
|
yuza Apprentice
Joined: 17 Dec 2003 Posts: 210 Location: Rome, in front of my comp...
|
Posted: Thu May 13, 2004 5:48 pm Post subject: |
|
|
I was also searching for R in portage a while ago... but when I found it in dev-lang I had already downloaded the source and compiled it myself
Really great piece of software by the way... |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
|
Back to top |
|
|
|