Gentoo Archives: gentoo-dev

From: Dan Armak <ermak@×××××××××××××.il>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] ebuild error
Date: Wed, 11 Jul 2001 05:32:23
Message-Id: 01071114322402.00551@localhost
In Reply to: [gentoo-dev] ebuild error by Parag Mehta
1 On Wednesday 11 July 2001 14:07, you wrote:
2 > Hi,
3 >
4 > what are the reasons for this error to come :
5 >
6 > ebuild fping-2.4b1.ebuild digest
7 > !!! Name error in 2.4b1
8 > !!! Error: PF is null; exiting.
9 >
10 >
11 > the ebuild is as follows :
12 >
13 > P=fping-2.4b1.tar.gz
14 > S=${WORKDIR}/fping-2.4b1
15 > DESCRIPTION="A utility to ping multiple hosts at once"
16 > SRC_URI="ftp://ftp.kernel.org/pub/software/admin/mon/${P}.tar.gz"
17 > HOMEPAGE="http://www.stanford.edu/~schemers/docs/fping/fping.html"
18 >
19 > src_unpack() {
20 > unpack ${A}
21 > cp ${FILESDIR}/fping.c ${S}
22 > }
23 >
24 > src_compile() {
25 >
26 > cd ${S}
27 > try ./configure --prefix=/usr --host=${CHOST}
28 > try make
29 >
30 > }
31 >
32 > src_install () {
33 >
34 > cd ${S}
35 > dobin fping
36 > doman fping.8
37 > dodoc COPYING ChangeLog README
38 >
39 > }
40 >
41 >
42 > regards,
43 >
44 > pm
45 >
46 > _______________________________________________
47 > gentoo-dev mailing list
48 > gentoo-dev@××××××××××.org
49 > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
50
51 There are rules for naming ebuilds. Specifically, 2.4b1 isn't acceptable. Use
52 1.4_beta1 instead and it'll work. The reasons and rules for this are in one
53 of the tutorials somewhere :-)
54
55 HTH
56 Dan