Gentoo Archives: gentoo-embedded

From: Stephen Feyrer <steve@××××××××.uk>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] make only builds X86_64 code
Date: Tue, 16 Jun 2009 20:25:47
Message-Id: 4A37FF90.1020503@toth.org.uk
In Reply to: Re: [gentoo-embedded] make only builds X86_64 code by Sven Rebhan
1 Sven Rebhan wrote:
2 > 2009/6/16 Stephen Feyrer <steve@××××××××.uk>:
3 >> Hi.
4 >>
5 >> Both your tests below worked okay.
6 >>
7 >> ./configure --prefix /opt --target=armv5tel-softfloat-linux-gnueabi
8 >> --host=armv5tel-softfloat-linux-gnueabi --build=x86_64-pc-linux-gnu
9 >>
10 >> Now runs to the point of:
11 >>
12 >> checking pkg-config is at least version 0.9.0... no
13 >> checking for SSL... configure: error: in
14 >> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
15 >> configure: error: The pkg-config script could not be found or is too
16 >> old. Make sure it
17 >> is in your PATH or set the PKG_CONFIG environment variable to the full
18 >> path to pkg-config.
19 >
20 > Yes you can do all this by hand. However I would suggest to try
21 >
22 > emerge-armv5tel-softfloat-linux-gnueabi --root-deps=rdeps dovecot
23 >
24 > A up-to-date guide on how to setup the stuff can be found here:
25 >
26 > http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling (see steps 6, 7 and 9)
27 >
28 >> http://dev.gentoo.org/~vapier/eh/index.xml?part=1&chap=5
29 >> This http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5
30 >
31 > This is really old and not up-to-date anymore!
32 >
33 > Does the emerge line above work for you?
34 >
35 > Sven
36 >
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 For more information, see the MASKED PACKAGES section in the emerge
58 man page or refer to the Gentoo Handbook.
59
60
61 Emerge would be easier but I need this version or newer of dovecot and
62 second the ebuild doesn't list ARM as a platform that it can build for
63 so unmasking and using keywords doesn't help.
64
65 I should point out that scratchbox can build this version of dovecot but
66 it doesn't architecture that scratchbox supports isn't compatible with
67 with my target, so I know it can be done. And I don't intend to stop
68 here either today dovecot tomorrow I build the WORLD! (exim, also not
69 available in portage for ARM).
70
71
72 I don't want you to think that I am arrogant, stubborn and single
73 minded, I am but that is not the point.

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies