]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Add a word about the default (broken) NetSNMP installation.
authorVincent Bernat <bernat@luffy.cx>
Sat, 22 Nov 2008 14:49:43 +0000 (15:49 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sat, 22 Nov 2008 14:49:43 +0000 (15:49 +0100)
README

diff --git a/README b/README
index 6586005819771778c3446cb4e3a1326d3b08b549..03558b4a82dde5b03f93901eb16ad2c5bc8f133b 100644 (file)
--- 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,