[MacPorts] #22418: py-ctypes won't build on Snow Leopard (libffi related?)

MacPorts noreply at macports.org
Wed Apr 7 08:34:19 PDT 2010


#22418: py-ctypes won't build on Snow Leopard (libffi related?)
--------------------------------+-------------------------------------------
 Reporter:  optilude@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.1                                
 Keywords:                      |        Port:  py-ctypes                            
--------------------------------+-------------------------------------------

Comment(by johannes.schrimpf@…):

 I could compile the packet by overriding the libffi compilation in the
 ctypes setup.py file, line 167:

 /opt/local/var/macports/build/_opt_..._py-
 ctypes/work/ctypes-1.0.1/setup.py

 changing from:
         build_ext.build_ext.build_extensions(self)
 to
         #build_ext.build_ext.build_extensions(self)


 I do not know if this skips to much code, but it did install for me. I can
 import ctypes in python, but i did not test the functionality.
 Maybe it helps to build a patch or a workaround.

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


More information about the macports-tickets mailing list