For some reason PECL wouldn’t install a Perl package today and I ended up getting the error Cannot find config.m4

Non-WHM Users

The fix is fairly easy, either compile the Perl module yourself. Search the Perl module on perl.org – WHM users will find the json_pp module here:

http://cpansearch.perl.org/src/MAKAMAKA/JSON-PP-2.27300/lib/JSON/PP.pm

WHM User:

1. Open WHM

2. Search for Install A Perl Module in the sidebar

Go to page 3 and locate JSON::PP

Json Pp Module.png

Install this module

Done!