derle.sh 486 B

123456789101112
  1. export LDFLAGS="-lpthread"
  2. export GREP='grep -a'
  3. ./configure ${CONF_OPT} --enable-ucd-snmp-compatibility \
  4. --enable-ipv6 --with-default-snmp-version="3" \
  5. --with-sys-contact="root@localhost" --with-sys-location="Unknown" \
  6. --with-logfile=/var/log/snmpd.log --sbindir=/usr/bin \
  7. --with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod ucd-snmp/lmsensorsMib" \
  8. --with-persistent-directory=/var/net-snmp --disable-static
  9. make ${MAKEJOBS} NETSNMP_DONT_CHECK_VERSION=1