Gentoo Archives: gentoo-dev

From: Aaron Crist <a.crist@××××××××××.edu>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Making an ebuild.
Date: Thu, 18 Sep 2003 20:54:41
Message-Id: 3F69D596.3050907@vanderbilt.edu
1 I am trying to make an ebuild for the coolest filemanager....thats
2 right..velocity ;)
3
4 Anyway, I have next to zero programming expereience (barring some small
5 shell scripts/html), so I am n00b.
6
7 Anyway, here is the error I get when emergeing the proggy. It
8 'configures' 'make's fine, but borks on 'make install'
9
10 Here is the output from the failed emerge:
11
12 /make[3]: Entering directory
13 `/var/tmp/portage/velocity-fm-0.1/work/velocity-0.1.0/scripts'
14 chmod a+x /usr/share/velocity/scripts/*
15 chmod: failed to get attributes of `/usr/share/velocity/scripts/*': No
16 such file or directory
17 make[3]: *** [install-data-hook] Error 1
18 make[3]: Leaving directory
19 `/var/tmp/portage/velocity-fm-0.1/work/velocity-0.1.0/scripts'
20 make[2]: *** [install-data-am] Error 2
21 make[2]: Leaving directory
22 `/var/tmp/portage/velocity-fm-0.1/work/velocity-0.1.0/scripts'
23 make[1]: *** [install-am] Error 2
24 make[1]: Leaving directory
25 `/var/tmp/portage/velocity-fm-0.1/work/velocity-0.1.0/scripts'
26 make: *** [install-recursive] Error 1/
27
28 /!!! ERROR: app-misc/velocity-fm-0.1 failed.
29 !!! Function src_install, Line 59, Exitcode 2
30 !!! (no error message)/
31
32 And here is the relevant part of the ebuild:
33
34 /src_compile() {
35 ./configure \
36 --host=${CHOST} \
37 --prefix=/usr \
38 --infodir=/usr/share/info \
39 --mandir=/usr/share/man || die "./configure failed"
40 emake || die
41 #make || die/
42
43 /}/
44
45 /src_install() {
46 make DESTDIR=${D} install || die
47 make \
48 prefix=${D}/usr \
49 mandir=${D}/usr/share/man \
50 infodir=${D}/usr/share/info \
51 mkdir usr/share/velocity/scripts
52 install || die
53 }/
54
55 Thanks (and I am sorry if this is the wrong mailing-list.) I figured
56 portage questions and such were more of devleoper issues.
57
58
59
60 --
61 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Making an ebuild. Thomas Preissler <tomjohn@×××.de>