Bug ID |
8634
|
Summary |
./configure --without-gnutls --with-libnl : configure:17437: error: "I couldn't find libnl even though you manually enabled it."
|
Classification |
Unclassified
|
Product |
Wireshark
|
Version |
1.10.0
|
Hardware |
All
|
OS |
All
|
Status |
UNCONFIRMED
|
Severity |
Major
|
Priority |
Low
|
Component |
Wireshark
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Created attachment 10728 [details]
Call PKG_PROG_PKG_CONFIG in configure.ac
Build Information:
n/a
--
The problem is that PKG_PROG_PKG_CONFIG is only expanded once, so if you call
it PKG_CHECK_MODULES conditionally the first time, as pkg.m4 helpfully
explains, you have to explicitly invoke PKG_PROG_PKG_CONFIG before using
PKG_CHECK_MODULES.
So if you run ./configure --without-gnutls --with-libnl (for whatever reason)
you end up with PKG_PROG_PKG_CONFIG expanded in the conditional call of
PKG_CHECK_MODULES in the --with-gnutls block and nowhere else, which causes
further invocations of PKG_CHECK_MODULES to fail because $PKG_CONFIG isn't set.
You are receiving this mail because:
- You are watching all bug changes.