What python binding?

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Sep 28 05:11:34 PDT 2006


On Thu, 28 Sep 2006 at 13:06:48 +0100, Simon McVittie wrote:
> On Thu, 28 Sep 2006 at 13:49:45 +0200, Luigi Paioro wrote:
> >   File "/usr/lib/python2.4/distutils/command/build_ext.py", line 405, in build_extensions
> >     self.build_extension(ext)
> >   File "/usr/lib/python2.4/distutils/command/build_ext.py", line 442, in build_extension
> >     sources = self.swig_sources(sources, ext)
> > TypeError: swig_sources() takes exactly 2 arguments (3 given)
> 
> It looks as though you may have a broken version of Distutils...

Actually, looking more closely at how Pyrex hooks into Distutils, the
problem is probably that your version of Pyrex is incompatible with your
version of Distutils. I've been able to build the Pyrex-based version of
dbus-python (0.71) on a current Debian unstable system with Pyrex
0.9.4.1 and Python 2.4.4 rc0 - do you have an older version of Pyrex, by
any chance?

	Simon


More information about the dbus mailing list