[solved] vmware cannot find kernel headers on arch linux
Wouldn't you know it? I set yesterday aside to get vmware working on my machine and the archlinux.org goes down for "maintenance" 10 minutes after I get started. And it's still down for maintenance. The frickin' thing had a wiki page specifically devoted to installing vmware! And forum topics related to my issue. Siiiiigh. Well, I am quickly losing patience since I would really like to set up vmware as quickly as possible, even though my issue is probably solved some where on archlinux.org.
Well, I'm running a completely updated Arch Linux. I have vmware workstation 6.5.2. It seemed to have installed fine, but when I run it it asks for the location of my kernel-headers so that it can compile some modules, and it can not find those kernel-headers. This isn't unexpected -- my experience with virtualbox is that it needs to compile modules to run as well, so why not? Anywho, it has a little box that asks me what location the headers are installed in, so I try a bunch of different paths and press 'install' at each one. None of them work. Specifically, I'm trying /lib/modules/2.6.30-ARCH/, /usr/src/linux-2.6.30-ARCH/, and various sub-directories therein (/lib/modules/2.6.30-ARCH/build, etc.) None of them work, of course. I have the kernel headers installed: Code:
[dunder@vertex ~]$ yaourt -Qi kernel-headers Code:
[dunder@vertex ~]$ yaourt -Qi kernel26 2.6.30-ARCH So what's wrong? Why can't I get vmware to compile its modules? Thanks. |
Hey thorjelly,
I dont know about arch linux but the package I usually need to install is kernel-devel ... HTH cheers |
There is no kernel-devel in arch; there are practically no dev or devel packages at all in Arch, because if I recall, development packages generally come standard in Arch and are included in the main packages. The kernel-headers package should contain what I need...
|
Of course, archlinux.org is back up and has the exact solution on its wiki.
Basically, just use 'sudo vmware-modconfig --console --install-all' instead of simply running vmware. A patch was needed for it to compile in 2.6.30 too, but that's a different matter, and the details on that was on the wiki too. |
All times are GMT -5. The time now is 03:39 AM. |