Wireshark-bugs: [Wireshark-bugs] [Bug 1641] configure doesn't check the presence of a (f)lex pac
Date: Thu, 7 Jun 2007 18:44:45 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1641


sebastien@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from sebastien@xxxxxxxxx  2007-06-07 18:44 GMT -------
> Have a Linux without a (f)lex package.
> Do the svn checkout of the latest and perform the autogen.sh and configure
> stages.
> All will succeed, only during the actual "make wiretap" will it find out that
> (f)lex is missing.
> I think this should be done during the configure stages...

If you do a svn checkout, you're accepting the role of being a wireshark
developer, which means that we consider that a developper may have computer
with other tools than just gcc, make and autotools.
Generally, adding any generated file to a svn tree is useless if anyone can
generate it from another file present in the svn tree. That's why we consider
that any developer of wireshark should install (f)lex in addition to gcc, make
and autotools.

On the other hand, the generated files by (f)lex are distributed with source
tarball. We do let anyway the possibility to modify the lex file by the user by
also distributing them in the tarball. As the configure script is written for
tarball source, we can't therefore write a configure script which consider the
lack of lex parser on a machine as an error. But it becomes one when you
modified one of the lex files and are trying to compile without having the lex
parser on your machine which can only be detected during the compilation time.

regards


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.