Wireshark-bugs: [Wireshark-bugs] [Bug 6737] New: build fails in configure with GTK+ error

Date: Sat, 14 Jan 2012 07:24:24 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6737

           Summary: build fails in configure with GTK+ error
           Product: Wireshark
           Version: 1.6.5
          Platform: x86-64
        OS/Version: OpenBSD
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: njtaylor0101@xxxxxxxxx


Build Information:
This build information is after the problem has been fixed using the included
patch and other patches....
wireshark 1.7.1-SVN-40442 (SVN Rev Unknown from unknown)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> 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.2.3, with Cairo 1.10.2, with Pango 1.29.4, with
GLib 2.30.2, with libpcap (version unknown), with libz 1.2.3, without POSIX
capabilities, with SMI 0.4.8, with c-ares 1.7.5, with Lua 5.1, with Python
2.7.1, with GnuTLS 2.12.16, with Gcrypt 1.4.6, with Heimdal Kerberos, with
GeoIP, with PortAudio V19-devel (built Dec  9 2011 02:30:18), without AirPcap.

Running on OpenBSD 5.0, without locale, with OpenBSD libpcap, with libz 1.2.3,
GnuTLS 2.12.16, Gcrypt 1.4.6.

Built using gcc 4.2.1 20070719 .

--
OpenbSD 5.0 current amd64, when building both version 1.6.5 and SVN version
40442 with gtk3 configure option, fail during configure.

The check on the gtk+-3.0 version uses this in configure

pkg-config --atleast-version 3.0.0 gtk+-3.0 gthread-2.0

OpenBSD pkg-config checks both gtk+-3.0 and gthread-2.0 versions, it fails
because the gthread-2.0 is always less than 3.0.0. 

$ pkg-config --modversion gthread-2.0
2.30.2
$ 

Fixed for the OpenBSD port using the following patch..


--- configure.orig Thu Jan 12 15:12:19 2012
+++ configure Thu Jan 12 16:06:10 2012
@@ -18957,14 +18957,6 @@ fi


   pkg_config_args=gtk+-3.0
- for module in . gthread
- do
- case "$module" in
- gthread)
- pkg_config_args="$pkg_config_args gthread-2.0"
- ;;
- esac
- done

   no_gtk=""

This changes the check to just pkg-config --atleast-version 3.0.0 gtk+-3.0

Which allow the configure complete successfully.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.