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-22.214.171.124 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
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]
make -C /usr/src/linux SUBDIRS=/home/gvm/Desktop/vpnclient modules
make: Entering directory `/usr/src/linux-126.96.36.199'
Makefile:441: .config: No such file or directory
WARNING: Symbol version dump /usr/src/linux-188.8.131.52/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
/usr/src/linux-184.108.40.206/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-220.127.116.11'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Can someone help me with this?
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...