]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
update documentation to reflect the changes in the way configure detects net-snmp.
authorDonny Kavanagh <donnyk@gmail.com>
Wed, 26 Mar 2008 17:24:54 +0000 (17:24 +0000)
committerDonny Kavanagh <donnyk@gmail.com>
Wed, 26 Mar 2008 17:24:54 +0000 (17:24 +0000)
(closes issue #12067)
Reported by: juggie
Patches:
      12067_snmp_doc.patch uploaded by juggie (license 24)
Tested by: juggie

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110911 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile
doc/snmp.txt

index f983e2db1e4683e75bf239879733d7e20e14b54f..5535db4978af2aa15b1f1169272ae25706fcb8b2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -845,7 +845,7 @@ menuselect/gmenuselect: menuselect/makeopts
 menuselect/nmenuselect: menuselect/makeopts
        $(MAKE_MENUSELECT) nmenuselect
 
-menuselect/makeopts:
+menuselect/makeopts: makeopts
        $(MAKE_MENUSELECT) makeopts
 
 menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml build_tools/cflags-devmode.xml sounds/sounds.xml build_tools/embed_modules.xml configure
index f1667ee15f09bc6ffcbc3266ea782fa8c63c9199..1f5fc2752c5baa9376344201329321b37faa2236 100644 (file)
@@ -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