[MacPorts] #32306: glib2, glib2-devel: build fails when "python" is not 2.5 thru 2.7

MacPorts noreply at macports.org
Wed Nov 30 23:34:22 PST 2011


#32306: glib2, glib2-devel: build fails when "python" is not 2.5 thru 2.7
---------------------------------+------------------------------------------
 Reporter:  gotyaoi@…            |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  assigned               
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  2.0.3                  
 Keywords:                       |        Port:  glib2, glib2-devel     
---------------------------------+------------------------------------------

Comment(by gale@…):

 Replying to [comment:5 ryandesign@…]:
 > You shouldn't be stuck on anything.
 > The workaround is...

 I wasn't *that* stuck. :) Thanks for recording
 the workaround here explicitly, though. I'm
 sure it will help a lot of people.

 > ...I would like to avoid adding a python dependency
 > unless absolutely necessary (i.e. on Tiger)

 Interesting idea. So you mean use the Mac OS X
 native python 2 for Leopard and up, I assume. But
 then what to do for Tiger? Build a special temporary
 python just for this build (and just for testing,
 it looks like)? Is there some way to depend on a
 python port just for Tiger?

 Another idea is to have a port called something like
 "python2minimal" that just creates a symlink to
 /usr/bin/python for Leopard and up, and builds
 (or depends on) python 2.7 for Tiger and below.

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


More information about the macports-tickets mailing list