First: Please consider using a packaged version. Munin is available as packages in the packaging system of many operating systems.
To install munin in /usr/local, install its build requirements, and then run:
perl Build.PL
./Build
./Build test
sudo ./Build install
This will install munin master, node and plugins.
For more information about requirements , please see the install documentation, online or the files in doc/installation/