Bug #56991 Change in source file necessary to successful compilation
Submitted: 24 Sep 2010 0:35 Modified: 25 Sep 2010 15:11
Reporter: Nilo Teixeira Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.19 OS:Linux (Ubuntu 10.04)
Assigned to: CPU Architecture:Any
Tags: stricmp posix /library/grt/src/diff/grtdiff.cpp

[24 Sep 2010 0:35] Nilo Teixeira
Description:
In the latest source download for Linux, when I followed the README steps, in the last step (make -j3 install), make found an error in file ./library/grt/src/diff/grtdiff.cpp, line 157, regarding the function stricmp.

I browsed the net and found an explanation: http://webcache.googleusercontent.com/search?sourceid=chrome&ie=UTF-8&q=cache:http://www.p...

Seems like stricmp isn't Posix ?

Well, I changed it to strcasecmp and everything worked!

(Well, I also #included <string.h> just to be sure... perhaps this step isn't necessary).

Thank you for you attention!

How to repeat:
Just compiled the source...

Suggested fix:
As above.
[25 Sep 2010 15:11] Alfredo Kojima
Hi

The 5.1 series is very old and not really supported, please try with 5.2.28