Error occurs during compiling python modules in dbus-0.33

John (J5) Palmieri johnp at redhat.com
Sat Apr 30 06:44:50 PDT 2005


On Sat, 2005-04-30 at 07:55, Tatavarty Kalyan wrote:
> There is an error during byte compiling of dbus.py  during the  make
> install stage.
> 
> dbus version 0.33
> Python version 2.3.4
>  
> 
> Byte-compiling python modules...
> dbus.py  File "/home/kalyan/opt/dbus//lib/python2.3/site-packages/dbus.py",
> line 518
>     @method('org.freedesktop.DBus.Introspectable')
>     ^
> SyntaxError: invalid syntax
> 
> Byte-compiling python modules (optimized versions) ...
> 
> 
> I guess method decorator needs the 2.4 version but the configure only
> checks for upward of Python 2.2 version
> as shown by   AM_PATH_PYTHON(2.2) in configure.in.

Yep, I'll fix that.

--
J5



More information about the dbus mailing list