[lxc-users] lxc build failure

Stéphane Graber stgraber at ubuntu.com
Sun Aug 12 15:07:28 UTC 2018


On Sun, Aug 12, 2018 at 09:09:41AM +0200, Pierre Couderc wrote:
> 
> 
> On 08/11/2018 11:45 PM, Stéphane Graber wrote:
> > 
> > https://github.com/lxc/lxd/pull/4908 will take care of the
> > PKG_CONFIG_PATH problem. With that I can build fine without
> > libsqlite3-dev on my system.
> Merci pour la réaction du samedi soir...
> 
> I had too to install libuv1-dev. I suggest updating the requirements in
> https://github.com/lxc/lxd/blob/master/README.md
> 
> I have progressed but I am blocked (on debian 9.5) now by :
> 
> shared/idmap/shift_linux.go:23:28: fatal error: sys/capability.h: No such
> file or directory
>  #include <sys/capability.h>

Install libcap-dev, that should provide that header. I'll look at
updating the dependencies (external to Go anyway).

> 
> I have tried (without knowing nothing of what is  it) :
> 
> sudo ln -s /usr/include/linux/capability.h /usr/include/sys/capability.h
> 
> but it is not better :  unknown type name 'uint32_t'...
> 
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180812/03703913/attachment.sig>


More information about the lxc-users mailing list