From: Vincent Bernat Date: Sat, 22 Nov 2008 14:49:43 +0000 (+0100) Subject: Add a word about the default (broken) NetSNMP installation. X-Git-Tag: 0.3~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52ac3f370b3811a259b082a768c58cca0c073fe9;p=thirdparty%2Flldpd.git Add a word about the default (broken) NetSNMP installation. --- diff --git a/README b/README index 65860058..03558b4a 100644 --- a/README +++ b/README @@ -20,6 +20,18 @@ real physical devices, not on bridges, vlans, etc. However, vlans can be mapped on the bonding device. You can bridge vlan but not add vlans on bridges. More complex setups may give false results. +To compile lldpd, use the following: + ./configure + make + sudo make install + +If it complains about a missing agent/struct.h, your installation of +Net-SNMP is incomplete. Adapt the following commands: + cp agent/mibgroup/struct.h /usr/local/include/net-snmp/agent + cp agent/mibgroup/util_funcs.h /usr/local/include/net-snmp + cp agent/mibgroup/mibincl.h /usr/local/include/net-snmp/library + cp agent/mibgroup/header_complex.h /usr/local/include/net-snmp/agent + lldpd uses privilege separation to increase its security. Two processes, one running as root and doing minimal stuff and the other running as an unprivileged user into a chroot doing most of the stuff,