Comments (4)
In case anyone else comes across this (Hi!), I ran into the same problem – it turned out that I had installed Go 1.5 into the same GOROOT but old files from 1.4 were still there – and these are what it complains about. When upgrading from Go 1.4 to 1.5, make sure to remove 1.4 completely.
from node_exporter.
Try adding CGO_ENABLED=1
to your environment.
from node_exporter.
same error
env | grep -i cgo
CGO_ENABLED=1
/work/src/go/src/github.com/prometheus/node_exporter> make
GOPATH=/home/fk/work/src/go/src/github.com/prometheus/node_exporter/.build/gopath /usr/local/go/bin/go get -d
package .
imports runtime: C source files not allowed when not using cgo or SWIG: atomic_amd64x.c defs.c float.c heapdump.c lfstack.c malloc.c mcache.c mcentral.c mem_linux.c mfixalloc.c mgc0.c mheap.c msize.c os_linux.c panic.c parfor.c proc.c runtime.c signal.c signal_amd64x.c signal_unix.c stack.c string.c sys_x86.c vdso_linux_amd64.c
Makefile.COMMON:93: recipe for target 'dependencies-stamp' failed
make: *** [dependencies-stamp] Error 1
/work/src/go/src/github.com/prometheus/node_exporter>
from node_exporter.
ok fixed .... i need to change the goroot as go 1.5 installs in go15 subdirectory ..... but thx anyway
from node_exporter.
Related Issues (20)
- Grafana angular deprecation in grafana 11
- Pressure metric collection fails on systems that do not expose a full CPU stat HOT 1
- Error when reading same metrics from multiple files, one with and one without a HELP entry
- Node_exporter isn't reading transmit data on enp1s0 HOT 1
- openwrt : ramips/mt7621 run node_exporter failed HOT 3
- Missing file system metrics for /dev/shm HOT 4
- Exporter may freeze if network file system is unavailable HOT 4
- fatal error: concurrent map writes in github.com/prometheus/node_exporter v1.7.0 HOT 2
- New patch release HOT 2
- runit collector reports invalid (outdated) service state if runsv (supervisor process) is not running HOT 3
- thermal_zone collector stuck on Jetson Orin Nano HOT 1
- Bug: collector.arp.netlink is super slow to retrieve metrics HOT 2
- caller=stdlib.go caller='error encoding and sending metric family:write tcp 10.10.10.10:9100' msg=">192.168.3.12:47158:write:broken pipe" HOT 2
- Question about the procfs package
- NewNodeCollector all collectors disabled
- Node exporter have high memory usage in some nodes HOT 4
- node_exporter cannot parse drbd 8.4.11 stat file HOT 4
- several collectors fail on OpenBSD 7.5 HOT 1
- AWS ECS implementation
- Have you considered adding support for ebpf? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node_exporter.