C header files location

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Dec 12 16:14:04 UTC 2006


On Fri, Dec 08, 2006 at 08:50:29PM -0500, chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org wrote:
> yum install linux-headers- 'uname -r'
> Setting up Install Process
> Setting up repositories
> updates-released          100% |=========================|  951 B    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> http://mirror.netglobalis.net/pub/fedora/core/4/i386/os/repodata/repomd.xml: 
> [Er
> rno 4] IOError: HTTP Error 404: Date: Sat, 09 Dec 2006 01:37:27 GMT
> Server: NOYB
> Content-Length: 313
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
> Trying other mirror.
> base                      100% |=========================| 1.1 kB    00:00
> Reading repository metadata in from local files
> primary.xml.gz            100% |=========================| 299 kB    00:02
> updates-re: ################################################## 782/782
> Added 782 new packages, deleted 0 old in 15.57 seconds
> primary.xml.gz            100% |=========================| 1.2 MB    00:10
> extras    : ################################################## 3988/3988
> Added 3988 new packages, deleted 0 old in 58.06 seconds
> primary.xml.gz            100% |=========================| 824 kB    00:06
> base      : ################################################## 2772/2772
> Added 2772 new packages, deleted 0 old in 36.80 seconds
> Parsing package install arguments
> No Match for argument: linux-headers-
> No Match for argument: uname -r
> Nothing to do
> [root at localhost ~]# vmware-config.pl
> Making sure VMware Workstation's services are stopped. 
> 
> Stopping VMware services:
>  Virtual machine monitor                                 [  OK  ] 
> 
> Trying to find a suitable vmmon module for your running kernel. 
> 
> None of VMware Workstation's pre-built vmmon modules is suitable for your
> running kernel.  Do you want this program to try to build the vmmon module 
> for
> your system (you need to have a C compiler installed on your system)? [yes] 
> yes 
> 
> Using compiler "/usr/bin/gcc". Use environment variable CC to override. 
> 
> What is the location of the directory of C header files that match your 
> running
> kernel? [/usr/src/linux/include] /usr/src/linux-headers- 'uname -r'/include 
> 
> The path "/usr/src/linux-headers- 'uname -r'/include" is not an existing
> directory. 
> 
> What is the location of the directory of C header files that match your 
> running
> kernel? [/usr/src/linux/include] 
> 
> I don't think that entirely worked. 

Well you are not on debian.  And I said you should expand `uname -r`
yourself before filling in the vmware question.  And ` and ' are not the
same thing.

I do not have fond memories of how redhat systems handle their
kernel packages, or any other packages in general.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list