Bug 143841

Summary: [GTK] configure script in webkitgtk-2.4.8 runs pkg-config directly instead of using $PKG_CONFIG
Product: WebKit Reporter: Calvin Walton <calvin.walton>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
webkit-2.4.8-pkg-config-path.patch none

Description Calvin Walton 2015-04-16 13:21:30 PDT
When building webkitgtk-2.4.8 on a system which requires using a prefixed pkg-config (e.g. "x86_64-pc-linux-gnu-pkg-config"), there's a failure during configure:

checking for LIBXML... yes
checking for PANGO... yes
checking for ENCHANT... yes
checking for CAIRO... yes
checking for GTK... yes
checking for GTK_X11... no
./configure: line 18407: pkg-config: command not found
configure: error: Package requirements (gtk+-x11-3.0 = ) were not met:

Comparison operator but no version after package name 'gtk+-x11-3.0' in file '(command line arguments)'

This is due to one place in Source/autotools/FindDependencies.m4 where "pkg-config" is used instead of "${PKG_CONFIG}".

Trivial patch attached.
Comment 1 Calvin Walton 2015-04-16 13:22:06 PDT
Created attachment 250946 [details]
webkit-2.4.8-pkg-config-path.patch
Comment 2 Michael Catanzaro 2023-11-29 16:03:04 PST
The autotools build system no longer exists. (Actually, I'm pretty sure it was removed before you reported this bug!) Closing.