id summary reporter owner description type status priority milestone component version resolution keywords cc port 28479 gobject-introspection 0.9.12 FTB with Python < 2.5 or >= 3 selected gale@… singingwolfboy@… "With python 3.2 selected as the default python version using python-select: {{{ $ sudo port upgrade atk ---> Computing dependencies for gobject-introspection ---> Configuring gobject-introspection Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) }}} And then from the log: {{{ :info:configure checking whether Python support is requested... checking for a Python interpreter with version >= 2.5... python :info:configure checking for python... /opt/local/bin/python :info:configure checking for python version... 3.2 :info:configure checking for python platform... darwin :info:configure checking for python script directory... ${prefix}/lib/python3.2/site-packages :info:configure checking for python extension module directory... ${exec_prefix}/lib/python3.2/site-packages :info:configure checking for headers required to compile python extensions... File """", line 1 :info:configure import sys; print sys.prefix :info:configure ^ :info:configure SyntaxError: invalid syntax :info:configure File """", line 1 :info:configure import sys; print sys.exec_prefix :info:configure ^ :info:configure SyntaxError: invalid syntax :info:configure not found :info:configure configure: error: Python headers not found }}} This appears to be a problem with an autoconf script. The script in question could easily be fixed to work with all versions of python by adding parens: {{{ import sys; print(sys.prefix) import sys; print(sys.exec_prefix) }}} " defect closed Normal ports 1.9.2 fixed nhojpatrick gobject-introspection