Results 1 to 9 of 9

Thread: perl not works

  1. #1

    perl not works

    hi,
    I installed perl but when I want to run it nothing happened
    Installing perl (5.8.8-17) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/op...-17_mipsel.ipk
    Configuring perl
    Successfully terminated.
    [green@krakonosovo root]$ perl

    no bug no echo
    Last edited by greengreen; 02-06-2007 at 21:35.

  2. #2
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736

  3. #3
    I installed
    # get the better ipkg
    wget http://ipkg.nslu2-linux.org/feeds/op...3-9_mipsel.ipk
    #install it (ignore tne missing lists/wl500g error)
    ipkg.sh install ipkg-opt_0.99.163-9_mipsel.ipk

    # get the better uclibc
    wget http://ipkg.nslu2-linux.org/feeds/op...-12_mipsel.ipk
    # install it (ignore tne missing lists/wl500g error)
    ipkg.sh install uclibc-opt_0.9.28-12_mipsel.ipk

    # update the list using the improved ipkg
    ipkg update


    before perl but not works
    Last edited by greengreen; 02-06-2007 at 21:58.

  4. #4
    Now it works thanks.
    Last edited by greengreen; 03-06-2007 at 09:03.

  5. #5
    Quote Originally Posted by greengreen View Post
    Now it works thanks.
    I am having the same problem. Please tell me, how did you solve it?

  6. #6
    I cant run Perl, too. Seems to be a problem with gzip. I get Errors like this:

    Going to read /opt/.cpan/sources/modules/02packages.details.txt.gz
    /bin/gzip: illegal option -- -
    BusyBox v1.1.3 (2007.01.01-14:37+0000) multi-call binary

    Usage: gzip [OPTION]... [FILE]...

    Warning: Your /opt/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Warning: Your /opt/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    LWP not available
    LWP not available
    Fetching with Net::FTP:
    ftp://cpan.mirror.iphh.net/pub/CPAN/...odlist.data.gz
    Going to read /opt/.cpan/sources/modules/03modlist.data.gz
    /bin/gzip: illegal option -- -

  7. #7
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    try:
    ipkg install gzip

  8. #8
    I get the same error using the cpan module, gzip is installed and working as I expect it to do... so this is a bit of a mystery to me

  9. #9
    Quote Originally Posted by Nichevo View Post
    I get the same error using the cpan module, gzip is installed and working as I expect it to do... so this is a bit of a mystery to me
    Hi

    quite old post but can be of interest...

    You have to install gzip as adviced and then tell cpan that gzip is in (as all other ipkg packages) in /opt/bin/

    anyway...be ready to have an extremely slow cpan.

    Ant

    Note:
    to reset cpan options (once started cpan)

    cpan>o conf init

Similar Threads

  1. PING works but "Workgroup" no access? help please
    By telemachus in forum WL-500g Q&A
    Replies: 0
    Last Post: 12-05-2007, 18:25
  2. Perl?
    By Barefoot in forum WL-500gP Q&A
    Replies: 15
    Last Post: 17-04-2007, 20:46
  3. perl modules / microperl
    By aflo in forum WL-HDD Q&A
    Replies: 0
    Last Post: 21-10-2006, 01:04
  4. Replies: 8
    Last Post: 03-06-2006, 16:10
  5. Replies: 1
    Last Post: 22-03-2006, 20:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •