Bug #33950 add check for ENABLE_LUA_MODULES
Submitted: 20 Jan 2008 20:28 Modified: 8 Jul 2009 11:39
Reporter: Vitaly Lipatov Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL GUI Common Severity:S3 (Non-critical)
Version:0.6.1 OS:Linux
Assigned to: CPU Architecture:Any
Tags: lua

[20 Jan 2008 20:28] Vitaly Lipatov
Description:
For build mysql-gui-common without lua we need add missed checking for ENABLE_LUA_MODULES in source/linux/MySQLGRT/MGRT.cc
(still in latests svn trunk and branch 1.0)

How to repeat:
Just compile mysql-gui-common without lua libs/headers in the system.

Suggested fix:
--- mysql-gui-common-0.6.1/source/linux/MySQLGRT/MGRT.cc.orig   2007-07-19 19:44:51 +0400
+++ mysql-gui-common-0.6.1/source/linux/MySQLGRT/MGRT.cc        2007-07-19 19:45:06 +0400
@@ -284,6 +284,7 @@
   flush_messages();
 #endif

+#ifdef ENABLE_LUA_MODULES
   // lua modules
   out_text("Loading Lua modules...");
   loader= myx_lua_init_loader(_grt, &error, std::string(resourcePath+"/lua").c_str());
@@ -303,6 +304,7 @@
   else
     out_text(ufmt("Error initializing Lua module loader (%i)\n",error));
   flush_messages();
+#endif

   // builtin c++
   out_text("Initializing C++ loader...");
[20 Jan 2008 20:30] Vitaly Lipatov
Fix compiling without lua

Attachment: mysql-gui-tools-lua.patch (text/x-patch), 588 bytes.

[28 Jan 2008 21:01] MySQL Verification Team
Thank you for the bug report and contribution patch.
[8 Jul 2009 11:39] Susanne Ebrecht
Many thanks for writing a bug report. We are on the way to implement full functionality of MySQL GUI Tools into MySQL Workbench. Unfortunately you are using an unsupported platform. More informations about supported platforms you will find here:

http://www.mysql.com/support/supportedplatforms/tools.html

More informations about MySQL Workbench you will find here:

http://dev.mysql.com/workbench/