You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I build the gluster-prometheus follow the README step, but make faild.
The operation log is as follows.
How should I solve this problem ?
Thanks!
[root@lab-home 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/pborman/[email protected]
(3/27) Wrote github.com/spf13/[email protected]
(4/27) Wrote github.com/mitchellh/[email protected]
(5/27) Wrote github.com/google/[email protected]
(6/27) Wrote github.com/prometheus/[email protected]
(7/27) Wrote github.com/BurntSushi/[email protected]
(8/27) Wrote github.com/beorn7/perks@master
(9/27) Wrote github.com/dgrijalva/[email protected]
(10/27) Wrote github.com/fsnotify/[email protected]
(11/27) Wrote github.com/golang/[email protected]
(12/27) Wrote github.com/matttproud/[email protected]
(13/27) Wrote github.com/gluster/glusterd2@master
(14/27) Wrote github.com/magiconair/[email protected]
(15/27) Wrote github.com/pelletier/[email protected]
(16/27) Wrote github.com/hashicorp/[email protected]
(17/27) Wrote github.com/prometheus/client_model@master
(18/27) Wrote github.com/prometheus/common@master
(19/27) Wrote github.com/prometheus/procfs@master
(20/27) Wrote github.com/spf13/[email protected]
(21/27) Wrote github.com/sirupsen/[email protected]
(22/27) Wrote github.com/spf13/[email protected]
(23/27) Wrote github.com/spf13/[email protected]
(24/27) Wrote github.com/spf13/[email protected]
(25/27) Wrote golang.org/x/sys@master
(26/27) Wrote golang.org/x/crypto@master
(27/27) Wrote golang.org/x/[email protected]
Hi,
I build the gluster-prometheus follow the README step, but make faild.
The operation log is as follows.
How should I solve this problem ?
Thanks!
[root@lab-home 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/pborman/[email protected]
(3/27) Wrote github.com/spf13/[email protected]
(4/27) Wrote github.com/mitchellh/[email protected]
(5/27) Wrote github.com/google/[email protected]
(6/27) Wrote github.com/prometheus/[email protected]
(7/27) Wrote github.com/BurntSushi/[email protected]
(8/27) Wrote github.com/beorn7/perks@master
(9/27) Wrote github.com/dgrijalva/[email protected]
(10/27) Wrote github.com/fsnotify/[email protected]
(11/27) Wrote github.com/golang/[email protected]
(12/27) Wrote github.com/matttproud/[email protected]
(13/27) Wrote github.com/gluster/glusterd2@master
(14/27) Wrote github.com/magiconair/[email protected]
(15/27) Wrote github.com/pelletier/[email protected]
(16/27) Wrote github.com/hashicorp/[email protected]
(17/27) Wrote github.com/prometheus/client_model@master
(18/27) Wrote github.com/prometheus/common@master
(19/27) Wrote github.com/prometheus/procfs@master
(20/27) Wrote github.com/spf13/[email protected]
(21/27) Wrote github.com/sirupsen/[email protected]
(22/27) Wrote github.com/spf13/[email protected]
(23/27) Wrote github.com/spf13/[email protected]
(24/27) Wrote github.com/spf13/[email protected]
(25/27) Wrote golang.org/x/sys@master
(26/27) Wrote golang.org/x/crypto@master
(27/27) Wrote golang.org/x/[email protected]
FASTBUILD=yes BASE_PREFIX="" GD1STATEDIR=""/var/lib/glusterd
CONFFILE=""/etc/gluster-exporter/gluster-exporter.toml
GD2STATEDIR=""/var/lib/glusterd2 ./scripts/build.sh gluster-exporter
Building gluster-exporter v0.3-dev.91.git863db4b
gluster-exporter/conf/conf.go:9:2: cannot find package "." in:
/root/go/src/github.com/BurntSushi/toml
pkg/glusterutils/enable_profile_gd2.go:5:2: cannot find package "." in:
/root/go/src/github.com/gluster/glusterd2/pkg/api
pkg/glusterutils/common.go:7:2: cannot find package "." in:
/root/go/src/github.com/gluster/glusterd2/pkg/restclient
gluster-exporter/metric_brick.go:16:2: cannot find package "." in:
/root/go/src/github.com/prometheus/client_golang/prometheus
gluster-exporter/main.go:17:2: cannot find package "." in:
/root/go/src/github.com/prometheus/client_golang/prometheus/promhttp
gluster-exporter/metrics.go:7:2: cannot find package "." in:
/root/go/src/github.com/prometheus/common/model
pkg/glusterutils/enable_profile_gd1.go:5:2: cannot find package "." in:
/root/go/src/github.com/sirupsen/logrus
make: *** [build/gluster-exporter] Error 1
The text was updated successfully, but these errors were encountered: