[MacPorts] #34146: Cython builds using numpy fail due to incorrectly placed headers

MacPorts noreply at macports.org
Sun Apr 22 11:46:46 PDT 2012


#34146: Cython builds using numpy fail due to incorrectly placed headers
-------------------------------+--------------------------------------------
 Reporter:  bgamari@…          |       Owner:  dh@…           
     Type:  defect             |      Status:  new            
 Priority:  Normal             |   Milestone:                 
Component:  ports              |     Version:  2.0.4          
 Keywords:                     |        Port:  py27-numpy     
-------------------------------+--------------------------------------------

Comment(by ram@…):

 The problem is not with NumPy as it correctly returns the correct path for
 it's headers when queried:

 {{{
 $ python
 Python 2.7.3 (default, Apr 19 2012, 22:23:11)
 [GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.58)] on
 darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from numpy.lib.utils import get_include
 >>> get_include()
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/core/include'
 >>>

 I imagine the software you're building, or CPython, isn't correctly
 querying NumPy where it's headers are located.

-- 
Ticket URL: <https://trac.macports.org/ticket/34146#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list