Ethereal-dev: Re: [Ethereal-dev] Win32: Get rid of the COMMON_FILES_GNU setting in config.nmak

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Tue, 23 Dec 2003 11:44:21 +0100
Lars Roland wrote:

Hello Ulf,


Ulf Lamping wrote:
> Hi List!
>
> As there were already some things done in packaging/nsis/ethereal.nsi
> which are not using the COMMON_FILES_GNU setting any longer,
> and someone asked what this setting is useful for, I have checked in
> changes, which are making this setting obsolete.
>

COMMON_FILES_GNU is not obsolete, it is still used in PATH in config.nmake!

tethereal.exe is called when we build the documentation for display filters. Therefore all necessary dlls to run tethereal must be either in the same directory as tethereal.exe (in this case it would be the main directory of ethereal's sources) or in a directory which is specified in the PATH variable in config.nmake.

If you really want to use the dlls from within the source tree, you will have to add the directories with the dlls of glib, iconv, adns , pcre , winpcap etc. to the PATH variable *in* config.nmake. GTK is the only exception here as tethereal doesn't need it.

Regards,

Lars


Hmmm, my PATH looks different than your PATH :-)))

That explains, why I had to copy some of the DLLs to the main ethereal dir ;-), which I didn't liked at all.

I think the clean solution would be, to put all specific settings directly to the PATH variable, as I think this is more flexible than have a single dir to put all things in.

I will try to use the settings of the dirs, and check in a bugfixed version of config.nmake soon.

Regards, ULFL