Gentoo 2006.1 - Cisco vpnclient install problem (no Makefile.modpost))
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: Code:
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer 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! |
Makefile:441: .config: No such file or directory
This means you did not use these sources for your current kernel, the .config file is missing. |
Quote:
I used the tar.bz2 ones that emerge told me to use. And I also used uname -r. Those matched. Could it give problems for compiling if I accidentally installed the gentoo-sources (with emerge) but accidentally placed the vanilla files in /usr/portage/distfiles? (I downloaded from an ftp who is not in the list). Thanks for your reply! |
I think it wants to parse your .config file to make sure you have all necessary options enabled in kernel. make menuconfig will produce one, so install may work (or may not), afterwards it has to work with your real kernel ... it won't if there is version mismatch or a necessary feature is missing.
|
Quote:
Or is there some file that holds the settings from the current kernel/or a basic config (I used the live/install cd without internet connection)? I know in RedHat you have such a files. But I don't know if that's the case in Gentoo and how you call these files. Thank you for your quick response! |
Try /proc/config.gz, can't say for sure, never used genkernel myself.
|
Quote:
Can't I just use precompiled kernel sources (I probably only need the headers to compile the VPN CLient)? Or should I really recompile the kernel? In /proc/config.gz is the actual configuration of the kernel, am I right? But how can I load this into make menuconfig? Tried with make menuconfig filename-of-copy-of-config.gz. I tried to compile but now I get a bunch of errors. So probably there is still something missing. So I need the kernel headers <<OR>> I need to recompile the kernel. Is this really necessary? Greetings! |
Can't I just use precompiled kernel sources (I probably only need the headers to compile the VPN CLient)?
Yes, you can. Just make sure it is exactly same version. Headers do not suffice. config.gz is obviously a gzip archive, did you unpack it? |
All times are GMT -5. The time now is 06:00 PM. |