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)

main.log (11.6 KB) - added by help@… 12 years ago.
macports log
config.log (30.3 KB) - added by help@… 12 years ago.
configure log

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by help@…

Attachment: main.log added

macports log

Changed 12 years ago by help@…

Attachment: config.log added

configure log

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:3 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Thanks, should be fixed in r100374.

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:5 Changed 12 years ago by g5pw (Aljaž Srebrnič)

revbumped in r100375.

comment:6 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Forgot to close the ticket, this should be fixed now.

Note: See TracTickets for help on using tickets.