ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] Pkg-config instead of XXX-config and CygWin instructions for GNOM

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Tue, 16 Sep 2003 14:30:20 +0200
Title: Pkg-config instead of XXX-config and CygWin instructions for GNOME 2.2.1

Hi all,

Most recent Glib/GTK2 distributions only provide support for pkg-config instead of the wrapper scripts gnome-config etc.

CygWin instructions:
Install fontconfig from your favorite cygwin repository with the cygwin setup tool.
Install GTK2/GNOME2 from http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ (the repository http://cygnome2.sourceforge.net/install/ does not contain all necessary libraries yet) with the cygwin setup tool.

You must set PKG_CONFIG_PATH to /path/to/lib/pkgconfig directories where the *.pc files for your libraries reside. For my CygWin distribution, this is /opt/gnome2/lib/pkgconfig and /usr/X11R6/lib/pkgconfig.

Run autogen.sh
Run ./configure --enable-gtk2 <and your other configure options>

If you want only ethereal, then use the following ./configure rule:
./configure --without-pcap --without-plugins --without-tethereal --disable-tethereal --disable-editcap --disable-text2pcap --disable-mergecap --disable-idl2eth --disable-dftest --disable-randpkt --enable-gtk2

Regards,

Olivier