[Distutils] Fwd: [TurboGears] Error installing cElementTree !
Phillip J. Eby
pje at telecommunity.com
Wed Nov 2 21:39:48 CET 2005
At 02:36 PM 11/2/2005 -0500, Kevin Dangoor wrote:
>On 11/2/05, Phillip J. Eby <pje at telecommunity.com> wrote:
> > At 11:20 AM 11/2/2005 -0500, Kevin Dangoor wrote:
> > >Has any recent change to setuptools affected a call to "swig_sources"?
> > >
> > >Kevin
> >
> > No. If you search the TurboGears archives via Google, someone else
> > reported this problem in September, and the issue turned out to be missing
> > files in a distribution on turbogears.org. You might check to see if this
> > is the same thing.
>
>It doesn't look like it. The cElementTree tarball that's up there now
>has all of the .h files.
Okay, after a bunch of Googling for swig_sources, I think the issue is that
Pyrex is installed, but not a version that's compatible with Python
2.4. See this patch:
https://www.redhat.com/archives/fedora-cvs-commits/2005-September/msg01305.html
It looks like the user needs to either uninstall the Pyrex RPM, or install
the updated version that contains this patch. See also this URL, that
suggests what version might be appropriate:
http://people.ubuntulinux.org/~scott/patches/pyrex/pyrex_0.9.3-3ubuntu1.patch
So, basically Pyrex's distutils support is broken for Python 2.4 without
the patch to swig_sources. :(
Last, but not least, see also:
http://bugzilla.ubuntu.com/show_bug.cgi?id=4852
which is probably a good canonical location to point people to.
However, now that I know the source of the problem, I can add a monkeypatch
to the next version of setuptools to would work around the issue, if detected.
More information about the Distutils-SIG
mailing list