You are not logged in.
Pages: 1
[root@LinuXanT patch-2.6.19]# pacman -Q | grep kernel
kernel-headers 2.6.18.1-1
kernel26 2.6.19-3
[root@LinuXanT patch-2.6.19]#
i wanted to install vmware
and there are no kernel sourcen
(
Offline
There are no sources, but necessary headers are in /lib/modules/2.6.19-ARCH/build or /usr/src/linux-2.6.19-ARCH. vmware installer is known to be stupid and not find them, there are many threads about this on these forums.
Offline
in both pathes are not sources
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include] /lib/modules/2.6.19-ARCH/buildThe path "/lib/modules/2.6.19-ARCH/build" is an existing directory, but it does
not contain a "linux" subdirectory as expected.What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include] /usr/src/linux-2.6.19-ARCHThe path "/usr/src/linux-2.6.19-ARCH" is an existing directory, but it does not
contain a "linux" subdirectory as expected.What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include]
[root@LinuXanT vmware-server-distrib]# ls /lib/modules/2.6.19-ARCH/build/lib/modules/2.6.19-ARCH/build
ls: Zugriff auf /lib/modules/2.6.19-ARCH/build/lib/modules/2.6.19-ARCH/build nicht möglich: Datei oder Verzeichnis nicht gefunden
[root@LinuXanT vmware-server-distrib]# ls /usr/src/linux-2.6.19-ARCH
Makefile arch crypto fs init lib net security usr
Module.symvers block drivers include kernel mm scripts sound
[root@LinuXanT vmware-server-distrib]#
Offline
As brain0 suggested - search the forum, the solution is there. There's a page in the wiki too, I think.
Offline
in both pathes are not sources
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include] /lib/modules/2.6.19-ARCH/build
Why don't you let it use that first suggestion? It's the same that you entered, but with /include/ appended.
Offline
if i use the appended /include/ it says wrong kernel headers...
i posted at beginning that "pacman -Q | grep kernel" said that there are no actual kernel sourcen/headers, so i think its a temporary problem because the headers are not in the repo's?
Offline
if i use the appended /include/ it says wrong kernel headers...
i posted at beginning that "pacman -Q | grep kernel" said that there are no actual kernel sourcen/headers, so i think its a temporary problem because the headers are not in the repo's?
As far as I have heard, this is a common problem with the vmware install scripts. Similar issues have been discussed very often on these forums.
Offline
i think its a temporary problem because the headers are not in the repo's?
Then I shudder to think what this command is finding...
[chris@marbles ~]$ find /usr/src/linux-2.6.19-ARCH/include/ | wc -l
4398
And I wonder what ".h" files it's finding as well...
[chris@marbles ~]$ find /usr/src/linux-2.6.19-ARCH/include/ | grep ".h$" | wc -l
3693
The kernel package is fine.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
As has been posted many times before , tell vmware-config.pl to use this directory :
/usr/src/linux-2.6.19-ARCH/include
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
same problem...
i think i 've found a solution
i will test it tomorrow
http://www.vmware.com/community/thread. … 30򁡢
Offline
I havn't used vmware for a while (actually stopped using it because of this vmware-config.pl mess), but I remember I edited the script so it skipped kernel version checking. Worked fine. I commented out these lines basically:
if (not ($header_version_uts eq $gSystem{'uts_release'})) {
if ($source eq 'user') {
print wrap('The directory of kernel headers (version '
. $header_version_uts . ') does not match your running '
. 'kernel (version ' . $gSystem{'uts_release'} . '). Even '
. 'if the module were to compile successfully, it would not '
. 'load into the running kernel.' . "nn", 0);
}
return '';
}
That might help.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
same problem...
i think i 've found a solution
i will test it tomorrow
http://www.vmware.com/community/thread. … 30򁡢
Thank you! It works perfectly with this little patch
Offline
which patch (of the two ones) u have used?
or are the two packages for different problems? i can't understand english perfectly sorry
Offline
which patch (of the two ones) u have used?
or are the two packages for different problems? i can't understand english perfectly sorry
At first i tried the last patch, and it would not work. So, the i did also the tasks from the first entry, and now it works.
Offline
is running suprising good
Offline
Pages: 1