I am trying to install Device::BCM2835 perl module using CPAN. I already installed libbcm2835 from http://www.airspayce.com/mikem/bcm2835/ . When I try to install perl module, I get stuck at the first test as follows. Is this a known thing? What is the workaround?

I ran into this the other day upgrading to bcm2835-1.25 and Device::BCM2835-1.8.
The test script appears to get stuck in a loop calling bcm2835_peri_read().
I installed the module manually, skipping the 'make test' step and haven't had any problems.

I've got the same issue. I have installed the module using cpan -f -i Device::BCM2835 once it reached the test line PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.tt/Device-BCM2835.t .. 1/5