From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from slytherin.pacopablo.com (wbar10.sea1-4.27.234.17.sea1.dsl-verizon.net [4.27.234.17]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j38NHQNG021878 for ; Fri, 8 Apr 2005 23:17:26 GMT Received: from slytherin.pacopablo.com (localhost [127.0.0.1]) by slytherin.pacopablo.com (Postfix) with ESMTP id DFDC14BE2EA for ; Fri, 8 Apr 2005 16:17:44 -0700 (PDT) Received: from [10.11.11.177] (mail.imr-net.com [65.182.241.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by slytherin.pacopablo.com (Postfix) with ESMTP id 30AB34BE2E0 for ; Fri, 8 Apr 2005 16:17:44 -0700 (PDT) Message-ID: <425710F8.1010507@pacopablo.com> Date: Fri, 08 Apr 2005 16:17:12 -0700 From: John Hampton User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: [gentoo-embedded] GNAP 1.5 and ipsec-tools X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 546ed99f-242f-4490-83c8-9e95e6713948 X-Archives-Hash: 00f702f0c5aafb96de6e38a9968f5448 I'm trying out GNAP 1.5 and have added ipsec-tools to specs/packages.conf so that I can create IPSec tunnels. I've also modified the kernel.config etc. When running gnap_make, it fails building the livecd stage 1 phase. The relevant parts of the gnap_make log file are: checking net/pfkeyv2.h usability... no checking net/pfkeyv2.h presence... no checking for net/pfkeyv2.h... no checking netinet/ipsec.h usability... no checking netinet/ipsec.h presence... no checking for netinet/ipsec.h... no checking for /usr/src/linux/include/linux/pfkeyv2.h... no checking for /usr/src/linux/include/linux/pfkeyv2.h... (cached) no configure: error: Unable to find linux-2.6 kernel headers !!! ERROR: net-firewall/ipsec-tools-0.4-r1 failed. !!! Function src_compile, Line 35, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Gentoo Catalyst, version 1.1.0 Copyright 2003-2004 The Gentoo Foundation Distributed under the GNU General Public License version 2 Using command line specified Catalyst configuration file, gnapcatalyst.conf Setting storedir to config file value "/var/images/gnap/IMAGE" Setting portdir to default value "/usr/portage" Setting distdir to config file value "/usr/portage/distfiles" Setting options to config file value "ccache pkgcache distcc" Setting sharedir to config file value "/usr/lib/catalyst" Compiler cache support enabled. Package cache support enabled. Distcc support enabled. Building natively for x86 Setting up directories... Running command "rm -rf /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407" Unpacking stage tarball... Running command "tar xjpf /var/images/gnap/IMAGE/builds/gnap/stage3-x86-20050407.tar.bz2 -C /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407" Unpacking portage tree snapshot... Running command "tar xjpf /var/images/gnap/IMAGE/snapshots/portage-20050407.tar.bz2 -C /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/usr" Configuring profile link... Running command "rm -f /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/make.profile" Running command "ln -sf ../usr/portage/profiles/uclibc/x86/hardened /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/make.profile" Configuring /etc/portage... Running command "rm -rf /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/portage" Running command "cp -R /var/images/gnap/gnap-1.5/specs//portage_confdir /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/portage" Setting up chroot... Running command "cp /etc/resolv.conf /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc" Running command "rm -f /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-x86-20050407/etc/make.conf" Running command "/bin/bash /usr/lib/catalyst/targets/livecd-stage1/livecd-stage1.sh run 'hotplug' 'metalog' 'vixie-cron' 'pciutils' 'usbutils' 'iputils' 'iproute2' 'ipsec-tools' 'dnsmasq' 'cbqinit' 'htbinit' 'dropbear' 'tcpdump' 'dash' 'shorewall' 'firehol' 'logrotate' 'livecd-tools' 'hwdata-knoppix' 'genkernel' 'iftop' 'openvpn' 'hwsetup' 'openntpd' 'dnsmasq' 'rrdtool' 'boa' 'rp-pppoe' 'traceroute' 'tcpdump' 'iptraf' 'bridge-utils' 'wget'" !!! catalyst: LiveCD stage1 build aborting due to error. !!! catalyst: could not complete build (sorry for the line wraps) my gnapcatalyst.conf has: storedir="/var/images/gnap/IMAGE" distdir="/usr/portage/distfiles" options="ccache pkgcache distcc" sharedir="/usr/lib/catalyst" Anyway, it appears that it can't find 2.6 headers. Anyone know how to fix that? I've tried symlinking /var/images/gnap/IMAGE/tmp/gnap/livecd-stage1-20050407/usr/src/linux to /usr/src/linux-2.6.9. Obviously, that didn't work. So, can anyone explain to me where/how catalyst decides what linux headers to use when compiling tools? Perhaps it isn't even a catalyst problem. Any help or pointers would be much appreciated. -John -- gentoo-embedded@gentoo.org mailing list