Opened 3 years ago
Last modified 3 years ago
#63587 closed defect
gimp2: Error: GIMP configuration failed — at Version 1
Reported by: | squiggledid | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gimp2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Port gimp2 fails during configuration on MacOS 10.14.6 with the error message:
---> Configuring gimp2 Error: Failed to configure gimp2: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/work/gimp-2.10.28/config.log Error: Failed to configure gimp2: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp2/gimp2/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port gimp2 failed
I tried cleaning and trying again. Same result. I uninstalled and then tried installing again. Same result. I will attach the main.log and the config.log.
Change History (3)
Changed 3 years ago by squiggledid
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to dbevans |
Status: | new → assigned |
Summary: | Port gimp2 fails during configuration on MacOS 10.14.6 → gimp2: Error: GIMP configuration failed |
The main.log says the problem is:
:info:configure Error: GIMP configuration failed. :info:configure - PyGTK 2.10.4 or newer :info:configure *** Please install it, or skip building the python scripting extension by :info:configure *** passing --disable-python to configure (but then you will not be able :info:configure *** to use scripts for GIMP that are written in Python). :info:configure See the file 'INSTALL' for more help.
The config.log explains further:
configure:34397: checking for pygtk-2.0 >= 2.10.4 configure:34404: $PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.4" Variable 'PYTHON_EXEC_PREFIX' not defined in '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/pygtk-2.0.pc' configure:34407: $? = 1 configure:34421: $PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.4" Variable 'PYTHON_EXEC_PREFIX' not defined in '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/pygtk-2.0.pc' configure:34424: $? = 1 configure:34438: result: no Variable 'PYTHON_EXEC_PREFIX' not defined in '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/pygtk-2.0.pc'
What happens if you run:
PKG_CONFIG_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig pkg-config --exists --print-errors "pygtk-2.0 >= 2.10.4"; echo $?
On my system the result is
0
meaning no error, but I wonder if you get a different result. If so, maybe try forcibly uninstalling and then reinstalling py27-pygtk.
I also noted these errors in the main.log which probably also indicate something wrong:
:info:configure checking for matting engine Levin... GEGL-Message: 10:04:05.538: Module '/opt/local/lib/gegl-0.4/ff-save.dylib' load error: dlopen(/opt/local/lib/gegl-0.4/ff-save.dylib, 10): Library not loaded: @rpath/libgio-2.0.0.dylib :info:configure Referenced from: /opt/local/lib/libavcodec.58.dylib :info:configure Reason: image not found :info:configure GEGL-Message: 10:04:05.594: Module '/opt/local/lib/gegl-0.4/ff-load.dylib' load error: dlopen(/opt/local/lib/gegl-0.4/ff-load.dylib, 10): Library not loaded: @rpath/libgio-2.0.0.dylib :info:configure Referenced from: /opt/local/lib/libavcodec.58.dylib :info:configure Reason: image not found
(The use of @rpath seems wrong to me.)
Note: See
TracTickets for help on using
tickets.
main.log from MacOS 10.14.6