Opened 15 years ago

Closed 15 years ago

#21605 closed defect (duplicate)

gtk2 fails to build due to bad fontconfig.pc

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (3)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

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

comment:2 Changed 15 years ago by swebster@…

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

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Sounds like a duplicate of #20727.

Note: See TracTickets for help on using tickets.