File: mib2c_perl_error

package info (click to toggle)
net-snmp 5.9.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 38,720 kB
  • sloc: ansic: 282,878; perl: 17,704; sh: 12,151; makefile: 2,711; python: 734; xml: 663; pascal: 62; sql: 47
file content (24 lines) | stat: -rw-r--r-- 861 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: mib2c perl error message
 Change the error message of mib2c when it cannot find the perl module to install
 by using apt-get rather than downloading source code from the upstream website.
Author: Craig Small <csmall@debian.org>
Origin: Debian
Bug-Debian: https://bugs.debian.org/990706
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2021-07-06
--- a/local/mib2c
+++ b/local/mib2c
@@ -23,10 +23,9 @@
 if (!$havesnmp) {
     print "
 ERROR: You don't have the SNMP perl module installed.  Please obtain
-this by getting the latest source release of the net-snmp toolkit from
-http://www.net-snmp.org/download/ .  Once you download the source and
-unpack it, the perl module is contained in the perl/SNMP directory.
-See the README file there for instructions.
+this by running the command:
+
+apt-get install libsnmp-perl
 
 ";
     exit;