User Guide

Building and Installing Wireshark
15
pkg_add -r wireshark
pkg_add should take care of all of the dependency issues for you.
2.6. Troubleshooting during the install on Unix
A number of errors can occur during the installation process. Some hints on solving these are provided here.
If the configure stage fails, you will need to find out why. You can check the file config.log in the
source directory to find out what failed. The last few lines of this file should help in determining the
problem.
The standard problems are that you do not have GTK+ on your system, or you do not have a recent enough
version of GTK+. The configure will also fail if you do not have libpcap (at least the required include
files) on your system.
Another common problem is for the final compile and link stage to terminate with a complaint of: Output
too long. This is likely to be caused by an antiquated sed (such as the one shipped with Solaris). Since sed
is used by the libtool script to construct the final link command, this leads to mysterious problems. This
can be resolved by downloading a recent version of sed from http://directory.fsf.org/project/sed/.
If you cannot determine what the problems are, send an email to the wireshark-dev mailing list explaining
your problem, and including the output from config.log and anything else you think is relevant, like
a trace of the make stage.
2.7. Building from source under Windows
It is recommended to use the binary installer for Windows, until you want to start developing Wireshark
on the Windows platform.
For further information how to build Wireshark for Windows from the sources, have a look at the
Developer's Guide on the Documentation Page.
You may also want to have a look at the Development Wiki: http://wiki.wireshark.org/Development for
the latest available development documentation.
2.8. Installing Wireshark under Windows
In this section we explore installing Wireshark under Windows from the binary packages.
2.8.1. Install Wireshark
You may acquire a binary installer of Wireshark named something like: wireshark-
winxx-1.9.x.exe. The Wireshark installer includes WinPcap, so you don't need to download and
install two separate packages.
Simply download the Wireshark installer from: http://www.wireshark.org/download.html and execute it.
Beside the usual installer options like where to install the program, there are several optional components.
Tip: Just keep the defaults!
If you are unsure which settings to select, just keep the defaults.