Bug #64245 Missing dependency "flex" into INSTALL document
Submitted: 6 Feb 2012 20:26 Modified: 12 Feb 2012 10:46
Reporter: Matteo Nastasi Email Updates:
Status: Patch approved Impact on me:
Category:MySQL Proxy: Install/Config Severity:S3 (Non-critical)
Version:0.8 and trunk OS:Linux (Ubuntu 11.10)
Assigned to: CPU Architecture:Any
Tags: Debian, flex, install, ubuntu

[6 Feb 2012 20:26] Matteo Nastasi
Into the list of packages required to build mysql-proxy the package "flex" don't appear but without it compilation fails.

How to repeat:
Remove "flex" package and try to compile.

Suggested fix:
Correct INSTALL file.
[12 Feb 2012 10:25] Valeriy Kravchuk
This is what I see in INSTALL file after doing

bzr pull

for lp:mysql-proxy:

"Installation Instructions

Installing from Bazaar

Get the latest source from:

  $ bzr branch lp:mysql-proxy

Later you can update the tree by running

  $ cd mysql-proxy/
  $ bzr pull

As you built from BZR none of the configure scripts is prepared. You need:

- autoconf 2.56 or higher
- automake 1.9 or higher
- libtool 1.5.x (not higher)
- flex"

So it clearly stated one needs flex.
[12 Feb 2012 10:46] Jan Kneschke
Added the requirement for "flex" to the sections of Debian and Redhat. 

revno: 1233
fixes bug(s): http://bugs.mysql.com/64245
committer: jan.kneschke@oracle.com
branch nick: rel-0.8
timestamp: Fri 2012-02-10 17:45:52 +0100
  added references to "flex" in the "required packages" section (fixes #64245