Wireshark-bugs: [Wireshark-bugs] [Bug 11069] New: Building with autotools doesn't instal pkg-con
Bug ID |
11069
|
Summary |
Building with autotools doesn't instal pkg-config data (wireshark.pc file)
|
Product |
Wireshark
|
Version |
Git
|
Hardware |
x86
|
OS |
All
|
Status |
UNCONFIRMED
|
Severity |
Major
|
Priority |
Low
|
Component |
Build process
|
Assignee |
bugzilla-admin@wireshark.org
|
Reporter |
mkletzan@redhat.com
|
Build Information:
wireshark 1.12.4 (Git Rev Unknown from unknown)
Copyright 1998-2015 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GTK+ 3.14.9, with Cairo 1.14.0, with Pango 1.36.8, with
GLib 2.42.2, with libpcap, with libz 1.2.8, with POSIX capabilities (Linux),
with libnl 3, without SMI, without c-ares, without ADNS, with Lua 5.1, without
Python, with GnuTLS 3.3.12, with Gcrypt 1.6.3, with MIT Kerberos, without
GeoIP,
without PortAudio, without AirPcap.
Running on Linux 3.19.1-gentoo, with locale en_GB.utf8, with libpcap version
1.7.2, with libz 1.2.8, GnuTLS 3.3.12, Gcrypt 1.6.3.
Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz
Built using gcc 4.9.2.
--
When installed in the system, /usr/lib/pkconfig/wireshark.pc is missing.
Looking at the sources it looks like it is being built with cmake, but not
autotools. However, the development guide says for building on Unix it is
enough to do ./autogen.sh && ./configure && make.
I tried fixing this but failed terribly. Twice. After I fixed it the code
didn't look like somebody would accept it, so I realized I'd rather leave this
to someone from the team to deal with it.
First two failed attemps were posted for review, but withdrawn here:
https://code.wireshark.org/review/#/c/7753/
How to reproduce:
1. ./autogen.sh && ./configure && make && make install
2. pkg-config --cflags --libs wireshark
Expected result:
-pthread -I/usr/local/include/wireshark -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -L/usr/local/lib -lwireshark -Wl,--export-dynamic
-lgmodule-2.0 -pthread -lglib-2.0
Actual result:
Package wireshark was not found in the pkg-config search path.
Perhaps you should add the directory containing `wireshark.pc'
to the PKG_CONFIG_PATH environment variable
No package 'wireshark' found.
You are receiving this mail because:
- You are watching all bug changes.