Public bug reported:

Building the "Enthought Tools Suite" componenent "Enable" fails on
Ubuntu 11.10 (and possibly older ones) because
numpy.distutils.system_info is unable to find the X11-library. The
problem might generally hit any python source that relies on numpy's
distutils to locate binary libraries for them.

I was able to solve it by using a custom "site.cfg" file, it could also
be solved just as well by updating the default paths directly in
numpy/distutils/system_info.py.

Note that in fact I was in fact using a custom built version of the 
python-numpy package. This was to in order to gain support of a custom built 
optimised ATLAS. For that I took the exact package sources via "apt-get source 
atlas python-numpy", built a custom atlas using "debian/rule custom" and then 
standard python-numpy using a modified site.cfg in order to include ATLAS. 
Therefore, I never tried to build ETS Enable without any site.cfg. However, 
upon inspection of the source-code of
numpy.distutils.system_info, I am quite confident that also without any 
site.cfg, the mutli-arch library directories are not found.

** Affects: python-numpy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/877286

Title:
  numpy.distutils.system_info fails to know about new multi-arch library
  paths /usr/lib/x86_64-linux-gnu and the like

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-numpy/+bug/877286/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to