PDA

Bekijk de volledige versie : perl not works



greengreen
02-06-2007, 20:50
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/optware/oleg/cross/stable/perl_5.8.8-17_mipsel.ipk
Configuring perl
Successfully terminated.
[green@krakonosovo root]$ perl

no bug no echo :(

oleo
02-06-2007, 21:21
It works. But you need to read http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild .

greengreen
02-06-2007, 21:28
I installed
# get the better ipkg
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-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/optware/oleg/cross/stable/uclibc-opt_0.9.28-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

greengreen
03-06-2007, 08:41
Now it works thanks.

dreckgos
15-06-2007, 14:09
Now it works thanks.
I am having the same problem. Please tell me, how did you solve it?

Winne2Koslowski
13-05-2008, 13:04
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/modules/03modlist.data.gz
Going to read /opt/.cpan/sources/modules/03modlist.data.gz
/bin/gzip: illegal option -- -

al37919
13-05-2008, 13:17
try:
ipkg install gzip

Nichevo
12-06-2008, 21:05
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

antaglivis
19-12-2008, 14:58
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