Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
This repository was archived by the owner on May 6, 2020. It is now read-only.

go get agent fails #124

@gorozco1

Description

@gorozco1
$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions