On Wed, May 28, 2014 at 7:41 AM, Phiho Hoang <hohoang...@gmail.com> wrote: > Hi Serge, > > (This is a resend with a zip attached to reduce the size of this posting) > >> grab the debian/ tree from the lxc package > > I got it here (thanks to Fajar): > > > http://archive.ubuntu.com/ubuntu/pool/main/l/lxc/lxc_1.0.3-0ubuntu3.debian.tar.gz > >> and copy it under the git tree, then run debian/rules build > $ git clone https://github.com/lxc/lxc.git > $ cd lxc ; tar xvzf ../Downloads/lxc_1.0.3-0ubuntu3.debian.tar.gz > $ sudo apt-get install debhelper, dh-autoreconf
Did you also install other dependencies? debian/control should list what's needed to build. Or do a "apt-get build-dep lxc" > $ debian/rules build > build.log 2>&1 > $ phiho@lxc103:~/lxc$ tail build.log > #define _ALL_SOURCE 1 > #define _GNU_SOURCE 1 > #define _POSIX_PTHREAD_SEMANTICS 1 > #define _TANDEM_SOURCE 1 > > configure: exit 1 > Please find attached 'config.log' and 'build.log' in a zip file > 7PM-May27.zip Did you actually read the configure output? configure:5423: checking sys/apparmor.h presence configure:5423: gcc -E -D_FORTIFY_SOURCE=2 conftest.c conftest.c:26:26: fatal error: sys/apparmor.h: No such file or directory #include <sys/apparmor.h> Lookup who has that file: http://packages.ubuntu.com/search?mode=exactfilename&suite=trusty§ion=all&arch=any&keywords=sys%2Fapparmor.h&searchon=contents -- Fajar _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users