Wireshark-dev: Re: [Wireshark-dev] After rpm install, dumpcap not found when trying to capture
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 10 Aug 2006 14:29:40 +0200
On Wed, Jul 26, 2006 at 03:33:07PM -0400, Maynard, Chris wrote:
> I recently created and installed a wireshark rpm on a PC running Fedora
> Core 4.  After rpm install, I ran wireshark and attempted to capture
> packets, but the following errors resulted in 2 separate popup dialog
> boxes:
> 
> 1)	Couldn't run /usr/X11R6/bin/dumpcap in child process:
> 	No such file or directory
> 				[OK]
> 
> 2)	Child capture process exited: exit status 2
> 				[OK]
> 
> 
> Since I did not specify where to install any of the wireshark
> components, it seems that the default installation directory for
> Wireshark is /usr/X11R6/bin/, but the default installation directory for
> dumpcap is /usr/bin/.  This I verified via "rpm -ql".  However, it seems
> that wireshark is looking for dumpcap in /usr/X11R6/bin/ and since it's
> not there, the capturing fails.

That is a bug. I've fixed it by installing wireshark in $prefix/bin,
just like the other programs. As X11R6 is obsoleted starting with
X.org 7.x, that was the most pragmatic solution.

Committed revision 18874.

Thanks for your report!

 ciao
      Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.