1 |
I'm trying out GNAP 1.5 and have added ipsec-tools to |
2 |
specs/packages.conf so that I can create IPSec tunnels. I've also |
3 |
modified the kernel.config etc. When running gnap_make, it fails |
4 |
building the livecd stage 1 phase. The relevant parts of the gnap_make |
5 |
log file are: |
6 |
|
7 |
checking net/pfkeyv2.h usability... no |
8 |
checking net/pfkeyv2.h presence... no |
9 |
checking for net/pfkeyv2.h... no |
10 |
checking netinet/ipsec.h usability... no |
11 |
checking netinet/ipsec.h presence... no |
12 |
checking for netinet/ipsec.h... no |
13 |
checking for /usr/src/linux/include/linux/pfkeyv2.h... no |
14 |
checking for /usr/src/linux/include/linux/pfkeyv2.h... (cached) no |
15 |
configure: error: Unable to find linux-2.6 kernel headers |
16 |
|
17 |
!!! ERROR: net-firewall/ipsec-tools-0.4-r1 failed. |
18 |
!!! Function src_compile, Line 35, Exitcode 1 |
19 |
!!! (no error message) |
20 |
!!! If you need support, post the topmost build error, NOT this status |
21 |
message. |
22 |
|
23 |
<snip> |
24 |
Gentoo Catalyst, version 1.1.0 |
25 |
Copyright 2003-2004 The Gentoo Foundation |
26 |
Distributed under the GNU General Public License version 2 |
27 |
|
28 |
Using command line specified Catalyst configuration file, gnapcatalyst.conf |
29 |
Setting storedir to config file value "/var/images/gnap/IMAGE" |
30 |
Setting portdir to default value "/usr/portage" |
31 |
Setting distdir to config file value "/usr/portage/distfiles" |
32 |
|
33 |
|
34 |
Setting options to config file value "ccache pkgcache distcc" |
35 |
|
36 |
|
37 |
Setting sharedir to config file value "/usr/lib/catalyst" |
38 |
Compiler cache support enabled. |
39 |
Package cache support enabled. |
40 |
Distcc support enabled. |
41 |
Building natively for x86 |
42 |
Setting up directories... |
43 |
Running command "rm -rf |
44 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407" |
45 |
Unpacking stage tarball... |
46 |
Running command "tar xjpf |
47 |
/var/images/gnap/IMAGE/builds/gnap/stage3-x86-20050407.tar.bz2 -C |
48 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407" |
49 |
Unpacking portage tree snapshot... |
50 |
Running command "tar xjpf |
51 |
/var/images/gnap/IMAGE/snapshots/portage-20050407.tar.bz2 -C |
52 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/usr" |
53 |
Configuring profile link... |
54 |
Running command "rm -f |
55 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/make.profile" |
56 |
Running command "ln -sf ../usr/portage/profiles/uclibc/x86/hardened |
57 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/make.profile" |
58 |
Configuring /etc/portage... |
59 |
Running command "rm -rf |
60 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/portage" |
61 |
Running command "cp -R /var/images/gnap/gnap-1.5/specs//portage_confdir |
62 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/portage" |
63 |
Setting up chroot... |
64 |
Running command "cp /etc/resolv.conf |
65 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc" |
66 |
Running command "rm -f |
67 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/make.conf" |
68 |
Running command "/bin/bash |
69 |
/usr/lib/catalyst/targets/livecd-stage1/livecd-stage1.sh run 'hotplug' |
70 |
'metalog' 'vixie-cron' 'pciutils' 'usbutils' 'iputils' 'iproute2' |
71 |
'ipsec-tools' 'dnsmasq' 'cbqinit' 'htbinit' 'dropbear' 'tcpdump' 'dash' |
72 |
'shorewall' 'firehol' 'logrotate' 'livecd-tools' 'hwdata-knoppix' |
73 |
'genkernel' 'iftop' 'openvpn' 'hwsetup' 'openntpd' 'dnsmasq' 'rrdtool' |
74 |
'boa' 'rp-pppoe' 'traceroute' 'tcpdump' 'iptraf' 'bridge-utils' 'wget'" |
75 |
|
76 |
!!! catalyst: LiveCD stage1 build aborting due to error. |
77 |
!!! catalyst: could not complete build |
78 |
|
79 |
(sorry for the line wraps) |
80 |
|
81 |
my gnapcatalyst.conf has: |
82 |
|
83 |
storedir="/var/images/gnap/IMAGE" |
84 |
distdir="/usr/portage/distfiles" |
85 |
options="ccache pkgcache distcc" |
86 |
sharedir="/usr/lib/catalyst" |
87 |
|
88 |
Anyway, it appears that it can't find 2.6 headers. Anyone know how to |
89 |
fix that? I've tried symlinking |
90 |
/var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-20050407/usr/src/linux to |
91 |
/usr/src/linux-2.6.9. Obviously, that didn't work. So, can anyone |
92 |
explain to me where/how catalyst decides what linux headers to use when |
93 |
compiling tools? Perhaps it isn't even a catalyst problem. Any help or |
94 |
pointers would be much appreciated. |
95 |
|
96 |
-John |
97 |
|
98 |
-- |
99 |
gentoo-embedded@g.o mailing list |