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.

Bill

Reply via email to