[CentOS] VmWare Installation -- Where is C header directory, please?

Benjamin Sher delphi123 at zebra.net
Mon Apr 16 17:51:16 UTC 2007


On Tuesday 17 April 2007 01:25, John R Pierce wrote:
> rpm -ql kernel-devel | grep /include/ | more

Dear John:

Thank you so much for your kind help. I successfully installed perl-devel from 
yum but looks like I am stuck. Would appreciate your help.

Thanks again.

Benjamin

[root at localhost sher]# yum install perl-devel
Loading "installonlyn" plugin
Loading "skip-broken" plugin
Loading "downloadonly" plugin
Loading "allowdowngrade" plugin
Loading "tsflags" plugin
Loading "protectbase" plugin
Loading "fastestmirror" plugin
Loading "fedorakmod" plugin
Loading "changelog" plugin
Loading "kernel-module" plugin
Loading "priorities" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
0 packages excluded due to repository protections
0 packages excluded due to repository priority protections
Parsing package install arguments
Nothing to do
[root at localhost sher]#                    


[sher at localhost ~]$ rpm -ql kernel-devel | grep /include/ | more
[sher at localhost ~]$ whereis include
include: /usr/local/include
[sher at localhost ~]$ su
Password:
[root at localhost sher]# rpm -ql kernel-devel | grep /include/ | more


What is the location of the directory of C header files that match your 
running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/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]

The path "/usr/src/linux/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] /usr/local/include

The path "/usr/local/include" 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? [/usr/src/linux/include]

The path "/usr/src/linux/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]       



-- 
Sher's Russian Web
http://www.websher.net
Benjamin Sher
sher07 at mindspring.com



More information about the CentOS mailing list