Re: avahi failing with python dbus
- From: "Justin Conover" <justin conover gmail com>
- To: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- Cc: garnome-list <garnome-list gnome org>
- Subject: Re: avahi failing with python dbus
- Date: Fri, 11 May 2007 15:30:30 -0500
On 5/11/07, Justin Conover <justin conover gmail com> wrote:
On 5/11/07, Justin Conover <
justin conover gmail com> wrote:
On 5/11/07, Justin Conover <
justin conover gmail com> wrote:
On 3/1/07, Joseph E. Sacco, Ph.D. <
joseph_sacco comcast net> wrote:
Justin,
So the problem is with the build of freedesktop/dbus-python.
Hmmm... I wonder if the configuration process is picking up one or more
apps out of your distro in place of apps from GARNOME. Take a look at
the build log and makefiles for dbus-python.
-Joseph
=================================================
On Thu, 2007-03-01 at 11:53 -0600, Justin Conover wrote:
> [justin comatose desktop]$ echo $GARNOME
> /opt/garnome-unstable/
> [justin comatose desktop]$ PYTHONPATH=
> $GARNOME/lib/python2.4/site-packages:
> $GARNOME/lib/python2.4/site-packages/gtk-2.0 python
> Python 2.4.4 (#1, Oct 23 2006, 13:58:18)
> [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> import dbus
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File
> "/opt/garnome-unstable/lib/python2.4/site-packages/dbus/__init__.py",
> line 180, in ?
> import dbus.exceptions as exceptions
> File
> "/opt/garnome-unstable/lib/python2.4/site-packages/dbus/exceptions.py", line 8, in ?
> import _dbus_bindings
> ImportError: No module named _dbus_bindings
>
>
> On 3/1/07, Joseph E. Sacco, Ph.D. <joseph_sacco comcast net> wrote:
> Justin,
>
> Run an experiment to see if ./freedesktop/dbus-python built
> and
> installed correctly. [You are building with 'make
> paranoid-install',
> right??? :-)]
>
> Assuming that:
> * the root of your GARNOME install is $GARNOME
> * the version of python is 2.4
>
> run the following sequence of commands:
>
> % PYTHONPATH=$GARNOME/lib/python2.4/site-packages:
> $GARNOME/lib/python2.4/site-packages/gtk-
2.0 python
>
> >>> import sys
> >>> import dbus
>
> -Joseph
>
> ===============================================================
> On Thu, 2007-03-01 at 09:31 -0600, Justin Conover wrote:
> > checking for LIBDAEMON... yes
> > checking whether /usr/bin/python version >= 2.4... yes
> > checking for /usr/bin/python version...
2.4
> > checking for /usr/bin/python platform... linux2
> > checking for /usr/bin/python script directory...
> > ${prefix}/lib/python2.4/site-packages
> > checking for /usr/bin/python extension module directory...
> > ${exec_prefix}/lib64/python2.4/site-packages
> > checking for python module gtk... yes
> > checking for python module dbus... no
> > configure: error: Could not find Python module dbus
> > make: *** [configure-work/main.d/avahi-0.6.17/configure]
> Error 1
> >
> >
> > freedesktop/dbus-python Is installed
> >
> > FC6 x64
> > dbus-devel.x86_64
> > dbus-devel.i386
> > dbus-python.x86_64
> --
> joseph_sacco [at] comcast [dot] net
>
> --
> garnome-list mailing list
> garnome-list gnome org
>
http://mail.gnome.org/mailman/listinfo/garnome-list
>
--
joseph_sacco [at] comcast [dot] net
--
garnome-list mailing list
garnome-list gnome org
http://mail.gnome.org/mailman/listinfo/garnome-list
I never got this fixed on FC6, and have the problem with CentOS 5 now too. Is the only way around this is to remove garnome(what has worked). Install
python-2.5 and start over? What exactly to you put in gar.conf.make?
Just change these settings and maybe PKG_CONFIG?
# If you want to use a different version of python everywhere
# change this
PYTHON = $(shell which python)
PYVER = $(shell $(PYTHON) -c "import sys; print sys.version[:3]")
PYTHONPATH=$(main_libdir)/python$(PYVER)/site-packages:$(main_libdir)/python$(PYVER)/site-packages/gtk-2.0
I went ahead and blew out all traces of garnome and installed
python-2.5.1 into /usr/local and just want to verify I have the correct settings in
gar.conf.mkThank you,
Oh, I only changed this:
PYTHON = /usr/local/bin/python
Last time I reply to my self ..... :)
This too?
PYTHONPATH=$(main_libdir)//usr/local/lib/python2.5/site-packages:$(main_libdir)/python$(PYVER)/site-packages/gtk-
2.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]