Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] make only builds X86_64 code
Date: Tue, 16 Jun 2009 22:22:04
Message-Id: 1245190921.31372.11.camel@hangover
In Reply to: Re: [gentoo-embedded] make only builds X86_64 code by Stephen Feyrer
1 On Tue, 2009-06-16 at 23:00 +0100, Stephen Feyrer wrote:
2 > Ned Ludd wrote:
3 > > On Tue, 2009-06-16 at 21:24 +0100, Stephen Feyrer wrote:
4 > >> Sven Rebhan wrote:
5 > >>> 2009/6/16 Stephen Feyrer <steve@××××××××.uk>:
6 > >>>> Hi.
7 > >>>>
8 > >>>> Both your tests below worked okay.
9 > >>>>
10 > >>>> ./configure --prefix /opt --target=armv5tel-softfloat-linux-gnueabi
11 > >>>> --host=armv5tel-softfloat-linux-gnueabi --build=x86_64-pc-linux-gnu
12 > >>>>
13 > >>>> Now runs to the point of:
14 > >>>>
15 > >>>> checking pkg-config is at least version 0.9.0... no
16 > >>>> checking for SSL... configure: error: in
17 > >>>> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
18 > >>>> configure: error: The pkg-config script could not be found or is too
19 > >>>> old. Make sure it
20 > >>>> is in your PATH or set the PKG_CONFIG environment variable to the full
21 > >>>> path to pkg-config.
22 > >>> Yes you can do all this by hand. However I would suggest to try
23 > >>>
24 > >>> emerge-armv5tel-softfloat-linux-gnueabi --root-deps=rdeps dovecot
25 > >>>
26 > >>> A up-to-date guide on how to setup the stuff can be found here:
27 > >>>
28 > >>> http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling (see steps 6, 7 and 9)
29 > >>>
30 > >>>> http://dev.gentoo.org/~vapier/eh/index.xml?part=1&chap=5
31 > >>>> This http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5
32 > >>> This is really old and not up-to-date anymore!
33 > >>>
34 > >>> Does the emerge line above work for you?
35 > >>>
36 > >>> Sven
37 > >>>
38 > >>>
39 > >>>
40 > >> echo ">=net-mail/dovecot-1.1.16" >>
41 > >> /usr/armv5tel-softfloat-linux-gnueabi/etc/portage/package.unmask
42 > >> echo ">=net-mail/dovecot-1.1.16" >>
43 > >> /usr/armv5tel-softfloat-linux-gnueabi/etc/portage/package.keywords
44 > >>
45 > >> emerge-armv5tel-softfloat-linux-gnueabi --root-deps=rdeps -p dovecot
46 > >>
47 > >> These are the packages that would be merged, in order:
48 > >>
49 > >> Calculating dependencies... done!
50 > >>
51 > >> !!! All ebuilds that could satisfy "net-mail/dovecot" have been masked.
52 > >> !!! One of the following masked packages is required to complete your
53 > >> request:
54 > >> - net-mail/dovecot-1.1.16 (masked by: missing keyword)
55 > >> - net-mail/dovecot-1.1.7-r1 (masked by: missing keyword)
56 > >
57 > >
58 > > I pointed this out to you in the last thread you started about dovecot.
59 > > Everything still applies.
60 >
61 > Hi Ned.
62 >
63 > I am still using the values that you provided.
64 >
65 > I did something yesterday to screw up autoconf which is why I started a
66 > new thread.
67 >
68 > At the time I thought I had a new problem which was not related to
69 > ./configure (since as it then appeared ./configure was playing nicely)
70 > this it turns out was because of what ever it was that I'd screwed up.
71 >
72 >
73 > As per your instructions I get:
74 >
75 > armv5tel-softfloat-linux-gnueabi-emerge --root-deps=rdeps -v1 "$@dovecot"
76 >
77 > These are the packages that would be merged, in order:
78 >
79 > Calculating dependencies... done!
80 >
81 > !!! All ebuilds that could satisfy "net-mail/dovecot" have been masked.
82 > !!! One of the following masked packages is required to complete your
83 > request:
84 > - net-mail/dovecot-1.1.16 (masked by: missing keyword)
85 > - net-mail/dovecot-1.1.7-r1 (masked by: missing keyword)
86
87 > Tomorrow I will change overlay to Openmoko, I'll see what happens then.
88
89
90 You seem to be ignoring the line which had the accepted keywords in it.
91 Please look at the mail more carefully.
92
93 Good luck.
94
95 --
96 Ned Ludd <solar@g.o>
97 Gentoo Linux