masterzen / mysql-snmp

Net-SNMP perl agent for monitoring MySQL servers
http://www.masterzen.fr/software-contributions/mysql-snmp-monitor-mysql-with-snmp/
GNU General Public License v2.0
67 stars 33 forks source link

missed packages #26

Open velimir opened 10 years ago

velimir commented 10 years ago

I've tried to install package on a fresh system and got:

Starting Mysql SNMP Agent: Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at /usr/sbin/mysql-snmp line 38
Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/sbin/mysql-snmp line 450.
Perl script also requires modules libmath-bigint-gmp-perl, libdbd-pg-perl and libdbd-mysql-perl.
Starting Mysql SNMP Agent: Can't locate DBD/mysql.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/sbin/mysql-snmp line 451.

Fixed that by installing libmath-bigint-gmp-perl, libdbd-pg-perl and libdbd-mysql-perl packages

velimir commented 10 years ago

I'd glad to fix that and create pull request, but unfortunately I'm not so familiar with packaging.

masterzen commented 10 years ago

Thanks for reporting this issue! You are right we are missing some dependencies in debian/control(the first one is actually optional). I'll try to push a fix for this during the week-end.