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

James Pifer jep at obrien-pifer.com
Tue May 9 02:45:19 UTC 2006


On Mon, 2006-05-08 at 19:38 -0700, Kam Leo wrote:
> On 5/8/06, James Pifer <jep at obrien-pifer.com> 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 at 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 at laptop install]# rpm -ivh kernel-2.6.16-1.2096_FC5.src.rpm
> >    1:kernel                 ###########################################
> > [100%]
> >
> > [root at 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 at 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 at laptop install]# rpm -e kernel-smp-devel-2.6.16-1.2096_FC5
> > [root at laptop install]# rpm -e kernel-devel-2.6.16-1.2096_FC5
> > [root at laptop install]# rpm -qa | grep kernel
> > kernel-2.6.16-1.2096_FC5
> > kernel-smp-2.6.16-1.2096_FC5
> > [root at 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 at laptop install]#
> >
> 
> Upgrade the kernel and kernel-devel to the latest or do "yum install
> kernel-devel-$(uname -r).
> 

Hm, I get "No Match for argument: kernel-devel-2.6.16-1.2096_FC5smp".
I'll look at the latest kernel, but why wouldn't yum install the latest
one for me?




More information about the users mailing list