Opened 12 years ago
Closed 12 years ago
#37257 closed defect (fixed)
py27-pygtk @2.22.0_1 fails to configure
Reported by: | help@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | g5pw (Aljaž Srebrnič), ryandesign (Ryan Carsten Schmidt) | |
Port: | py-pygtk |
Description
pygtk configure script fails to find Python.h header and exits with error. main.log and config.log are attached. Workaround is to run "port select --set python python27" (I had "none" as an active version when port failed to install).
Attachments (2)
Change History (8)
Changed 12 years ago by help@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | g5pw@… ryandesign@… added |
---|
Sounds like configure.python
needs to be set in the port. (Kind of surprised the python-1.0 portgroup doesn't do that already.)
comment:2 Changed 12 years ago by jmroot (Joshua Root)
The portgroup is based around using setup.py. There is no configure phase normally.
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
I saw a related failure on Snow Leopard: py27-pygtk installed, but put files in the wrong place, e.g. /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.6/site-packages/gtk-2.0/atk.so (because on 10.6 /usr/bin/python is 2.6.x). The fix is the same (set configure.python correctly) and the revision should be increased so anyone with these incorrect installations will rebuild.
comment:6 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Forgot to close the ticket, this should be fixed now.
macports log