![](https://seccdn.libravatar.org/avatar/271323fea103cd569f1f508881d4fd1c.jpg?s=120&d=mm&r=g)
Hallo, ich habe Perl5.6.1 installiert, Perl5.6.0 ist auch noch vorhanden. Bei der eingabe von "perl -v" wird perl5.6.1 angezeigt. nun moechte ich, dass perl5.6.0 wieder angezeigt wird. hat jemand einen Tipp wie ich da anstellen kann? Gruss Andre
![](https://seccdn.libravatar.org/avatar/3315311bb8e9e2e94780da1ac1b7f51d.jpg?s=120&d=mm&r=g)
Hallo Andre, in welchem Verzeichnis ist die perl561? in welchem Verzeichnis ist die perl560? Die perl561 umbenennen, was weiß ich "perl561" Stattdessen ein Link auf perl560. Ich vermute das müsste reichen. Gruß, Thomas
![](https://seccdn.libravatar.org/avatar/271323fea103cd569f1f508881d4fd1c.jpg?s=120&d=mm&r=g)
On Sunday 23 September 2001 22:35, you wrote:
Hallo Andre,
in welchem Verzeichnis ist die perl561? in welchem Verzeichnis ist die perl560?
Die perl561 umbenennen, was weiß ich "perl561" Stattdessen ein Link auf perl560.
Ich vermute das müsste reichen.
Gruß, Thomas
Hi, Perl561 liegt in /usr/local/lib perl560 /usr/lib mit einem link "ln -s" habe ich es schon probiert, funktioniert leider nicht. Bei der Ausfuerhung von "perl Makefile.Pl" wird dann kein perl gefunden. Gruss Andre
![](https://seccdn.libravatar.org/avatar/3315311bb8e9e2e94780da1ac1b7f51d.jpg?s=120&d=mm&r=g)
Hallo Andre, Moment, im Header jedes Perl-Scripts steht doch normalerweise #!/usr/bin/perl. Wenn man dieses Binary auf perl560 linkt; geht es dann? Gruß, Thomas
![](https://seccdn.libravatar.org/avatar/271323fea103cd569f1f508881d4fd1c.jpg?s=120&d=mm&r=g)
Hallo Andre,
Moment, im Header jedes Perl-Scripts steht doch normalerweise #!/usr/bin/perl. Wenn man dieses Binary auf perl560 linkt; geht es dann?
Gruß, Thomas Hi Thomas,
On Monday 24 September 2001 02:23, you wrote: perl5.6.0 , tools bzw. scripte funktionieren ja soweit. nur moechte ich perl560 wieder Systemweit haben(Ordnung muss sein:))., wenn ich z.b. perl Makefile.Pl aufrufe will er immer auf perl561 in /usr/local/lib zugreifen anstatt auf Perl560 /usr/lib. Gruss Andre
![](https://seccdn.libravatar.org/avatar/7b33cb1e776e35b87edb8ef09f0c888f.jpg?s=120&d=mm&r=g)
On Mon, 24 Sep 2001, Andre Pfeiler wrote:
perl5.6.0 , tools bzw. scripte funktionieren ja soweit. nur moechte ich perl560 wieder Systemweit haben(Ordnung muss sein:))., wenn ich z.b. perl Makefile.Pl aufrufe will er immer auf perl561 in /usr/local/lib zugreifen anstatt auf Perl560 /usr/lib.
Tja, schau mal in deine PATH Variable... Na? Was kommt da noch vor /usr/bin??? Genau. PENG. Und ja, das _ist_ sinnvoll so (ich hab z.B. perl 5.00503 in /usr und 5.6.0 in /usr/local)... Du musst dich wohl entscheiden... -dnh -- -dnh, HUCH!: { \n itALIENisch... \n Was sagt uns das???\n Kommt das WoKo aus ItALIEN??? \n "Isch 'abe gar gein Auto..."???????????????42 \n ("...abe' ein UFO"???) \n Sind alle ItALIENer wie das WoKo??? \n Stecken *SIE* dahinter? \n } *sichzitterndunterderbettdeckeverkriechend* -- David Haller in suse-talk
![](https://seccdn.libravatar.org/avatar/271323fea103cd569f1f508881d4fd1c.jpg?s=120&d=mm&r=g)
On Monday 24 September 2001 06:57, you wrote:
On Mon, 24 Sep 2001, Andre Pfeiler wrote:
perl5.6.0 , tools bzw. scripte funktionieren ja soweit. nur moechte ich perl560 wieder Systemweit haben(Ordnung muss sein:))., wenn ich z.b. perl Makefile.Pl aufrufe will er immer auf perl561 in /usr/local/lib zugreifen anstatt auf Perl560 /usr/lib.
Tja, schau mal in deine PATH Variable... Na? Was kommt da noch vor /usr/bin??? Genau. PENG. Und ja, das _ist_ sinnvoll so (ich hab z.B. perl 5.00503 in /usr und 5.6.0 in /usr/local)...
Du musst dich wohl entscheiden...
-dnh
Ich moechte wenn ich "perl -v" eingebe wieder die info bekommen"This is perl, v5.6.0 built for i686-linux" , anstatt "This is perl, v5.6.1 built for i686-linux". Im Script selber ist das schon klar das da /usr/bin/perl steht und ich das aendern kann, nur bei "perl Makefile.PL" z.b wird immer der neue Perlinterpreter (5.6.1) in /usr/local/lib aufgerufen anstatt 5.6.0 in /usr/bin und ich frag mich wie ich das wieder aendern kann? ich habe schon von er SuSE cd perl neuinstalliert, aber wenn ich perl Makefile.Pl eingeben wird trotz der neuinstallation von perl immer noch der neue Interpreter aufgerufen5.6.1. gruss Andre
![](https://seccdn.libravatar.org/avatar/7b33cb1e776e35b87edb8ef09f0c888f.jpg?s=120&d=mm&r=g)
On Mon, 24 Sep 2001, Andre Pfeiler wrote:
On Monday 24 September 2001 06:57, you wrote:
Tja, schau mal in deine PATH Variable... Na? Was kommt da noch vor /usr/bin??? Genau. PENG. [..] Ich moechte wenn ich "perl -v" eingebe wieder die info bekommen"This is perl, v5.6.0 built for i686-linux" , anstatt "This is perl, v5.6.1 built for i686-linux".
Und? Hast du mal deine PATH-Variable angeschaut? Was passiert denn, wenn du 'perl -v' eingibst? Genau, eine ausfuehrbare Datei namens perl wird IM PFAD gesucht, und die _erste_ gefundene wird verwendet. Du kannst z.B. /usr/bin/perl mit dem kompletten Pfad aufrufen... Ach ja, /usr{,/local}/bin/perl sind ggfs. symlinks die auf das eigentliche binary perl<version> verweisen, du kannst also z.B. /usr/local/bin/perl auf /usr/bin/perl5.6.0 umbiegen und /usr/bin/perl auf /usr/local/bin/perl5.6.1 Das ist aber eine eher kranke Loesung... -dnh -- Bill Gates types into his PeeCee: "Is there a God?" A: "Not enough computing power." BG gets all computers at MS and MSN hooked up to his and types again. Same result. BG calls up everyone at Cray, Sun, Apple, you name it, and gets their computers hooked to his as well. Then he types it in again... A: "Now there is..."
participants (3)
-
Andre Pfeiler
-
David Haller
-
Thomas Preissler