Workaround for failing tests on gentoo linux: PERL5LIB=$HOME/perl5/lib/perl5/ perl Build.PL Or another dir, depending where CPAN installed modules.