No "dbus" service on RHEL-5
I'm trying to install SBackup from source on RHEL-5. Red Hat's Python was only 2.4.3, and would not compile SBackup correctly (failed several places on "finally:"). So I downloaded and built Python 2.7 - got by that one.
Unfortunately, there is no "dbus" service (or script in /etc/init.d). "make install" fails with:
...
if test "" = ""; then gtk-update-
Cache file created successfully.
Cache file created successfully.
Cache file created successfully.
install -d /etc/dbus-
install -m 644 data/org.
dbus: unrecognized service
make: *** [install-dbus] Error 1
The operative section of the Makefile appears to be:
install-dbus:
install -d $(dbus_
install -m 644 data/$(
@if test "$(DISABLE_
if [ -x $(servicetool) ]; then \
else if [ -r /etc/init.d/dbus ]; then \
invoke-rc.d dbus force-reload; fi; fi; \
fi
where "servicetool" should resolve to the location of the service command.
-----
Well, I got through that problem by changing my make install to:
make DISABLE_
I then ran into a problem with sbackupconfig:
Traceback (most recent call last):
File "/usr/local/
from sbackup.pkginfo import Infos
File "/usr/local/
from sbackup import util
File "/usr/local/
from sbackup.util import local_file_utils
File "/usr/local/
from sbackup.util import pathparse
File "/usr/local/
from sbackup.util import system
File "/usr/local/
import glib
ImportError: No module named glib
There does not seem to be a "glib" module in Python-2.7 or sbackup.
-----
Any ideas? Or is this package so full of Ubuntu-isms that it cannot be used on Red Hat?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- sbackup Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2010-10-04
- Last reply:
- 2010-10-05
Jean-Peer Lorenz (peer.loz) said : | #1 |
Hi Pete,
no, there is not a single Ubuntu-ism in SBackup. You need to install a recent version of package 'python-gobject'. It is a part of Glib,
the core library used to build GTK+ and GNOME. This package contains the Python bindings for GObject. Have a look at the Install file for further information about dependencies.
HTH,
Jean-Peer.
Pete Matthews (petem) said : | #2 |
Ah, YAP. The food chain is getting a little long, to install this on Red Hat's production OS.
We have a network backup system, but the system in question is off-network. I'm going to roll my own with dump/restore, I think. I just want to plug in a USB disk (or alternations thereof) and back up the data in a sensible way. I should be able to do that with a script. If I get stuck, I may be back.
Thanks for your help - Pete
Can you help with this problem?
Provide an answer of your own, or ask Pete Matthews for more information if necessary.