Results 1 to 3 of 3
Hi all,
I just installed Gentoo for the first time on another computer.
Problem is that I need to install the Cisco VPN Client to get on the internet. But ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-05-2007 #1Just Joined!
- Join Date
- Jan 2006
- Posts
- 35
Gentoo 2006.1 - Cisco VPN Client installation issue
Hi all,
I just installed Gentoo for the first time on another computer.
Problem is that I need to install the Cisco VPN Client to get on the internet. But to install I needed the kernel sources.
What I did was "emerge -Fp vanilla-sources" so I get the URLs. I downloaded from one of the mirrors and placed the patch and the kernel source in /usr/portage/distfiles.
After that I did "emerge vanilla-sources".
Then it got installed.
After that I had the sources installed in /usr/src/linux (symlink to the actual directory which is linux-2.6.17.6 or something like that).
Then I started the vpn installer.
It detected the kernelsources good.
But then I get this error which stops the compilation:
Can someone help me with this?Code:Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved. By installing this product you agree that you have read the license.txt file (The VPN Client license) and will comply with its terms. Directory where binaries will be installed [/usr/local/bin] Automatically start the VPN service at boot time [no]yes Directory containing runlevel directories (rcX.d): []/etc/init.d In order to build the VPN kernel module, you must have the kernel headers for the version of the kernel you are running. Directory containing linux kernel source code [/usr/src/linux] * Binaries will be installed in "/usr/local/bin". * Modules will be installed in "/lib/modules/2.6.17-gentoo-r7/CiscoVPN". * The VPN service will be started AUTOMATICALLY at boot time. * Kernel source from "/usr/src/linux" will be used to build the module. * Runlevels will be set in "/etc/init.d". Is the above correct [y] Making module make -C /usr/src/linux SUBDIRS=/home/gvm/Desktop/vpnclient modules make[1]: Entering directory `/usr/src/linux-2.6.17.6' Makefile:441: .config: No such file or directory WARNING: Symbol version dump /usr/src/linux-2.6.17.6/Module.symvers is missing; modules will have no dependencies and modversions. Building modules, stage 2. /usr/src/linux-2.6.17.6/scripts/Makefile.modpost:38: .config: No such file or directory make[2]: *** No rule to make target `.config'. Stop. make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17.6' make: *** [default] Error 2 Failed to make module "cisco_ipsec.ko".
Or can give me some advice?
Keep in mind that I cant get on the internet directly from that computer.(I need to download packages from another computer and copy them with scp).
And I can't use the vpnc or what is it of linux. It does not work on our network.
THanks in advance...
Kind regards!
- 05-12-2007 #2Just Joined!
- Join Date
- May 2007
- Posts
- 1
why don't you use the net-misc/cisco-vpnclient-3des ebuild?
Place the source file in /usr/portage/disfiles (replace with your own). for my client from my university i had to rebuild the digest.
Why do you installed vanilla-sources? Do you have already a customized KERNEL?
gentoo-sources dependency is imo resolved through vpn ebuild. so you only need kernel version you have installed in /usr/src/linux symlink with same config of current kernel.
- 05-12-2007 #3
When you emerge the kernel sources, it "installs" them for you. You have to build and install the kernel itself, but the ebuild will put them in the right spot and unpack them for you. Then, you go patch the sources yourself, then build the kernel.
You could always just download the sources from kernel.org, unpack them, patch them, and build them yourself without using portage. I have done that a few time myself. Then you could install whatever program you want. You don't have to use portage to install the kernel.
Just because you put the patch in /usr/portage/distfiles does not mean it patched your kernel, unless you have written a custom ebuild yourself. It is simple to patch the sources once you get them unpacked. If you want to patch the sources with a patch that isn't included, then you must do it manually. Portage won't autopatch something that isn't written in the ebuild.
Oh, and in case you didn't know, the 2007.0 profile is stable now, and I suggest you use that. You don't have to reinstall, just switch to the new profile. Instructions on how to do it are in the gentoo handbook.


Reply With Quote
