Wireshark mailing list archives

Re: make distcheck does not work if configured for GTK2


From: Guy Harris <guy () alum mit edu>
Date: Wed, 21 Aug 2013 11:16:06 -0700


On Aug 21, 2013, at 6:12 AM, Anders Broman <anders.broman () ericsson com> wrote:

Title says it all J
 
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: GTK+ 3 is not available
make: *** [distcheck] Error 1

To quote the automake manual:

DISTCHECK_CONFIGURE_FLAGS

Building the package involves running ‘./configure’. If you need to supply additional flags to configure, define them 
in the AM_DISTCHECK_CONFIGURE_FLAGS variable in your top-level Makefile.am. The user can still extend or override the 
flags provided there by defining the DISTCHECK_CONFIGURE_FLAGS variable, on the command line when invoking make.


so we probably should have the configure-script code that chooses which GUI toolkits to use (if any) set 
AM_DISTCHECK_CONFIGURE_FLAGS.  I'll look at doing that.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: