Bug #41289 argument of --with-lua-libs not passed to Makefile
Submitted: 8 Dec 2008 2:44 Modified: 29 Jan 2018 11:05
Reporter: Mark Johnson (Basic Quality Contributor) Email Updates:
Status: Unsupported Impact on me:
Category:MySQL GUI Common Severity:S3 (Non-critical)
Version:5.0r14 OS:Linux (Slackware 12.1)
Assigned to: CPU Architecture:Any
Tags: Contribution, qc

[8 Dec 2008 2:44] Mark Johnson
I have both lua 5.1 and 5.0 installed.  5.0 is installed in /usr/local, so I have to use the arguments to configure to point the make at it.

Here is my "configure" line:
./autogen.sh --prefix=/usr --localstatedir=/var/lib  --enable-grt \
   --enable-canvas \
   --with-lua-includes=/usr/local/include \
   --with-lua-libs="-L/usr/local/lib " \
   --with-java-ldflags="-L/usr/lib/java/lib/i386/server -ljvm"

When the build fails, it is because myx_grt_lua.c refers to many lua functions which are in 5.0 and not 5.1  However, the lua-libs argument has not been passed to the compiler at this point.

How to repeat:
Use above setup, with above configure.  Type make.  The build eventually fails.

Suggested fix:
See patch to be submitted after this bug.  I've applied it and the build now gets past this point.
[8 Dec 2008 2:45] Mark Johnson
patch; despite the name does not address bug 22663.

Attachment: patch-gui-tools.a.bug22663 (application/octet-stream, text), 349 bytes.

[12 Dec 2008 16:08] Susanne Ebrecht
Many thanks for writing a bug report.

Unfortunately MySQL Administrator is not supported for Linux at the moment.


We will implement whole MySQL Administrator functionality into Workbench. This will fix
your problem by automatism.
[15 Jan 2009 10:50] Susanne Ebrecht
Sorry, I made a mistake here.

Many thanks for writing a bug report and send us a patch. We will check your patch and
look what we will be able to do here.
[29 Jan 2018 11:05] Mike Lischke
Issue has been reported for a product that no longer exists.