Perl woes
2011.02.22 - posted in PerlToday I was working on a backup solution for multiple linux hosts. My intention was to install BackupPC, which requires some Perl modules. I used this command to interactively install perl modules:
perl -MCPAN -e shell
The first time you invoke this command, you’ll go through the setup procedure.
In my case, installation of Compress-Raw-Zlib-2.033 failed at the make stage. Looks like I forgot to install make prior to going through the setup procedure. On top of that, the perl installation might not detect when it is installed later on. Here’s how to configure the path to make:
[root@srv-test build]# perl -MCPAN -e shell CPAN
cpan> o conf make /usr/bin/make
cpan> o conf commit
Tags: Linux, perl