From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/wireshark: Fix libpcap detection
Date: Sun, 13 Dec 2015 21:59:12 +0100 [thread overview]
Message-ID: <566DDC20.5000104@mind.be> (raw)
In-Reply-To: <1449998185-15082-1-git-send-email-bernd.kuhls@t-online.de>
On 13-12-15 10:16, Bernd Kuhls wrote:
> To reproduce the build error I had to install libpcap0.8-dev on my host
> system, then wireshark configure picks up
>
> checking for pcap-config... /usr/bin/pcap-config
To fundamentally avoid this type of issue (we have a bunch of fixes like this),
I think we should add an additional directory that is put in the _beginning_ of
the path in TARGET_MAKE_ENV. This directory could then be populated through the
_CONFIG_SCRIPTS mechanism.
What do the others think?
It will be a bit of work to revert all these fixes again :-)
Regards,
Arnout
>
> and fails.
>
> Fixes
> http://autobuild.buildroot.net/results/7e3/7e363d18866057df0db3d0d95fa8d9116728f6ce//
> and many others
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/wireshark/wireshark.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
> index 534131b..2b06699 100644
> --- a/package/wireshark/wireshark.mk
> +++ b/package/wireshark/wireshark.mk
> @@ -24,6 +24,7 @@ WIRESHARK_CONF_OPTS = \
> --enable-static=no \
> --with-libsmi=no \
> --with-lua=no \
> + --with-pcap=$(STAGING_DIR)/usr \
> --includedir=$(STAGING_DIR)/usr/include
>
> # wireshark GUI options
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
next prev parent reply other threads:[~2015-12-13 20:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-13 9:16 [Buildroot] [PATCH 1/2] package/wireshark: Fix libpcap detection Bernd Kuhls
2015-12-13 9:16 ` [Buildroot] [PATCH 2/2] package/wireshark: libpcap is an optional dependency Bernd Kuhls
2015-12-13 10:48 ` Gustavo Zacarias
2015-12-13 13:12 ` Thomas Petazzoni
2015-12-13 13:11 ` [Buildroot] [PATCH 1/2] package/wireshark: Fix libpcap detection Thomas Petazzoni
2015-12-13 20:59 ` Arnout Vandecappelle [this message]
2015-12-20 12:49 ` Yann E. MORIN
2015-12-20 15:49 ` Arnout Vandecappelle
2015-12-21 12:26 ` Yann E. MORIN
2015-12-29 22:14 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=566DDC20.5000104@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.