Schrift
Wiki:Tipp zum Debugging: use Data::Dumper; local $Data::Dumper::Useqq = 1; print Dumper \@var;
[thread]11910[/thread]

Problem mit Perl Installation (Seite 4)

Leser: 3


<< |< 1 2 3 4 >| >> 34 Einträge, 4 Seiten
eams1110
 2008-05-25 01:10
#110262 #110262
User since
2008-05-24
16 Artikel
BenutzerIn
[default_avatar]
GwenDragon+2008-05-24 22:58:38--
Ansonsten lösche einfach das doppelte perl-Verzeichnis.
Und teste dann, ob Perl geht.


Gelöscht! perl -v sagt:

Code: (dl )
1
2
[/mnt/HDA_ROOT/perl] # perl -v
-sh: /usr/bin/perl: No such file or directory


Muss ich nicht erst noch folgendes machen?

Code: (dl )
1
2
3
4
5
6
7
8
9
# cd /mnt/HDA_ROOT/perl

# cp -af bin/* /usr/bin

# ln -sf /mnt/HDA_ROOT/perl/5.8.8 /usr/lib

# ln -sf /mnt/HDA_ROOT/perl/site_perl /usr/lib

# ln -sf /lib/ld-2.3.4.so /lib/ld.so.1


EDIT: Ich habe das mal so gemacht. Alle Befehle werden auch abgearbeitet. Aber NULL Erfolg.

Code: (dl )
1
2
3
4
5
6
7
8
[/mnt/HDA_ROOT/perl] # cp -af bin/* /usr/bin
[/mnt/HDA_ROOT/perl] # ln -sf /mnt/HDA_ROOT/perl/5.8.8 /usr/lib
[/mnt/HDA_ROOT/perl] # ln -sf /mnt/HDA_ROOT/perl/site_perl /usr/lib
[/mnt/HDA_ROOT/perl] # perl -v
-sh: /usr/bin/perl: No such file or directory
[/mnt/HDA_ROOT/perl] # ln -sf /lib/ld-2.3.4.so /lib/ld.so.l
[/mnt/HDA_ROOT/perl] # perl -v
-sh: /usr/bin/perl: No such file or directory


EDIT: Wenn alle Stricke reißen dann setze ich den NAS-Server in der nächsten Woche nach dieser Anleitung neu auf. Dennoch hoffe ich noch auf kreative Beiträge.

Ich möchte mich jetzt schon mal für die intensive und kompetente Unterstützung - insbesondere von GwenDragon - bedanken.

btw. Kann ich irgendwo eine Emailbenachrichtigung über eingegangene Antworten auf meine Beiträge aktivieren?
eams1110
 2008-05-27 00:29
#110328 #110328
User since
2008-05-24
16 Artikel
BenutzerIn
[default_avatar]
Ich habe es geschafft! Perl ist wieder installiert.

NAS neu reinitialisiert und diese Datei verwendet: perl-5.8.8.tar.gz für meinen QNAP TS-409Pro. Es gibt wohl unterschiedlich gepackte Versionen dieser Datei. Installiert habe ich dann nach dieser Anleitung.

Jetzt habe ich ein Problem mit der Installation des LWP UserAgent:

install LWP::UserAgent ergibt folgendes:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
cpan> install LWP::UserAgent
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
/bin/gzip: invalid option -- -
BusyBox v1.01 (2008.04.15-20:32+0000) multi-call binary

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

Compress FILE(s) with maximum compression.
When FILE is '-' or unspecified, reads standard input. Implies -c.

Options:
-c Write output to standard output instead of FILE.gz
-d Decompress
-f Force write when destination is a terminal

Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
/bin/gzip: invalid option -- -
BusyBox v1.01 (2008.04.15-20:32+0000) multi-call binary

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

Compress FILE(s) with maximum compression.
When FILE is '-' or unspecified, reads standard input. Implies -c.

Options:
-c Write output to standard output instead of FILE.gz
-d Decompress
-f Force write when destination is a terminal

Warning: Your /root/.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 /root/.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.
Going to read /root/.cpan/sources/modules/03modlist.data.gz
/bin/gzip: invalid option -- -
BusyBox v1.01 (2008.04.15-20:32+0000) multi-call binary

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

Compress FILE(s) with maximum compression.
When FILE is '-' or unspecified, reads standard input. Implies -c.

Options:
-c Write output to standard output instead of FILE.gz
-d Decompress
-f Force write when destination is a terminal

Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 21) line 1.
at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 3405
CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/modules/03modlist.data.gz') called at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 3128
CPAN::Index::reload('CPAN::Index') called at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0x604ee0)', 'CPAN::Module', 'LWP::UserAgent') called at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 1841
CPAN::Shell::expandany('CPAN::Shell', 'LWP::UserAgent') called at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 2077
CPAN::Shell::rematein('CPAN::Shell', 'install', 'LWP::UserAgent') called at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 2164
CPAN::Shell::install('CPAN::Shell', 'LWP::UserAgent') called at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 201
eval {...} called at /mnt/HDA_ROOT/perl/lib/5.8.8/CPAN.pm line 201
CPAN::shell() called at -e line 1

cpan>


Vielleicht kann mir noch jemand auf die Sprünge helfen?
eams1110
 2008-06-01 18:15
#110545 #110545
User since
2008-05-24
16 Artikel
BenutzerIn
[default_avatar]
Der UserAgent ist jetzt auch installiert.

Ich habe ipkg installiert und damit ein vollwertiges gzip installiert. Den Pfad zu gzip musste ich noch in der config von CPAN auf die neue gzip nach /opt/bin anpassen.
GwenDragon
 2008-06-01 18:31
#110546 #110546
User since
2005-01-17
14848 Artikel
Admin1
[Homepage]
user image
Na siehste, nur die richtige Pakete (bei Perl und Linux) nehmen ;)
<< |< 1 2 3 4 >| >> 34 Einträge, 4 Seiten



View all threads created 2008-05-24 14:38.