Bug #2974 compile error myx_scanner.h not found
Submitted: 26 Feb 2004 8:32 Modified: 26 Feb 2004 9:04
Reporter: Oscar Bell Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.0.1a OS:Linux (Linux)
Assigned to: Ulrich Bayer CPU Architecture:Any

[26 Feb 2004 8:32] Oscar Bell
Description:
After cloning the latest mysql-gui-common repository (dated 26-02-04), running sh autogen.sh the make fails with the following error
myx_sql_highlighting.c:22:26: myx_scanner.h: No such file or directory
myx_sql_highlighting.c:29 error: parse error before '*'token
myx_sql_highlighting.c:29 warning: data definition has no type or storage class

myx_sql_highlighting.c version is:
myx_sql_highlighting.c 1.1 1.2 04/02/26 16:40:34

How to repeat:
- create a new mysql-gui-common clone from the bitkeeper repository
- run sh autogen.sh
- run make

Suggested fix:
add myx_scanner.h to repository??
[26 Feb 2004 9:04] Ulrich Bayer
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

I am not sure how long it takes for the public repository to be updated.
In the meantime just edit myx_sql_highlighting.c and simply remove these two
lines : (both in the beginning of the file)
#include "myx_scanner.h"
MYX_LEX_WORD *lex_get_next_word(); //forward declaration