Install perl module with dependencies
- by AlxAlx
I'm trying to install a Perl module like this :
pi@raspbmc:~$ sudo cpan HTTP::Date
Cpan get the file
Checksum is ok
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'
Any ideas ?
My filesystem :
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 15G 2.1G 12G 16% /
/dev/mmcblk0p1 69M 8.1M 61M 12% /boot
EDIT : I tryed
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