I'm trying to install a Perl module like this:
pi@raspbmc:~$ sudo cpan HTTP::Date
CPAN gets the file, the checksum is OK, and it uncompressed successfully.
But I got this error:
Using Tar:/bin/tar xf "HTTP-Date-6.02.tar":
Couldn't untar HTTP-Date-6.02.tar: 'Cannot allocate memory'
How can I fix this problem?
My file system:
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 15G 2.1G 12G 16% /
/dev/mmcblk0p1 69M 8.1M 61M 12% /boot
I tried:
curl -L http://cpanmin.us | perl - App::cpanminus
But when I do
sudo cpanm HTTP::Date
I got this error:
-bash: cpanm: command not found
free -m
? Typpically, when your error talks about memory which cannot be allcoated, check that you have allocatable memory ;)