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 #1
- Join Date
- Jan 2006
Gentoo 2006.1 - Cisco VPN Client installation issue
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-188.8.131.52 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:
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: Entering directory `/usr/src/linux-184.108.40.206' Makefile:441: .config: No such file or directory WARNING: Symbol version dump /usr/src/linux-220.127.116.11/Module.symvers is missing; modules will have no dependencies and modversions. Building modules, stage 2. /usr/src/linux-18.104.22.168/scripts/Makefile.modpost:38: .config: No such file or directory make: *** No rule to make target `.config'. Stop. make: *** [modules] Error 2 make: Leaving directory `/usr/src/linux-22.214.171.124' 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...
- 05-12-2007 #2
- Join Date
- May 2007
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.
Linux User #376741
Code is Poetry