[lxc-devel] lxc on openSUSE: lxc-top not working due to lua?

Dwight Engen dwight.engen at oracle.com
Mon May 19 20:36:25 UTC 2014


On Mon, 19 May 2014 22:10:24 +0200
Johannes Kastl <mail at ojkastl.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 19.05.2014 21:43 Dwight Engen wrote:
> 
> >> Hi Johannes, the .spec file shouldn't need it, as it shouldn't
> >> be present in bin after make install due to the if ENABLE_LUA
> >> check in src/lxc/Makefile.am line 177 or so.
> 
> First of: I am not sure what I am doing. ;-)
> 
> I modified the spec to use it as a starting point to build the lxc
> vanilla-style on the opensuse buildservice:
> https://build.opensuse.org/project/show/home:ojkastl_buildservice:LXC
> 
> I guess I might have enabled with_lua for the whole build, I'll have a
> look.

configure will try to detect if lua support can be built, so it
probably depends on what is installed/available in your build
environment.

> >> If you have it, then it seems likely that lua was enabled when
> >> you built your packages, but of course it won't run if lxc-lua
> >> isn't installed. Maybe we should change the .spec file so lxc-top
> >> is in the lxc-lua package instead of the main package, but this
> >> would mean listing the bin programs individually instead of with
> >> a glob.
> 
> I think there is an %exclude, I'll have a test with it...
> 
> Regards,
> Johannes
> - -- 
> In the beginning there was nothing. God said, 'Let there be light!'
> And there was light. There was still nothing, but you could see it a
> whole lot better.
> (Ellen DeGeneres)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
> 
> iEYEARECAAYFAlN6ZTAACgkQzi3gQ/xETbIRQQCghvUaMnFxZy/P1dHgC0cPwqFE
> W1QAnA6U0XB7frEHq2TQP1scatdsE+wc
> =YzTV
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel



More information about the lxc-devel mailing list