Ethereal-users: Re: [Ethereal-users] Error building on Solaris 8

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, 13 Aug 2002 11:41:39 -0700
On Tue, Aug 13, 2002 at 08:22:52AM +0100, Steve Blackmore wrote:
> I am trying to install Ethereal 0.9.5 on Solaris 8, while running
> ./configure I receive the following error:
> 
> checking for flex... flex
> checking for flex... (cached) flex
> checking for yywrap in -lfl... no
> checking lex output file root... flex: syntax error at line 1: `('
> unexpected

That looks like an error from the Bourne shell or the Korn shell.

Are you certain that the flex binary you have installed, and that's in
your path, is a binary for your machine?

	hostname$ file `which flex`
	/usr/local/bin/flex:    ELF 32-bit MSB executable SPARC Version 1,
	    dynamically linked, not stripped

If it doesn't report it as an ELF executable, for SPARC if you're
running on a SPARC machine or x86 if you're running on a PC (if, for
example, it's a SPARC binary and you're running on a PC), then it's not
correctly installed.  (No, I don't know why, or how to fix it.)