1 |
I'm using the following for ebuild |
2 |
|
3 |
#P= |
4 |
A=${PN}-0.5.2.tar.bz2 |
5 |
S=${WORKDIR}/${PN}-0.52. |
6 |
# everything after this point identical to 0.5.0.ebuild |
7 |
DESCRIPTION="A lightweight email client and newsreader" |
8 |
SRC_URI="http://sylpheed.good-day.net/sylpheed/${A}" |
9 |
HOMEPAGE="http://sylpheed.good-day.net" |
10 |
|
11 |
DEPEND=">=x11-libs/gtk+-1.2 |
12 |
>=media-libs/compface-1.4 |
13 |
gnome? ( >=media-libs/gdk-pixbuf-0.10 ) |
14 |
nls? ( sys-devel/gettext )" |
15 |
|
16 |
RDEPEND=">=x11-libs/gtk+-1.2 |
17 |
gnome? ( >=media-libs/gdk-pixbuf-0.10 )" |
18 |
|
19 |
src_compile() { |
20 |
|
21 |
local myconf |
22 |
if [ -z "`use gnome`" ] ; then |
23 |
myconf="--disable-gdk-pixbuf --disable-imlib" |
24 |
fi |
25 |
if [ -z "`use nls`" ] ; then |
26 |
myconf="$myconf --disable-nls" |
27 |
fi |
28 |
try ./configure --prefix=/usr/X11R6 --host=${CHOST} --enable-ipv6 |
29 |
$myconf |
30 |
try make |
31 |
|
32 |
} |
33 |
|
34 |
src_install () { |
35 |
|
36 |
try make prefix=${D}/usr manualdir=${D}/usr/share/doc/${PF}/html |
37 |
install |
38 |
dodoc AUTHORS COPYING ChangeLog* NEWS README* TODO* |
39 |
|
40 |
|
41 |
I did these steps |
42 |
1) created the ebuild |
43 |
2) ebuild sylpheed-0.5.2.ebuild fetch |
44 |
3) ebuild sylpheed-0.5.2.ebuild digest |
45 |
4) emerge sylpheed-0.5.2.ebuild |
46 |
|
47 |
} |
48 |
|
49 |
When I run emerge I get |
50 |
>>> emerge net-mail/sylpheed-0.5.2 to / |
51 |
>>> md5 ;-) sylpheed-0.5.2.tar.bz2 |
52 |
>>> Unpacking source... |
53 |
>>> Unpacking sylpheed-0.5.2.tar.bz2 |
54 |
>>> Source unpacked. |
55 |
/usr/sbin/ebuild.sh: ./configure: No such file or directory |
56 |
|
57 |
!!! ERROR: the ./configure command did not complete successfully. |
58 |
!!! ("./configure --prefix=/usr/X11R6 --host=i486-pc-linux-gnu |
59 |
--enable-ipv6") |
60 |
!!! Since this is a critical task, ebuild will be stopped. |
61 |
|
62 |
!!! emerge aborting on |
63 |
/usr/portage/net-mail/sylpheed/sylpheed-0.5.2.ebuild . |
64 |
|
65 |
The source in /usr/tmp/portage/sylpheed-0.5.2/work/sylpheed-0.5.2 looks |
66 |
normal, and there is a configure file. |
67 |
|
68 |
Any clues? |
69 |
|
70 |
-- |
71 |
Collins Richey |
72 |
Denver Area |
73 |
Gentoo_rc5 XFCE |