agent
agent copied to clipboard
go get agent fails
$ go get github.com/clearcontainers/agent
# github.com/clearcontainers/agent/vendor/github.com/jochenvg/go-udev
../../.gopath/src/github.com/clearcontainers/agent/vendor/github.com/jochenvg/go-udev/device.go:7:23: fatal error: libudev.h: No such file or directory
#include <libudev.h>
^
compilation terminated
Need to add in the documentation that systemd-devel
is needed
$ sudo dnf install -y libudev-devel
Last metadata expiration check: 2:14:24 ago on Wed Oct 4 11:05:33 2017.
Dependencies resolved.
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
systemd-devel x86_64 229-22.fc24 updates 288 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package
Total download size: 288 k
Installed size: 252 k
Downloading Packages:
systemd-devel-229-22.fc24.x86_64.rpm 203 kB/s | 288 kB 00:01
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 135 kB/s | 288 kB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : systemd-devel-229-22.fc24.x86_64 1/1
Verifying : systemd-devel-229-22.fc24.x86_64 1/1
Installed:
systemd-devel.x86_64 229-22.fc24
Complete!
$ go get github.com/clearcontainers/agent