perl module for mysql? if so, they can be gotten for free from cpan.org
im guessing nagios has lots of dependencies, check its documentation then check that against whats on your system presently and add what isnt there
as far as the mysql version checking, dont know other than hacking the ./setup program a bit and see what happens, sometimes specific versions of apps or libraries are needed, sometimes not, and sometimes the version checking doesnt work right to begin with----a quick and dirty way would be to make a symlink and maybe fool it into thinking you have the version of mysql it is looking for
my advice, find an ubuntu forum like at linuxquestions.org and see what you can find out, this question is a bit specialized for the talent available here to be honest |