Hoi

That was it.
Thanks.

Greetings Miguel

                   /////
                  (o o)
==============oOO==(_)==OOo==============
             Miguel Demaerel
         System Engineer - SCSA
           Atos Origin Belgium
           GSM: 0498.90.54.17
  Email [EMAIL PROTECTED]
========================================= 


-----Original Message-----
From: Render Web [mailto:[EMAIL PROTECTED]
Sent: donderdag 12 augustus 2004 12:10
To: Demaerel, Miguel
Subject: Re: [Perl-unix-users] cpan error with 2 different perl version
onthesame machine.


Demaerel, Miguel wrote:
> Hoi
> 
> This is the output @INC
> ##/usr/local/perl/bin#perl -e 'for (@INC) { printf "%d %s\n", $i++, $_}'
> 0 /usr/local/perl/lib/5.8.5/alpha-dec_osf
> 1 /usr/local/perl/lib/5.8.5
> 2 /usr/local/perl/lib/site_perl/5.8.5/alpha-dec_osf
> 3 /usr/local/perl/lib/site_perl/5.8.5
> 4 /usr/local/perl/lib/site_perl
> 5 .
> ##/usr/local/perl/bin#cd
> ##/usr/home/ase#perl -e 'for (@INC) { printf "%d %s\n", $i++, $_}'
> 0 /usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf
> 1 /usr/lib/perl-5.6.0/lib/5.6.0
> 2 /usr/lib/perl-5.6.0/lib/site_perl/5.6.0/alpha-dec_osf
> 3 /usr/lib/perl-5.6.0/lib/site_perl/5.6.0
> 4 /usr/lib/perl-5.6.0/lib/site_perl
> 5 .
> ##/usr/home/ase#


> I don't understand why the install is looking in the 5.6.0 lib.

run 'type perl' in each directory.

I expect the PATH includes . and /usr/lib/perl-5.6.0/bin (or /usr/bin
  and /usr/bin/perl is 560) but not /usr/local/perl/bin.

Try adding /usr/local/bin/perl to the head of your path

PATH=/usr/local/bin/perl:$PATH

and see if this helps.

Rememebr also that if your .bashrc/.shrc/... file are explicitly
setting the PATH all bets are off.

Jacqui

****************************************************************************
Disclaimer: 
This electronic transmission and any files attached to it are strictly 
confidential and intended solely for the addressee. If you are not 
the intended addressee, you must not disclose, copy or take any
action in reliance of this transmission. If you have received this 
transmission in error, please notify the sender by return and delete
the transmission.  Although the sender endeavors to maintain a
computer virus free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages 
resulting from any virus transmitted. 
Thank You.
****************************************************************************

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to