Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-linux] Can't install CPAN modules due to tar error

Expand Messages
  • Sam
    Sam Park 010 2784 5903 ... Sam Park 010 2784 5903 2011. 8. 19. 15:27 azlon19 작성: Hello, I am running an Asus RT-N16 with Optware
    Message 1 of 4 , Aug 19, 2011
    • 0 Attachment


      Sam Park
      010 2784 5903

      2011. 8. 19. 15:27 "azlon19" <spazlon@...> 작성:

       

      Hello,

      I am running an Asus RT-N16 with Optware installed.

      My problem is that when I try to install a module I get a tar error. Here is the output:

      root@DD-WRT:~# ipkg-opt install tar
      Installing tar (1.25-1) to /opt/...
      Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/tar_1.25-1_mipsel.ipk
      package tar suggests installing xz-utils
      Configuring tar
      update-alternatives: Linking //opt/bin/tar to /opt/bin/gnutar
      Successfully terminated.
      root@DD-WRT:/opt/.cpan/build# ipkg-opt install xz-utils
      Installing xz-utils (5.0.3-1) to /opt/...
      Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/xz-utils_5.0.3-1_mipsel.ipk
      Installing liblzma0 (5.0.3-1) to /opt/...
      Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/liblzma0_5.0.3-1_mipsel.ipk
      Configuring liblzma0
      Configuring xz-utils
      Successfully terminated.
      root@DD-WRT:~# cpan install Bundle::CPAN
      CPAN: Storable loaded ok
      Going to read /opt/.cpan/Metadata
        Database was generated on Fri, 19 Aug 2011 02:30:40 GMT
      Running install for module install
      Running make for D/DA/DAGOLDEN/install-0.01.tar.gz
      CPAN: Digest::MD5 loaded ok
      CPAN: Compress::Zlib loaded ok
      Checksum for /opt/.cpan/sources/authors/id/D/DA/DAGOLDEN/install-0.01.tar.gz ok
      Scanning cache /opt/.cpan/build for sizes
      install-0.01/
      install-0.01/t/
      install-0.01/t/install.t
      install-0.01/MANIFEST
      install-0.01/lib/
      install-0.01/lib/install.pm
      install-0.01/Changes
      install-0.01/README
      install-0.01/Makefile.PL
      install-0.01/META.yml

        CPAN.pm: Going to build D/DA/DAGOLDEN/install-0.01.tar.gz

      Checking if your kit is complete...
      Looks good
      Writing Makefile for install
      cp lib/install.pm blib/lib/install.pm
      Manifying blib/man3/install.3
        /opt/bin/make  -- OK
      Running make test
      PERL_DL_NONLAZY=1 /opt/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
      t/install....ok
      All tests successful.
      Files=1, Tests=1,  0 wallclock secs ( 0.34 cusr +  0.24 csys =  0.58 CPU)
        /opt/bin/make test -- OK
      Running make install
      Installing /opt/lib/perl5/site_perl/5.8.8/install.pm
      Installing /opt/man/man3/install.3
      Writing /opt/lib/perl5/site_perl/5.8.8/mipsel-linux/auto/install/.packlist
      Appending installation info to /opt/lib/perl5/5.8.8/mipsel-linux/perllocal.pod
        /opt/bin/make install  -- OK
      Running install for module Test::Harness
      Running make for A/AN/ANDYA/Test-Harness-3.23.tar.gz
      Checksum for /opt/.cpan/sources/authors/id/A/AN/ANDYA/Test-Harness-3.23.tar.gz ok
      Uncompressed /opt/.cpan/sources/authors/id/A/AN/ANDYA/Test-Harness-3.23.tar.gz successfully
      Using Tar:/bin/tar xvf /opt/.cpan/sources/authors/id/A/AN/ANDYA/Test-Harness-3.23.tar:
      Couldn't untar /opt/.cpan/sources/authors/id/A/AN/ANDYA/Test-Harness-3.23.tar


      Here are the stats for the box:

      root@DD-WRT:~# uname -a
      Linux DD-WRT 2.6.24.111 #5536 Sun May 8 02:44:23 CEST 2011 mips unknown

      root@DD-WRT:~# fdisk -l

      Disk /dev/sda: 8143 MB, 8143241216 bytes
      255 heads, 63 sectors/track, 990 cylinders
      Units = cylinders of 16065 * 512 = 8225280 bytes
      Disk identifier: 0x000c0ebb

         Device Boot      Start         End      Blocks   Id  System
      /dev/sda1               1         131     1052226   83  Linux
      /dev/sda2             132         139       64260   82  Linux swap / Solaris
      /dev/sda3             140         990     6835657+  83  Linux

      root@DD-WRT:~# df -h
      Filesystem                Size      Used Available Use% Mounted on
      /dev/root                 6.1M      6.1M         0 100% /
      /dev/discs/disc0/part1
                             1011.4M    510.9M    449.2M  53% /opt
      /dev/sda3                 6.4G    142.8M      6.0G   2% /mnt

      The end goal is to be able to install the following modules:
      cpan File::Copy::Recursive File::Glob LWP::Simple TVDB::API Getopt::Long Switch WWW::TheMovieDB::Search XML::Simple

      Anybody know how can I fix this tar issue?

      Thanks!

      - Ryan

    Your message has been successfully submitted and would be delivered to recipients shortly.