Bug 143841 - [GTK] configure script in webkitgtk-2.4.8 runs pkg-config directly instead of using $PKG_CONFIG
Summary: [GTK] configure script in webkitgtk-2.4.8 runs pkg-config directly instead of...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-16 13:21 PDT by Calvin Walton
Modified: 2023-11-29 16:03 PST (History)
2 users (show)

See Also:


Attachments
webkit-2.4.8-pkg-config-path.patch (735 bytes, patch)
2015-04-16 13:22 PDT, Calvin Walton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.