tcnksm / vagrant-runc

Play with runC on Ubuntu14.04 by Vagrant
MIT License
7 stars 1 forks source link

Error building runc #1

Open booyaa opened 8 years ago

booyaa commented 8 years ago

I cloned your repo

cd to vagrant-runc
vagrant up

after a while I get this error and runc isn't built:

==> default: go build -o runc .
==> default: # github.com/seccomp/libseccomp-golang
==> default: Godeps/_workspace/src/github.com/seccomp/libseccomp-golang/seccomp.go:25:22: fatal error: seccomp.h: No such file or directory
==> default:  // #include <seccomp.h>
==> default:                       ^
==> default: compilation terminated.
==> default: make:
==> default: *** [all] Error 2
==> default: cp runc /usr/local/bin/runc
==> default: cp:
==> default: cannot stat ‘runc’
==> default: : No such file or directory
==> default: make:
==> default: *** [install] Error 1

operating system: osx yosemite 10.10.4 vagrant: 1.7.2 vbox: 4.3.26r98988 Latest Version: 1.7.4

Let me know if you need more info.

booyaa commented 8 years ago

I've been doing some further troubleshooting and the error maybe caused by missing dependancies: libseccomp2 libseccomp-dev

I'll raise a PR if this resolves the issue.

tcnksm commented 8 years ago

Ah ok, thanks.