--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8fca5c85-b9e8-4831-864d-051736e62e4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For this, we have installed yum (and its dependencies), gcc-go version gccgo go1.10 (GCC) 8.1.0 aix / ppc (and its dependencies) and git version 2.8.1 (and its dependencies).
We retrieved the directory to compile the node_exporter 0.16.0.
We encountered the following errors:
- an error when downloading sources by go get :
# github.com/prometheus/node_exporter/vendor/github.com/sirupsen/logrus
vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go:15:19: error: reference to undefined identifier 'terminal.IsTerminal'
return terminal.IsTerminal(int(v.Fd()))
- an error while trying to compile :
# make
"Makefile.common", line 26: make: Dependency line needs colon or double colon operator.
"Makefile.common", line 28: make: Dependency line needs colon or double colon operator.
"Makefile.common", line 29: make: Dependency line needs colon or double colon operator.
Do you have any idea about how should we do ?
bye
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2c743f29-33be-4bd8-b104-2e0d07bf94e4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/0f24d434-20a9-4408-965c-1f7b50ac0c36%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/b072ef5a-6cae-43f1-afdc-f1f66a0a8676%40googlegroups.com.
root@samaq024] /data/go/src/github.com/prometheus/node_exporter
# /opt/freeware/bin/makechecking code style
vetting code# github.com/prometheus/node_exporter
./node_exporter.go:22:2: could not import github.com/prometheus/client_golang/prometheus (unrecognized magic string: "<big")
./node_exporter.go:23:2: could not import github.com/prometheus/client_golang/prometheus/promhttp (unrecognized magic string: "<big")
./node_exporter.go:24:2: could not import github.com/prometheus/common/log (unrecognized magic string: "<big")
./node_exporter.go:25:2: could not import github.com/prometheus/common/version (unrecognized magic string: "<big")
./node_exporter.go:26:2: could not import github.com/prometheus/node_exporter/collector (unrecognized magic string: "<big")
./node_exporter.go:27:2: could not import gopkg.in/alecthomas/kingpin.v2 (unrecognized magic string: "<big")
./node_exporter_test.go:13:2: could not import github.com/prometheus/procfs (unrecognized magic string: "<big")
./node_exporter.go:73:19: undeclared name: kingpin
./node_exporter.go:74:19: undeclared name: kingpin
./node_exporter.go:77:15: undeclared name: kingpin
./node_exporter.go:78:2: undeclared name: kingpin
./node_exporter.go:79:2: undeclared name: kingpin
./node_exporter.go:80:2: undeclared name: kingpin
./node_exporter.go:92:17: cannot range over nc.Collectors (invalid operand)
./node_exporter.go:27:2: "gopkg.in/alecthomas/kingpin.v2" imported but not used
vet: typecheck failures
# github.com/prometheus/node_exporter/collector
collector/buddyinfo.go:23:2: could not import github.com/prometheus/client_golang/prometheus (unrecognized magic string: "<big")
collector/buddyinfo.go:24:2: could not import github.com/prometheus/common/log (unrecognized magic string: "<big")
collector/buddyinfo.go:25:2: could not import github.com/prometheus/procfs (unrecognized magic string: "<big")
collector/collector.go:24:2: could not import gopkg.in/alecthomas/kingpin.v2 (unrecognized magic string: "<big")
collector/ntp.go:23:2: could not import github.com/beevik/ntp (unrecognized magic string: "<big")
collector/runit.go:21:2: could not import github.com/soundcloud/go-runit/runit (unrecognized magic string: "<big")
collector/supervisord.go:19:2: could not import github.com/kolo/xmlrpc (unrecognized magic string: "<big")
collector/textfile.go:28:6: could not import github.com/prometheus/client_model/go (unrecognized magic string: "<big")
collector/textfile.go:29:2: could not import github.com/prometheus/common/expfmt (unrecognized magic string: "<big")
collector/textfile_test.go:24:2: could not import github.com/prometheus/client_golang/prometheus/promhttp (unrecognized magic string: "<big")
collector/ntp.go:34:23: undeclared name: kingpin
collector/ntp.go:35:23: undeclared name: kingpin
collector/ntp.go:36:23: undeclared name: kingpin
collector/ntp.go:37:23: undeclared name: kingpin
collector/ntp.go:40:23: undeclared name: kingpin
collector/ntp.go:41:23: undeclared name: kingpin
collector/paths.go:25:13: undeclared name: kingpin
collector/paths.go:26:13: undeclared name: kingpin
collector/runit.go:25:23: undeclared name: kingpin
collector/supervisord.go:26:19: undeclared name: kingpin
collector/buddyinfo.go:64:24: cannot range over buddyInfo (invalid operand)
collector/buddyinfo.go:65:28: cannot range over entry.Sizes (invalid operand)
collector/collector.go:67:10: undeclared name: kingpin
collector/runit.go:73:26: cannot range over services (invalid operand)
collector/supervisord.go:115:12: invalid operation: c.client (variable of type *invalid type) has no field or method Call
collector/textfile.go:216:22: cannot range over parsedFamilies (invalid operand)
collector/textfile.go:217:22: cannot range over mf.Metric (invalid operand)
collector/textfile.go:234:22: cannot range over parsedFamilies (invalid operand)
collector/textfile.go:68:25: invalid operation: metricFamily (variable of type *invalid type) has no field or method Metric
collector/textfile.go:68:25: cannot range over metricFamily.Metric (invalid operand)
collector/textfile.go:70:25: cannot range over labels (invalid operand)
collector/textfile.go:77:25: invalid operation: metricFamily (variable of type *invalid type) has no field or method Metric
collector/textfile.go:77:25: cannot range over metricFamily.Metric (invalid operand)
collector/textfile.go:85:25: cannot range over labels (invalid operand)
collector/textfile.go:104:17: invalid operation: metricFamily (variable of type *invalid type) has no field or method GetType
collector/textfile.go:120:22: cannot range over metric.Summary.Quantile (invalid operand)
collector/textfile.go:125:7: invalid operation: metricFamily (variable of type *invalid type) has no field or method Name
collector/textfile.go:126:6: invalid operation: metricFamily (variable of type *invalid type) has no field or method GetHelp
collector/textfile.go:135:22: cannot range over metric.Histogram.Bucket (invalid operand)
collector/textfile.go:140:7: invalid operation: metricFamily (variable of type *invalid type) has no field or method Name
collector/textfile.go:141:6: invalid operation: metricFamily (variable of type *invalid type) has no field or method GetHelp
collector/textfile.go:154:7: invalid operation: metricFamily (variable of type *invalid type) has no field or method Name
collector/textfile.go:155:6: invalid operation: metricFamily (variable of type *invalid type) has no field or method GetHelp
collector/paths_test.go:24:15: undeclared name: kingpin
collector/paths_test.go:38:15: undeclared name: kingpin
collector/paths_test.go:52:15: undeclared name: kingpin
collector/paths_test.go:66:15: undeclared name: kingpin
collector/collector.go:24:2: "gopkg.in/alecthomas/kingpin.v2" imported but not used
collector/ntp.go:25:2: "gopkg.in/alecthomas/kingpin.v2" imported but not used
collector/paths.go:20:2: "gopkg.in/alecthomas/kingpin.v2" imported but not used
collector/runit.go:22:2: "gopkg.in/alecthomas/kingpin.v2" imported but not used
collector/supervisord.go:22:2: "gopkg.in/alecthomas/kingpin.v2" imported but not used
collector/paths_test.go:20:2: "gopkg.in/alecthomas/kingpin.v2" imported but not used
vet: typecheck failures
make: *** [Makefile:116: vet] Error 2
...