Gentoo Archives: gentoo-user-de

From: Juergen Rose <rose@××××××××××××××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Ebuild schreiben und econf-Fehler
Date: Wed, 18 Feb 2009 14:55:23
Message-Id: 1234968869.24353.11.camel@lynx.ibmt.intern
In Reply to: Re: [gentoo-user-de] Ebuild schreiben und econf-Fehler by Justin
1 On Mi, 2009-02-18 at 12:07 +0100, Justin wrote:
2 > Juergen Rose schrieb:
3 > > Am Mittwoch, den 18.02.2009, 11:20 +0100 schrieb Justin:
4 > >> Juergen Rose schrieb:
5 > >>> Hallo,
6 > >>>
7 > >>> ich will ein ebuild fuer shogun schreiben. Meine Test-Version
8 > >>> funktioniert aber nicht, weil econf dem configure-Script die Option
9 > >>> --host=x86_64-pc-linux-gnu
10 > >>> uebergibt, welches diese nicht akzeptiert:
11 > >>>
12 > >>> emerge -vD shogun
13 > >>> ...
14 > >>> * Installed are: gfortran
15 > >>>>>> Unpacking source...
16 > >>>>>> Unpacking shogun-0.6.7.tar.bz2
17 > >>> to /var/tmp/portage/sci-mathematics/shogun-0.6.7/work
18 > >>>>>> Source unpacked
19 > >>> in /var/tmp/portage/sci-mathematics/shogun-0.6.7/work
20 > >>>>>> Compiling source
21 > >>> in /var/tmp/portage/sci-mathematics/shogun-0.6.7/work/shogun-0.6.7 ...
22 > >>> ./configure --prefix=/usr --host=x86_64-pc-linux-gnu
23 > >>> --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
24 > >>> --sysconfdir=/etc --localstatedir=/var/lib --interface=cmdline
25 > >>> --interface=python-modular --interface=python --interface=r
26 > >>> --interface=octave --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
27 > >>> Running configure for SHOGUN version 0.6.7
28 > >>>
29 > >>> Error: Unknown parameter: --host=x86_64-pc-linux-gnu
30 > >>>
31 > >>> Kann mir jemand sagen, wie ich econf ueberzeugen kann, dem configure
32 > >>> diese Option nicht zu uebergeben?
33 > >>>
34 > >>> Ungeduldig auf Antwort wartend
35 > >>> Juergen
36 > >>>
37 > >>>
38 > >>>
39 > >>>
40 > >> Gar nicht. du mußt configure von hand aufrufen.
41 > >
42 > > Schade, ich haette shogun gerne mit emerge installiert.
43 > >
44 > >
45 > >
46 > >
47 > Nein, du mußt so was machen wie:
48 >
49 > src_compile() {
50 >
51 > ./configure \
52 > --prefix=/usr \
53 > --mandir=/usr/share/man \
54 > --infodir=/usr/share/info \
55 > --datadir=/usr/share \
56 > --sysconfdir=/etc \
57 > --localstatedir=/var/lib \
58 > --enable-foo \
59 > || die "configure failed"
60 >
61 > emake || die "make failed"
62 > }
63 >
64 >
65 >
66 > Gute hilfe für sowas bekommst du in #gentoo-dev-help oder #gentoo-sunrise
67
68 Danke fuer die Tips. #gentoo-dev-help hat mir auch noch ein Stueck
69 weitergeholfen.