Ethereal-dev: Re: [ethereal-dev] timestamps and compiling bug

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 25 Jul 2000 15:40:30 -0700 (PDT)
> I've run across a bug when compiling ethereal after the timestamps on
> the files have changed.

The time stamps are probably, in and of themselves, irrelevant; the only
way in which they matter here is probably that they provoke a complete
recompilation.

> This seems to be occuring at least in part because LEX is not defined in
> wiretap/Makefile by the configure script (even though it finds it).

Do you have Flex on your machine?  Note that Ethereal requires Flex; it
cannot be built with Boring Old AT&T Lex, as comes in, for example,
"/usr/ccs/bin" on Solaris.

What was the output of the configure script when it was looking for
Flex?

> also, make runs the configure script again, even though it has already
> been run after such a touch.

GNU automake-generated make files have a tendency to re-run the
configure script a lot; so it goes.

> cd .. && /home/jludman/tmp2/ethereal-0.8.10/missing automake --gnu --include-deps gtk/Makefile
> WARNING: `automake' is missing on your system.  You should only need it if
>          you modified `Makefile.am', `acinclude.m4' or `configure.in'.

...or if you touch those files.  You probably want to touch "configure",
"aclocal.m4", and and "Makefile.in" to get it to shut up.