NETWAYS / check_interfaces

Icinga check plugin for network hardware interfaces
GNU General Public License v2.0
11 stars 14 forks source link

README: add building prerequisites for FreeBSD #32

Closed mrdsam closed 9 months ago

RincewindsHat commented 9 months ago

Thank you so much :-) I don't know much about the FreeBSD infrastructure, so please allow me to ask whether it is necessary to gather the whole source or is there an easier way to get the library for net-snmp?

mrdsam commented 9 months ago

I took a closer look - yes, /usr/src is not needed. The version a few days ago didn't build w/o the src-component, but now, maybe because of 'autoreconf', it builds without it.

checking for net-snmp-config... /usr/local/bin/net-snmp-config

For this, only the package 'net-snmp' has to be installed

RincewindsHat commented 9 months ago

Funny you should mention that, I just tried to reproduce this on a freebsd 13.2 vm I have here and it fails now in the configure script in the step after that :-)

configure: error: Net-SNMP library unusable - either it is missing or there are unfulfilled dependencies (e.g. libcrypto)
RincewindsHat commented 9 months ago

funny, didn't have gcc installed, works then. Maybe net-snmp has some GNUisms in it and doesn't like cc?

mrdsam commented 9 months ago

Sorry, I have no idea. But this happens with a lot of software I try to compile.