Re: avahi failing with python dbus



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]