Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Installing on Ubuntu 12.04.5

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 23 Oct 2014 00:18:33 -0700
On Oct 22, 2014, at 8:43 PM, Tracy Hockenhull <Tracy@xxxxxxxxxxxxxxxxxx> wrote:

> I'm fairly new to Linux, and new to Wireshark, and I'm having problems with the ./configure part of the process to install Wireshark.

On Ubuntu, the standard process to install a program is "fire up Synaptics Package Manager, search for it, and install the package it finds".

If you want a version newer than the version in the Ubuntu repository - which you might, because my Ubuntu 12.04 (virtual) machine claims that the current version in the package repository is 1.6, which is, err, umm, *three major versions out of date* - then, if there isn't a convenient PPA with something less out-of-date, you would need to...

> The error I'm getting is this:
> 
> 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
> 
> To fix this, I tried sudo apt-get install gtk+3.0,

...install the *development* package for GTK+, which is called libgtk-3-dev, if Synaptics on my Ubuntu virtual machine is to be believed.

Most Linux distributions have separate "user" and "developer" packages for various libraries; the "user" package is sufficient to allow binary packages *using* the library to work, but not sufficient to allow you to *compile* programs using the library - you need the "developer" package to do that.