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] Compiling on FreeBSD 4.2 Release #0

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

From: "Reilly, Philip" <Philip.Reilly@xxxxxxxxxx>
Date: Wed, 30 May 2001 15:15:48 +1000
Hi,

I had some interesting issues with compiling ethereal 0.8.18.

The dependancies (gtk, glib, zlib, ucd-snmp) were all packages form the
distribution CD. Information on the FreeBSD site stated that I required
later versions of XFree, gtk, and glib. I found that the package works fine
without the standard realease packages.
I downloaded and compiled the libcap libraries (0.6.2). no ploblems there.

First problem was with the compile script. It kept compaining about
glib-config missing. True, FreeBSD placed its glib configurator in
/usr/local/bin as glib12-config. A simple symbolic link resolved that issue.

The second problem was with gtk-config. The issue was the same as
glib-config. However gtk12-config was is /usr/X11R6/bin. After placing a
link as gtk-config the error message was still present. I tried setting the
GTK_CONFIG env, dissabling the test resulted in SNMP sprint_objid errors in
the snmp header files. After searching the configure script there was a
comment that suggested that the --with-ssl=DIR should be used. Running
./configure --with-ssl=/usr resolved the issue.

The third was that Ethereal requires some of the XFree 86 header files for
X11 informaton. Specifically Xlib.h Xutil.h X.h Xfuncproto.h and Xosdefs.h.
FreeBSD did not seem to carry the sources to Xfree86 3.3.6 so I extracted
the files from the Xfree source code and placed manually placed them into
/usr/X11R6/include/X11

I modified the /dev/bpf0 to allow read access for the group wheel. That way
users in wheel can read from the device. 

All in all I was extremely impressed with the package. Excellent work !!!