mysql-snmp
mysql-snmp copied to clipboard
missed packages
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
I'd glad to fix that and create pull request, but unfortunately I'm not so familiar with packaging.
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.