inovex / mqtt_blackbox_exporter

Prometheus Exporter for MQTT monitoring
Apache License 2.0
77 stars 24 forks source link

Can't build for ARM? #40

Closed zoide closed 4 years ago

zoide commented 4 years ago

Hi there,

I've just stumbled upon your code. Unfortunatly it does not build for ARM on Linux. Well, actually, it builds on ARM, but creates amd64 binaries.

Is there a reason for that? If the code can run on linux/arm I'd give it a try.

Cheers!

hikhvar commented 4 years ago

If you build on arm, a make build/mqtt_blackbox_exporter should build a ARM binary.

However, you are correct, the make linux target builds only amd64 binaries. I will add arm specific build targets to cross compile for ARM.

arnisoph commented 4 years ago

@zoide please try https://github.com/inovex/mqtt_blackbox_exporter/releases/tag/v0.5.0 :)

thanks to @hikhvar for proving the PR

zoide commented 4 years ago

Thanks all, it works!