Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39274 - ipsec-tools doesnt build without kernel-module support
Summary: ipsec-tools doesnt build without kernel-module support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-24 11:45 UTC by Jens Gutzeit
Modified: 2004-02-21 15:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Gutzeit 2004-01-24 11:45:57 UTC
ipsec-tools searches for the kernel include files in directorys that dont exist on machines that dont have module support in the kernel.

checking for /lib/modules/2.6.1-rc1/build/include/linux/pfkeyv2.h... no
checking for /usr/src/devel-2.5/devel/include/linux/pfkeyv2.h... no

of course this could be fixed with a symlink, but I think a fix in the configure scripts would be more clean.
Comment 1 Jonathan Voigt 2004-01-26 09:49:35 UTC
On my system, adding this to the ebuild made it compile with kernel module support disabled:

/usr/portage/net-firewall/ipsec-tools/ipsec-tools-0.2.2.ebuild:
line 24 was: ./configure --prefix=/usr --sysconfdir=/etc || die

line 24 new: ./configure --prefix=/usr --sysconfdir=/etc --with-kernel-headers=/usr/src/linux/include || die

Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-02-21 15:18:16 UTC
This was fixed two weeks ago for all the ipsec-tools ebuilds. Thanks.