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/yaml.v2@v2.2.2
(2/27) Wrote github.com/fsnotify/fsnotify@v1.4.7
(3/27) Wrote github.com/google/uuid@v1.1.0
(4/27) Wrote github.com/spf13/cast@v1.3.0
(5/27) Wrote github.com/prometheus/client_model@master
(6/27) Wrote github.com/beorn7/perks@master
(7/27) Wrote github.com/BurntSushi/toml@v0.3.1
(8/27) Wrote github.com/mitchellh/mapstructure@v1.1.2
(9/27) Wrote github.com/pborman/uuid@v1.2
(10/27) Wrote github.com/magiconair/properties@v1.8.0
(11/27) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(12/27) Wrote github.com/dgrijalva/jwt-go@v3.1.0
(13/27) Wrote github.com/pelletier/go-toml@v1.2.0
(14/27) Wrote github.com/spf13/afero@v1.1.2
(15/27) Wrote github.com/spf13/pflag@v1.0.3
(16/27) Wrote github.com/prometheus/procfs@master
(17/27) Wrote github.com/spf13/jwalterweatherman@v1.0.0
(18/27) Wrote github.com/spf13/viper@v1.0.3
(19/27) Wrote github.com/sirupsen/logrus@v1.0.6
(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/text@v0.3.0
(23/27) Failed to write github.com/hashicorp/hcl@v1.0.0
(24/27) Failed to write github.com/prometheus/client_golang@v0.8.0
(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