Install perl module with dependencies
Posted
by
AlxAlx
on Super User
See other posts from Super User
or by AlxAlx
Published on 2013-10-31T08:25:01Z
Indexed on
2013/10/31
9:59 UTC
Read the original article
Hit count: 1049
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
© Super User or respective owner