Re: VMware wants C headers at /usr/src/linux/include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/8/06, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
On Mon, 2006-05-08 at 21:04 -0500, Les Mikesell wrote:
> On Mon, 2006-05-08 at 19:39, Ed Greshko wrote:
>
> > > I've installed both src and devel packages for my kernel on FC5. I still
> > > don't have anything at /usr/src/linux/include, which is where vmware
> > > player is looking for the C headers.
> > >
> > > Can anyone tell me which packages I might be missing?
> >
> > Sounds like you are installing Vmware where Linux is the host OS.
> >
> > You need to download
> > http://ftp.cvut.cz/vmware/vmware-any-any-update101.tar.gz
> >
> > Unpack it and read the documentation.
>
> You also need the kernel-devel package to exactly match
> the running kernel.  For some reason mine didn't work until
> I removed it and let yum install it over again.
>
> --

Here's the weird thing. See the commands below. I can remove the devel
packages I have installed. Then if I run yum install kernel-devel, it
tries to install the wrong devel package.

Any ideas? Thanks.
James

[root@laptop install]# uname -a
Linux laptop.domain.com 2.6.16-1.2096_FC5smp #1 SMP Wed Apr 19 05:31:55
EDT 2006 i686 i686 i386 GNU/Linux

[root@laptop install]# rpm -ivh kernel-2.6.16-1.2096_FC5.src.rpm
   1:kernel                 ###########################################
[100%]

[root@laptop install]# rpm -qa | grep kernel
kernel-2.6.16-1.2096_FC5
kernel-smp-devel-2.6.16-1.2096_FC5
kernel-smp-2.6.16-1.2096_FC5
kernel-devel-2.6.16-1.2096_FC5

[root@laptop install]# rpm -qa | grep kernel
kernel-2.6.16-1.2096_FC5
kernel-smp-devel-2.6.16-1.2096_FC5
kernel-smp-2.6.16-1.2096_FC5
kernel-devel-2.6.16-1.2096_FC5

[root@laptop install]# rpm -e kernel-smp-devel-2.6.16-1.2096_FC5
[root@laptop install]# rpm -e kernel-devel-2.6.16-1.2096_FC5
[root@laptop install]# rpm -qa | grep kernel
kernel-2.6.16-1.2096_FC5
kernel-smp-2.6.16-1.2096_FC5
[root@laptop install]# yum install kernel-devel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
dries
[1/7]
freshrpms
[2/7]
livna
[3/7]
updates
[4/7]
atrpms-stable
[5/7]
base
[6/7]
extras
[7/7]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-devel to pack into transaction set.
kernel-devel-2.6.16-1.211 100% |=========================| 981 kB
00:00
---> Package kernel-devel.i686 0:2.6.16-1.2111_FC5 set to be installed
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository
Size
=============================================================================
Installing:
 kernel-devel            i686       2.6.16-1.2111_FC5  updates
4.7 M

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 4.7 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
[root@laptop install]#


Upgrade the kernel and kernel-devel to the latest or do "yum install
kernel-devel-$(uname -r).

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux