Re: avahi compile issues on x86_64/python 2.4



Adam,

Your import test exercises the distro version of dbus-python, not the
GARNOME version.


A few things to check...

* make sure that ./freedesktop/dbus-python built and installed

* see where GARNOME is installing python things

        - $garnome/lib/python-2.4/site-packages
        - $garnome/lib64/python-2.4/site-packages
        
and adjust PYTHONPATH in gar.conf.mk accordingly.


To re-run your import test for the GARNOME build of dbus-python, use

$ PYTHONPATH=xxxxxxxxx python
>>> import dbus

-Joseph

========================================================================

On Mon, 2007-06-11 at 14:41 -0400, adam wrote:
> Hi,
> 
> Attempting to compile garnome 2.19.3 on x86_64 and receiving this error :
> 
> 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[6]: *** [configure-work/main.d/avahi-0.6.17/configure] Error 1
> make[6]: Leaving directory `/home/adam/garnome/garnome-2.19.3/freedesktop/avahi'
> make[5]: *** [../../freedesktop/avahi/cookies/main.d/install] Error 2
> make[5]: Leaving directory
> `/home/adam/garnome/garnome-2.19.3/platform/gnome-vfs'
> make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
> make[4]: Leaving directory `/home/adam/garnome/garnome-2.19.3/platform/libgnome'
> make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
> make[3]: Leaving directory
> `/home/adam/garnome/garnome-2.19.3/platform/libbonoboui'
> make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
> make[2]: Leaving directory
> `/home/adam/garnome/garnome-2.19.3/platform/libgnomeui'
> make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2
> make[1]: Leaving directory `/home/adam/garnome/garnome-2.19.3/desktop/bug-buddy'
> make: *** [paranoid-install] Error 2
> 
> --
> 
> However, running the following works :
> 
> >>> import dbus
> >>> dir(dbus)
> ['Array', 'Boolean', 'Bus', 'Byte', 'ByteArray', 'ConnectionError',
> 'DBusException', 'DeferedMethod', 'Dictionary', 'Double', 'Int16',
> 'Int32', 'Int64', 'Interface', 'IntrospectionParserException',
> 'MissingErrorHandlerException', 'MissingReplyHandlerException',
> 'NameExistsException', 'ObjectPath', 'ProxyMethod', 'ProxyObject',
> 'SessionBus', 'SignalMatchNode', 'SignalMatchRule', 'SignalMatchTree',
> 'Signature', 'StarterBus', 'String', 'Struct', 'SystemBus', 'UInt16',
> 'UInt32', 'UInt64', 'UnknownMethodException', 'ValidationException',
> 'Variant', '__builtins__', '__doc__', '__file__', '__name__',
> '__path__', '_dbus', '_dbus_main_loop_setup_function', 'dbus',
> 'dbus_bindings', 'exceptions', 'introspect_parser', 'matchrules',
> 'proxies', 'sys', 'types', 'version', 'weakref']
> 
> 
> rpm -q --queryformat %{name}.%{arch} dbus-python
> dbus-python.x86_64
> 
> I've attempted to set both PYTHONPATH and PYTHONHOME to only search
> lib64/python../site-packages but have been unsuccessful.
> 
> Any help appreciated :)

-- 
jsacco [at] gnome [dot] org




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