Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make faild. (20/27) Failed to write golang.org/x #187

Open
airstring opened this issue Nov 9, 2020 · 1 comment
Open

make faild. (20/27) Failed to write golang.org/x #187

airstring opened this issue Nov 9, 2020 · 1 comment

Comments

@airstring
Copy link

The operation log is as follows.
[root@master-01 gluster-prometheus]# PREFIX=/usr make
Go1.9 or later is available on the system.

dep package is available
gometalinter package is available

Installing vendored packages
(1/27) Wrote gopkg.in/[email protected]
(2/27) Wrote github.com/fsnotify/[email protected]
(3/27) Wrote github.com/google/[email protected]
(4/27) Wrote github.com/spf13/[email protected]
(5/27) Wrote github.com/prometheus/client_model@master
(6/27) Wrote github.com/beorn7/perks@master
(7/27) Wrote github.com/BurntSushi/[email protected]
(8/27) Wrote github.com/mitchellh/[email protected]
(9/27) Wrote github.com/pborman/[email protected]
(10/27) Wrote github.com/magiconair/[email protected]
(11/27) Wrote github.com/matttproud/[email protected]
(12/27) Wrote github.com/dgrijalva/[email protected]
(13/27) Wrote github.com/pelletier/[email protected]
(14/27) Wrote github.com/spf13/[email protected]
(15/27) Wrote github.com/spf13/[email protected]
(16/27) Wrote github.com/prometheus/procfs@master
(17/27) Wrote github.com/spf13/[email protected]
(18/27) Wrote github.com/spf13/[email protected]
(19/27) Wrote github.com/sirupsen/[email protected]
(20/27) Failed to write golang.org/x/sys@master
(21/27) Failed to write golang.org/x/crypto@master
(22/27) Failed to write golang.org/x/[email protected]
(23/27) Failed to write github.com/hashicorp/[email protected]
(24/27) Failed to write github.com/prometheus/[email protected]
(25/27) Failed to write github.com/prometheus/common@master

Can you provide me with an up-to-date binary file
thanks!

@limiao2008
Copy link

你需要安装go编译环境 直接用go build
下载源码

mkdir -p $GOPATH/src/github.com/gluster
cd $GOPATH/src/github.com/gluster
git clone https://github.com/gluster/gluster-prometheus.git

编译

cd gluster-prometheus/gluster-exporter
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants