Ethereal-users: Re: [ethereal-users] eth...with suse 6.2 linux incl. gtk

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 1 Dec 1999 10:49:23 -0600
On Wed, Dec 01, 1999 at 05:58:21AM -0600, Crimmann, Sven wrote:
> 
> 
> hello,
> I tried to install ethereal but I get the following error, when startet
> ./configure:
> 
> flex or lex not found; to I have to install them and what is it?
> 
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for flex... no
> checking for lex... no
> ./configure: flex: command not found
> checking for flex... lex
> checking for yywrap in -ll... no
> checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up
> kp2063:~/install/eth/ethereal-0.7.9 #

That's a problem on our part. No, flex and bison are not required
for compiling from source, since the generated C files from the lex
and yacc files are distributed with the source tarball. We never
noticed it because we all happen to have flex and bison installed.
Flex and bison are required for developers, or anyone wanting
to modify the *.y and *.l files, but not for simply compiling from source.

I'll work on a fix so that the next version of Ethereal won't have
that configuration problem. Can you install flex? That would be
your quickest solution, until I get time later today/tonight to
work on a fix.

--gilbert