[MacPorts] #20284: python26 fails to build on 10.6

MacPorts noreply at macports.org
Wed Sep 2 01:56:28 PDT 2009


#20284: python26 fails to build on 10.6
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  blb@…           
     Type:  defect            |      Status:  new             
 Priority:  High              |   Milestone:                  
Component:  ports             |     Version:  1.8.0           
 Keywords:  snowleopard       |        Port:  python26        
------------------------------+---------------------------------------------

Comment(by mark@…):

 Replying to [comment:164 lpackham@…]:
 > Replying to [comment:160 andreas@…]:
 > > just use the python 2.6 that ships with snow lep. Use it with
 virtualenv and virtualenvwrapper so you dont need to clutter your system
 install.
 >
 > That does not fix the problem. It's more that people like to use the
 macports py26-* stuff and also things like Mercurial depend on it.
 VirtualEnv's don't solve anything really. This in itself needs fixing.
 >
 > Not sure I like the idea of it being entirely 32-bit, surely that causes
 problems with Apache/mod_wsgi/mod_python etc.
 >
 > Is there anyway of retrofitting what Apple did for the system install of
 Python?

 Looking over it, it's pretty hacky and involved. And they had to do some
 weird stuff to get Carbon 32-bit support, as seen by:

 ##---------------------------------------------------------------------
 # python.exe was made 32-bit to build the carbon and tk stuff, and was
 # then copied to Python.app.  We restore all its architectures.
 ##---------------------------------------------------------------------
 restore-64-bit:
         install $(SYMROOT)/python.exe $(DSTROOT)$(PAMACOS)/Python

 Be nice if Apple could have worked with the Python guys to integrate these
 changes. Sigh.

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


More information about the macports-tickets mailing list