Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 178754

Summary: mysql-gui-tools can't emerge because of missing LUA
Product: Gentoo Linux Reporter: Timo Meinen <timomeinen>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log

Description Timo Meinen 2007-05-16 12:17:40 UTC
Configure can't find "lua 5.0" and stops the emerge process:

-------------------------- Error LOG -----------------------------------

..
checking for GNOME... yes
checking for mysql_config... -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1
checking for mysql_config... -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/usr/lib -lssl -lcrypto
checking for lua-config... no
checking for lua-config... no
checking for lua_open in -llua... no
configure: error: lua 5.0 is required to build GRT support but was not found.
Please specify its location with --with-lua-includes and --with-lua-libs or
install it if it's not.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-db/mysql-gui-tools-5.0_p11/work/mysql-gui-tools-5.0r11/mysql-gui-common/config.log

!!! ERROR: dev-db/mysql-gui-tools-5.0_p11 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3797:   Called src_compile
  mysql-gui-tools-5.0_p11.ebuild, line 73:   Called gnome2_src_compile '--disable-java-modules' '--enable-grt' '--enable-canvas' '--enable-i18n'
  gnome2.eclass, line 70:   Called gnome2_src_configure '--disable-java-modules' '--enable-grt' '--enable-canvas' '--enable-i18n'
  gnome2.eclass, line 66:   Called econf '--disable-java-modules' '--enable-grt' '--enable-canvas' '--enable-i18n'
  ebuild.sh, line 577:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p11/temp/build.log'.

---------------------------------------------------------------------------

The build.log file doesn't exist.

So I installed lua:

eix dev-lang/lua
[I] dev-lang/lua
     Available versions:  5.0.2 ~5.0.3 5.1.1-r2 ~5.1.2 ~5.1.2-r1
     Installed versions:  5.1.1-r2(14:09:46 16.05.2007)(readline -static)
     Homepage:            http://www.lua.org/
     Description:         A powerful light-weight programming language designed for extending applications

But trying to emerge mysql-gui-tools once again, the same error occured.

Thank you
Timo

Reproducible: Always

Steps to Reproduce:
1. emerge mysql-gui-tools
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-05-16 12:30:48 UTC
please attach your emerge --info and /var/tmp/portage/dev-db/mysql-gui-tools-5.0_p11/work/mysql-gui-tools-5.0r11/mysql-gui-common/config.log
Comment 2 Timo Meinen 2007-05-16 12:37:26 UTC
Created attachment 119442 [details]
config.log
Comment 3 Timo Meinen 2007-05-16 12:37:50 UTC
(In reply to comment #1)
> please attach your emerge --info and
> /var/tmp/portage/dev-db/mysql-gui-tools-5.0_p11/work/mysql-gui-tools-5.0r11/mysql-gui-common/config.log
> 

I downgraded to lua-5.0.2 and now it compiles.

Timo
Comment 4 Sven Wegener gentoo-dev 2007-05-17 10:39:13 UTC
The ebuild contains a dependency on =dev-lang/lua-5.0*, I have no idea why it hasn't been installed on your system
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-28 18:00:21 UTC

*** This bug has been marked as a duplicate of bug 171599 ***