New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21605 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

gtk2 fails to build due to bad fontconfig.pc

Reported by: swebster@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: nox@…
Port: fontconfig

Description (last modified by ryandesign@…) (diff)

Fails during configure with

checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.19.7    atk >= 1.13.0    pango >= 1.20    cairo >= 1.6) were not met:

Libs.private field occurs twice in '/opt/local/lib/pkgconfig/fontconfig.pc'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Warning: the following items did not execute (for gtk2): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

I should have the correct dependencies installed:

  glib2 @2.20.5_0+darwin (active)
  atk @1.26.0_1 (active)
  pango @1.24.5_0+macosx (active)
  cairo @1.8.8_0+macosx (active)

I actually sucessfully installed gtk2 just recently, but it failed after I removed it and tried to reinstall because gtk-nodoka-engine failed saying it couldn't find GTK+-2.8...

Change History

comment:1 Changed 4 years ago by jmr@…

  • Cc nox@… added
  • Owner changed from macports-tickets@… to ryandesign@…
  • Port changed from gtk2 to fontconfig
  • Summary changed from gtk2 fails to build to gtk2 fails to build due to bad fontconfig.pc

comment:2 Changed 4 years ago by swebster@…

Problem seems to have been solved by reinstalling fontconfig (again). This ticket can be closed. Thanks.

comment:3 Changed 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to duplicate
  • Description modified (diff)

Sounds like a duplicate of #20727.

Note: See TracTickets for help on using tickets.