Ethereal-users: Re: [Ethereal-users] ethereal + KDE 2.0 problem

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 12 Jan 2001 02:02:13 -0800
On Fri, Jan 12, 2001 at 09:22:42AM +0100, Claus Wagner wrote:
> if I try in 'capture dialog': --> radio button 'update list of packets
> in real time', a warning pops up: "Couldn't run ethereal in child
> process: No such file
> or directory". Without this setting it works fine. This is with ethereal
> 0.8.12 - 0.8.14. It was fine with the previous version of KDE (1.2)!
> 
> Any suggestions or advice?

Are you running Ethereal from a terminal window (xterm, kvt, etc.), or
are you running it from the GUI (desktop item or shortcut,
Start^H^H^H^H^HKgear menu, etc.)?

If you're running it from the GUI, the code that's running might be
passing it an "argv[0]" argument that can't be used as a pathname to run
Ethereal (which is perfectly within its rights to do); this may have
changed between 1.x and 2.x.

If you're building from source, try adding to "main()" in "gtk/main.c"

	{
	FILE *foo = fopen("/tmp/ethereal_path", "w");
	fprintf(foo, "argv[0] = \"%s\"\n", argv[0]);
	fclose(foo);
	}

at the very beginning, building it (and fixing any typos in my sample
code :-)), and see what it puts in "/tmp/ethereal_path".