Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39381 closed defect (invalid)

gimp-gap @2.6.0 configure fails if cairo doesn't have +quartz

Reported by: dstrubbe (David Strubbe) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gimp-gap

Description

Configure for gimp-gap failed. I had cairo @1.12.14_0+x11 and gimp2 @2.8.4_6+help_browser+python27+quartz installed. If I install cairo with +quartz +x11 then it works. It seems there is a requirement that cairo has +quartz, which is not listed in the Portfile.

:info:configure checking for GIMP... configure: error: Package requirements (gimp-2.0 >= 2.6.0 gimpui-2.0 >= 2.6.0 gimpthumb-2.0) were not met:
:info:configure 
:info:configure Package 'cairo-quartz', required by 'gdk-quartz-2.0', not found
:info:configure 
:info:configure Consider adjusting the PKG_CONFIG_PATH environment variable if you
:info:configure installed software in a non-standard prefix.
:info:configure 
:info:configure Alternatively, you may set the environment variables GIMP_CFLAGS
:info:configure and GIMP_LIBS to avoid the need to call pkg-config.
:info:configure See the pkg-config man page for more details.

Change History (5)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Looks like another case for the active_variants portgroup...

comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: devans removed
Owner: changed from macports-tickets@… to devans@…

Trac uses full email addresses.

comment:4 Changed 11 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: newclosed

This is not a problem with gimp-gap but a misconfiguration of gtk2 which provides gdk-quartz-2.0 when built +quartz. It appears that when gtk2 +quartz was built, cairo was installed with +quartz variant but this was later changed (perhaps by installing something that wanted cairo +x11). Your solution is the correct one in any case. Note that problems like this often occur when people try and install both +quartz and +x11 programs at the same time. If you want to build +quartz then a pure +quartz environment is the best bet.

comment:5 Changed 11 years ago by dbevans (David B. Evans)

By the way, if you want to use gimp-gap, I recommend using gimp-gap-devel which, although is technically an unstable release, is much more up-to-date and quite functional.

Note: See TracTickets for help on using tickets.