[MacPorts] #33566: glib2 @2.30.2 + port install + failure
#33566: glib2 @2.30.2 + port install + failure ---------------------------------------+------------------------------------ Reporter: sleepyjake@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: glib2, lion, install | Port: glib ---------------------------------------+------------------------------------ I have loaded Python 2.7 via macports 2.0.4, as well as py27-numpy and py27-scipy sucessfully (I think). When I try to install py27-matplotlib 1.1.0 most dependencies load until things get to glib2 where the install fails. I have search the web and past tickets for a solution. I have tried the few suggestions I have found without success. I have a macbook, lion 10.7.3, xcode 4.2. The solution (ticket #32263) below does not work: sudo port clean glib2 sudo port selfupdate sudo port install glib2 -- Ticket URL: <https://trac.macports.org/ticket/33566> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33566: glib2: checking whether /usr/bin/python version >= 2.5... configure: error: too old ---------------------------------------+------------------------------------ Reporter: sleepyjake@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: lion | Port: glib2 ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * keywords: glib2, lion, install => lion * owner: macports-tickets@… => ryandesign@… * port: glib => glib2 Old description:
I have loaded Python 2.7 via macports 2.0.4, as well as py27-numpy and py27-scipy sucessfully (I think). When I try to install py27-matplotlib 1.1.0 most dependencies load until things get to glib2 where the install fails. I have search the web and past tickets for a solution. I have tried the few suggestions I have found without success. I have a macbook, lion 10.7.3, xcode 4.2. The solution (ticket #32263) below does not work: sudo port clean glib2 sudo port selfupdate sudo port install glib2
New description: I have loaded Python 2.7 via macports 2.0.4, as well as py27-numpy and py27-scipy sucessfully (I think). When I try to install py27-matplotlib 1.1.0 most dependencies load until things get to glib2 where the install fails. I have search the web and past tickets for a solution. I have tried the few suggestions I have found without success. I have a macbook, lion 10.7.3, xcode 4.2. The solution (ticket #32263) below does not work: {{{ sudo port clean glib2 sudo port selfupdate sudo port install glib2 }}} -- Comment: The log says: {{{ :info:configure checking whether /usr/bin/python version >= 2.5... configure: error: too old }}} This is strange because Lion should have python >= 2.5. What does "`/usr/bin/python --version`" say? -- Ticket URL: <https://trac.macports.org/ticket/33566#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33566: glib2: checking whether /usr/bin/python version >= 2.5... configure: error: too old ---------------------------------------+------------------------------------ Reporter: sleepyjake@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: lion | Port: glib2 ---------------------------------------+------------------------------------ Comment(by sleepyjake@…): I checked that directory and the only python exec is 2.7. There were some aliases for 2.5 and 2.6 that point to nothing. I removed them and tried to install but with the same result. Why is it looking for python in that directory? I thought Macports configured everything to run through /opt/local/ -- Ticket URL: <https://trac.macports.org/ticket/33566#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33566: glib2: checking whether /usr/bin/python version >= 2.5... configure: error: too old ---------------------------------------+------------------------------------ Reporter: sleepyjake@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: lion | Port: glib2 ---------------------------------------+------------------------------------ Comment(by ryandesign@…): glib2 doesn't do much with python; it just needs to use python for a short while at build time, and it needs version 2.5 or later. Tiger ships with a version of python older than that, so on Tiger the glib2 port installs and uses python27. But it seemed silly to me to pull in the python27 port when the version of python included with Leopard and later should be sufficient. So the question is: why does /usr/bin/python not exist on your system? It's a standard part of OS X. Can you restore it from your backups, or reinstall OS X to get it back? -- Ticket URL: <https://trac.macports.org/ticket/33566#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33566: glib2: checking whether /usr/bin/python version >= 2.5... configure: error: too old ---------------------------------------+------------------------------------ Reporter: sleepyjake@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: lion | Port: glib2 ---------------------------------------+------------------------------------ Comment(by ryandesign@…): Were you able to get this working by restoring the missing parts of OS X? -- Ticket URL: <https://trac.macports.org/ticket/33566#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33566: glib2: checking whether /usr/bin/python version >= 2.5... configure: error: too old ----------------------------------------+----------------------------------- Reporter: sleepyjake@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: lion Port: glib2 | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Closing due to lack of response and presumed erroneous OS X installation. -- Ticket URL: <https://trac.macports.org/ticket/33566#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts