Opened 10 years ago

Closed 10 years ago

#42019 closed defect (fixed)

gimp2: configure fails without python support

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gimp2

Description

Trying to install gimp2 without python support fails:

$ sudo port -d install gimp2 -python27
...
checking for a Python interpreter with version >= 2.5.0... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for PYGTK... no
configure: error: 
*** Could not find PyGTK 2.10.4 or newer.
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).

There used to be a no_python variant which added --disable-python. It was removed in r115501, and that was the right thing to do, but the --disable-python argument needs to find its way back into the configure.args if none of the pythonXY variants have been selected.

Change History (1)

comment:1 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

r115553. Caused by late night typing accompanied by sleep. Thanks.

Note: See TracTickets for help on using tickets.