'mysql-snmp', 'net-snmp', and 'snmp' can't locate files/modules
Sean Sciberras <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have (or am trying to) install Net-SNMP onto Raspbian OS (Debian for Raspberry Pi) in order to communicate OIDs to/from MySQL. I have downloaded/installed mysql-snmp (cloned from from github), Unix-Syslog-1.1.tar.gz, NetSNMP-OID-5.0404.tar.gz, net-snmp-5.7.3.tar.gz, and SNMP-5.0404.tar.gz. Executing 'mysql-snmp' at first returned an error (through Math::BigInt) stating that it couldn't find Unix-Syslog, so I installed it. It then did the same thing with NetSNMP-OID, so I attempted to install that. While trying to install NetSNMP-OID, it returns an error stating that it cannot find net-snmp-config, though it is already installed and I can see the file in question. The same is true for NetSNMP/OID.pm; mysql-snmp cannot find this file even though it is present. I have run './configure --with-perl-modules' successfully, however mysql-snmp still has issues finding NetSNMP/OID.pm. (I understand that mysql-snmp is not your module, but I figure I'll explain the full situation). To be honest, I'm not entirely sure what I have and haven't installed correctly, despite having followed the README and INSTALL files of the respective modules. I can provide more detail if needed, but I am trying to keep this email as clear and concise as possible, haha! Some key error messages: 'mysql-snmp' Installation:~ $ mysql-snmpMath::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /usr/sbin/mysql-snmp line 38.Can't locate NetSNMP/OID.pm in @INC (you may need to install the NetSNMP::OID module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/sbin/mysql-snmp line 444.BEGIN failed--compilation aborted at /usr/sbin/mysql-snmp line 444. 'SNMP-5.0404' Installation: ~/net-snmp/perl $ perl Makefile.PL [-NET-SNMP-CONFIG="sh ../net-snmp-config"] [-NET-SNMP-IN-SOURCE=true]'[-NET-SNMP-CONFIG' is not a known MakeMaker parameter name.'[-NET-SNMP-IN-SOURCE' is not a known MakeMaker parameter name.ERROR from evaluation of /home/pi/net-snmp/perl/default_store/Makefile.PL: You need to install net-snmp first (I can't find net-snmp-config) at ./Makefile.PL line 84. Again, I can provide more detail if/as needed. Thanks! Best Regards, Sean ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users