Gentoo Archives: gentoo-embedded

From: Johannes Bauer <dfnsonfsduifb@×××.de>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Cross compiling fails because of missing dependencies
Date: Wed, 21 Mar 2007 02:00:52
Message-Id: 4600915C.9040906@gmx.de
1 Hello list,
2
3 I'm currently trying to bootstrap a Gentoo system for use in an embedded
4 environment. My host PC is running x86_64 and the system I'm developing
5 for is i486.
6
7 So I set up a cross-compiler for i486-unknown-linux-gnu, which worked
8 just alright using crossdev. Then I unpacked the stage3 image and
9 portage snapshot. Tried to emerge openvpn:
10
11 # ROOT="/home/embedded/root/" CHOST="i486-unknown-linux-gnu"
12 CBUILD="x86_64-pc-linux-gnu" emerge openvpn
13
14
15 -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
16 [... Configure stuff ...]
17 LZO headers were not found
18 LZO library available from http://www.oberhumer.com/opensource/lzo/
19 configure: error: Or try ./configure --disable-lzo
20
21 !!! Please attach the following file when filing a report to
22 bugs.gentoo.org:
23 !!! /var/tmp/portage/net-misc/openvpn-2.0.6/work/openvpn-2.0.6/config.log
24
25 !!! ERROR: net-misc/openvpn-2.0.6 failed.
26 Call stack:
27 ebuild.sh, line 1614: Called dyn_compile
28 ebuild.sh, line 971: Called qa_call 'src_compile'
29 environment, line 3120: Called src_compile
30 openvpn-2.0.6.ebuild, line 49: Called econf
31 '--disable-password-save' '--enable-ssl' '--enable-crypto'
32 '--disable-pthread'
33 ebuild.sh, line 577: Called die
34
35 !!! econf failed
36 !!! If you need support, post the topmost build error, and the call
37 stack if relevant.
38 !!! A complete build log is located at
39 '/var/tmp/portage/net-misc/openvpn-2.0.6/temp/build.log'.
40 -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
41
42 However, the dependency configure seems to be missing (lzo) has been
43 compiled and installed just fine (dev-libs/lzo-2.02-r1).
44
45 Therefore it looks to me as if because of the changed "ROOT" emerge is
46 looking in the wrong directory for these header files. How can I solve this?
47
48 Thanks a lot,
49 Greetings,
50 Johannes
51 --
52 gentoo-embedded@g.o mailing list

Replies