in reply to unable to install switch.pm

It looks like you have installed Perl from a package (or it was preinstalled) and you don't have the C compiler that is required to build that module.

/J\