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: Steve Blackmore <sblackmo@xxxxxxxxxxxxxxxxxx>
Date: 14 Aug 2002 07:27:31 +0100
On Tue, 2002-08-13 at 19:41, Guy Harris wrote:
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.)
Guy,

Correct, some idiot (i.e. Me!) had managed to install the Intel version of Flex on a SPARC, reinstalled the correct version and all is well...

Thanks for your help

Steve