In my case (on a red hat 8), errors such as those
Configuring Text-CSV_XS-1.44 ... OK
Building and testing Text-CSV_XS-1.44 ... FAIL
! Installing Text::CSV_XS failed. See /root/.cpanm/work/1602076325.241
+59/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'Text::CSV_XS' is not ins
! Bailing out the installation for Class-CSV-1.03.
Building and testing Email-Address-XS-1.04 ... FAIL
! Installing Email::Address::XS failed. See /root/.cpanm/work/16020762
+36.22939/build.log for details. Retry with --force to force install i
--> Working on MIME::Types
were caused by missing gcc
yum install gcc -y