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

Dwight Engen dwight.engen at oracle.com
Mon May 19 19:43:38 UTC 2014


On Mon, 19 May 2014 20:56:58 +0200
Johannes Kastl <mail at ojkastl.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello Michael,
> 
> On 17.05.2014 21:10 Michael H. Warfield wrote:
> 
> > If they used the LXC project's lxc.spec file then the lua stuff is
> > in the lxc-lua package.  It's broken out separately but, if lxc-top
> > depends on lua, maybe there's a missing dependency.
> 
> Sorry to bother you again. I based a new build on the spec from inside
> the tarball, and got it to build. But even without installing lxc-lua,
> I have a lxc-top command, that spits out error messages.
> 
> How does the spec prevent the lxc-top from being added to the
> lxc-package? I fail to see the right line in the spec....

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.

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.
 
> Regards,
> Johannes
> - -- 
> Pulling together is the aim of despotism and tyranny. Free men pull in
> all kinds of directions.
> (Terry Pratchett: The Truth)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
> 
> iEYEARECAAYFAlN6U/oACgkQzi3gQ/xETbJ/4QCeNGEkRdUhRelG5ELyB6yeoLFY
> xz0An3kbwEANJTi9lpQue7GceGfis76B
> =8w6f
> -----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