Opened 4 weeks ago

Closed 4 weeks ago

#69762 closed defect (duplicate)

Glib2 dependency error

Reported by: Behinder (behinder) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: glib2

Description

Run-time dependency gobject-introspection-1.0 found: NO (tried framework and cmake)

girepository/introspection/meson.build:43:17: ERROR: Dependency lookup for gobject-introspection-1.0 with method 'pkgconfig' failed: Could not generate cflags for gobject-introspection-1.0:
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by 'gobject-introspection-1.0', not found

I added to PKG_CONFIG_PATH folder when glib-2.0.pc is located

echo $PKG_CONFIG_PATH
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build/meson-private/:/opt/local/libexec/ffmpeg6/lib/pkgconfig:

but error the same, no package called glib-2.0 in macports tree

Change History (1)

comment:1 Changed 4 weeks ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Looks like this is covered by #69748.

Note: See TracTickets for help on using tickets.