kumina / postfix_exporter

A Prometheus exporter for Postfix.
Apache License 2.0
241 stars 140 forks source link

Install is stuck #81

Open darsv opened 3 years ago

darsv commented 3 years ago

Just trying to install got this error

# github.com/coreos/go-systemd/v22/sdjournal
../go/pkg/mod/github.com/coreos/go-systemd/v22@v22.0.0/sdjournal/journal.go:27:11: fatal error: systemd/sd-journal.h: No such file or directory
 // #include <systemd/sd-journal.h>
           ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Referenced file, systemd/sd-journal.h, seems doesn't exist anymore. Any clue?

iomarmochtar commented 3 years ago

have you tried to install package libsystemd-dev ? or if you have docker installed then just execute script ./build_static.sh

darsv commented 3 years ago

Made it work, but installing a DEB file from upstream realease.

Thanks

El 2021-08-06 13:12, Omar Mochtar escribió:

have you tried to install package libsystemd-dev ? or if you have docker installed then just execute script ./build_static.sh

-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. Triage notifications on the go with GitHub Mobile for iOS [3] or Android [4].

Links:

[1] https://github.com/kumina/postfix_exporter/issues/81#issuecomment-894365291 [2] https://github.com/notifications/unsubscribe-auth/ARBCH6OTEHYGSME656EOXO3T3QCXBANCNFSM5ANOKCCQ [3] https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&amp;mt=8&amp;pt=524675 [4] https://play.google.com/store/apps/details?id=com.github.android&amp;utm_campaign=notification-email


Daniel A. Rodriguez Informática, Conectividad y Sistemas Universidad Nacional del Alto Uruguay San Vicente - Misiones - Argentina www.unau.edu.ar

BenRoe commented 2 years ago

have you tried to install package libsystemd-dev ? or if you have docker installed then just execute script ./build_static.sh

Thanks for the hint. The binary was created with the docker image. Is it compatible with amd64 system like Debian?