On Jun 29, 2011, at 18:04, Bill Janssen <jans...@parc.com> wrote: > I hit another gotcha building shared on Ubuntu. I thought I had > setuptools installed. When I built JCC, I got no error message about > patch 43, and the config.py said "shared". But the library that got > built was "libjcc.a", not "libjcc.so". > > Turns out that the Ubuntu package "python-setuptools" isn't really > setuptools; it's this: > > Description: Python Distutils Enhancements (setuptools compatibility) > Extensions to the python-distutils for large or complex distributions. > . > Package providing compatibility with old setuptools (0.6c9). > Homepage: http://packages.python.org/distribute > Python-Version: 2.6 > Bugs: https://bugs.launchpad.net/ubuntu/+filebug > > I had to download setuptools-0.6c11 from PyPI and install it manually > to get things to work.
Sigh. The setuptools story is getting worse. I wonder how the 'distribute' project is doing... It's the solution I used for the Python 3.1 jcc port I did last summer. In particular, I wonder if they integrated my patch, for that issue 43 I filed like four years ago. Do you know if there is a way to detect this special version of setuptools ? If so, I could ensure the patch is applied if still needed. Andi.. > > Bill