Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

A quick search from yum for dbus fails to turn up the devel related package that should provide dbus.h et al. Anybody have experience locating the relevant package? Should I just resort to getting the dbus source itself?

share|improve this question

4 Answers 4

up vote 2 down vote accepted

You may need to set the subscription for the machine. In the RHN panel, select the machine and click on "Alter Channel Subscriptions." Check one of the channel entitlements. Run yum update and try again.

share|improve this answer

yum provides '*/dbus.h' will tell you what packages will provide dbus.h. In this case, its dbus-devel.

share|improve this answer
    
Plus one for the wildcard. Provides simply states no matches. Attempting to install dbus-devel results in no such package. Is there something on RHN that has to be switched on? Is there a repository or the like missing? –  casualunixer Apr 8 '11 at 23:46
1  
I use CentOS but the repo layout should be the same as RHEL AFAIK. dbus-devel is part of the updates repo which should be enabled by default. Can you get any packages from the updates repo? dbus is part of that repo so if you can install that you should be able to install dbus-devel. If nothing from updates is being downloaded make sure its not disabled someplace in /etc/yum.repos.d/. fgrep '[updates]' /etc/yum.repos.d/* will tell you where it is. Make sure there's no exclude line excluding it in /etc/yum.conf or anywhere in /etc/yum.repos.d/* –  mmckinst Apr 9 '11 at 3:41
    
I get no matches on the search you specified. The only file in yum.repos.d is rhel-debuginfo.repo. yum.conf contains only a section named [main], and the only thing interesting listed looks like: distroverpkg=redhat-release Is there a stanza for the update repo I can add? –  casualunixer Apr 10 '11 at 1:48

Using source instead of install worked for me:

$ sudo apt-get source dbus
share|improve this answer
    
RHEL doesn't ship with apt-get AFAIK –  Joril Nov 23 '12 at 15:22

Red hat development packages usually end in "-devel"

Have you had any luck with dbus-devel?

share|improve this answer
    
No luck. Is there a repository or option that needs to be enabled? There are other packages listed with -devel, so some are there. –  casualunixer Apr 8 '11 at 23:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.