Bug 473510 - libvirt 0.5.0 does not compile on RHEL/CentOS 5
Summary: libvirt 0.5.0 does not compile on RHEL/CentOS 5
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-29 00:04 UTC by Gerd v. Egidy
Modified: 2010-03-16 17:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-05 16:21:20 UTC
Embargoed:


Attachments (Terms of Use)
patch to use the correct function name depending on dbus version (1.03 KB, patch)
2008-11-29 00:20 UTC, Gerd v. Egidy
no flags Details | Diff

Description Gerd v. Egidy 2008-11-29 00:04:59 UTC
when compiling libvirt 0.5.0 on RHEL/CentOS 5 the compilation fails because 
dbus_watch_get_unix_fd() is not defined. The dbus 1.0.0 installed on these distos doesn't know this func yet and requires the old name of the same func dbus_watch_get_fd().

dbus_watch_get_fd() is deprecated but still available in current versions of dbus.

See http://dbus.freedesktop.org/doc/api/html/group__DBusWatch.html#g5982ecc2c22de76f3b40ac3a4c633843

Comment 1 Gerd v. Egidy 2008-11-29 00:20:56 UTC
Created attachment 325057 [details]
patch to use the correct function name depending on dbus version

Comment 2 Gerd v. Egidy 2008-12-05 16:21:20 UTC
fixed by checkin from daniel veillard,
see thread starting at
https://www.redhat.com/archives/libvir-list/2008-December/msg00176.html


Note You need to log in before you can comment on or make changes to this bug.