Ethereal-users: Re: [Ethereal-users] errors compiling without capture support

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 27 Jan 2005 03:16:00 -0800
Mark Sholund wrote:

I support some users who require Ethereal to be run from a shared location on a Solaris server. In order to do this, I must compile Ethereal directly from the source. Those that I support are not allowed/don't need to capture packets, only be able to read them, so I compile with the flag --without-pcap.

As Luis Ontanon noted, that doesn't necessarily prevent those users from capturing packets - they could use snoop, or could compile libpcap and tcpdump, or could even compile libpcap and Ethereal.

In 0.10.7 and 0.10.9, I have encountered problems where there is code that should be inside of '#ifdef HAVE_LIBPCAP' blocks. In 0.10.9, the lines that I find these problems in are

gtk/main.c: 1651      capture_opts->capture_child = FALSE;
gtk/main.c: 2409      font_init(capture_opts->capture_child);

I've checked in a fix for those.

I assume that my case is different from the majority of cases where Ethereal is used, i.e. most people want capture support, so this might not be something that is tested prior to release.

Yes.