Ethereal-dev: Re: [ethereal-dev] Solaris

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, 11 Jul 2000 13:35:58 -0700 (PDT)
> The development code still blows up badly under Solaris.

...*IF* you use the Solaris "make" and Sun C.

It works fine with the GNU "make" and GCC.

> It's the automagical dependency stuff that breaks it.
> 
> The generatee Makefiles are no longer standard (GNU make works, but solaris
> make does not).

I don't think they ever were standard; "Makefile.in" is generated by
automake, and has been for a very long time, and automake doesn't bother
generating generic Makefiles.

In fact, we specifically note this in the README:

	NOTE: the Makefile appears to depend on GNU "make"; it doesn't
	appear to work with the "make" that comes with Solaris 7 nor the
	BSD "make".  Perl is also needed to create the man page.

	If you decide to modify the yacc grammar or lex scanner, then
	you need "flex" - it cannot be built with vanilla "lex" - and
	either "bison" or the Berkeley "yacc".  Your flex version must
	be 2.5.1 or greater.  Check this with 'flex -V'.

	You must therefore install Perl, GNU "make", "flex", and either
	"bison" or Berkeley "yacc" on systems that lack them.

That note was added about a year ago:

	revision 1.12
	date: 1999/07/04 06:45:53;  author: guy;  state: Exp;  lines: +13 -0
	Note that non-GNU "make"s appear not to be able to build Ethereal, and
	that you need "flex" and either "bison" or Berkeley "yacc".  (XXX -
	should notes such as this go in some other file, e.g. INSTALL?  I  
	discovered the "flex" and "bison"/byacc requirement on a Solaris 7
	system, but it's probably a problem on other commercial UNIXes, as well,
	so it probably doesn't belong in, say, "README.solaris".)

so this is a long-standing issue.