aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjuggie <juggie@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 17:35:25 +0000
committerjuggie <juggie@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 17:35:25 +0000
commitc488ce18d4382e2a629770fbb73b00ddb6b044f1 (patch)
tree08e52a3e0fe605ef3f4c4e0d12397462d2250dbe /doc
parent392af68644966c1882ee104ead353486fa5dbedc (diff)
Merged revisions 110911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r110911 | juggie | 2008-03-26 13:24:54 -0400 (Wed, 26 Mar 2008) | 8 lines update documentation to reflect the changes in the way configure detects net-snmp. (closes issue #12067) Reported by: juggie Patches: 12067_snmp_doc.patch uploaded by juggie (license 24) Tested by: juggie ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@110959 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc')
-rw-r--r--doc/snmp.txt22
1 files changed, 18 insertions, 4 deletions
diff --git a/doc/snmp.txt b/doc/snmp.txt
index f1667ee15..1f5fc2752 100644
--- a/doc/snmp.txt
+++ b/doc/snmp.txt
@@ -6,10 +6,24 @@ this, one needs to have Net-SNMP development headers and libraries on
the build system, including any libraries Net-SNMP depends on.
Note that on some (many?) Linux-distributions the dependency list in
-the net-snmp-devel list is not complete, and additional RPMs will need
-to be installed. This is typically seen as attempts to build res_snmp
-as net-snmp-devel is available, but then fails to find certain
-libraries. The packages may include the following:
+the net-snmp-devel list is not complete, and additional packages will
+need to be installed. This is usually seen as configure failing to
+detect net-snmp-devel as the configure script does a sanity check of
+the net-snmp build environment, based on the output of
+'net-snmp-config --agent-libs'.
+
+To see what your distribution requires, run 'net-snmp-config --agent-libs'.
+
+You will receive a response similar to the following:
+-L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl
+-lrpm -lrpmio -lpopt -lz -lcrypto -lm -lsensors -L/usr/lib/lib -lwrap
+-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
+-L/usr/local/lib
+/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
+-L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl
+-ldl -lm -lcrypt -lutil -lpthread -lc
+
+The packages required may include the following:
* bzip2-devel
* lm_sensors-devel
* newt-devel