>
> > >Weirdly perl5.6.1 -V thinks it is perl 5.6.0 ?-S
>>
>> Please paste the entire output of perl5.6.1 -V so that we can see 
>>what's wrong.
>>
>> Thanks,
>>
>
>Here it comes:
>
>
>Script started on Thu Aug 16 16:12:49 2001
>doctor.nl2k.ab.ca//usr/libdata$ find . -name \*Config.pm\* -print
>./perl5/CPAN/Config.pm~
>./perl5/CPAN/Config.pm
>./perl5/i386-bsdos/Config.pm
>./perl5/site_perl/Net/Config.pm
>./perl5/site_perl/i386-bsdos/Tk/Config.pm
>./perl5/site_perl/i386-bsdos/Apache/MyConfig.pm
>./perl5/site_perl/i386-bsdos/Apache/ModuleConfig.pm
>./perl5/site_perl/5.005/HTML/EP/Config.pm
>./perl5/site_perl/5.005/HTML/Mason/Config.pm
>./perl5/site_perl/5.005/Apache/Roaming/LiPrefs/Config.pm
>./perl5/site_perl/5.005/Apache/DBILogConfig.pm
>./perl5/site_perl/5.005/i386-bsdos/Net/Config.pm
>./perl5/site_perl/5.005/i386-bsdos/Apache/MyConfig.pm
>./perl5/site_perl/5.005/i386-bsdos/Apache/ModuleConfig.pm
>./perl5/site_perl/5.6.0/i386-bsdos/Apache/MyConfig.pm
>./perl5/site_perl/5.6.0/i386-bsdos/Apache/ModuleConfig.pm
>./perl5/site_perl/5.6.0/Net/Config.pm
>./perl5/site_perl/5.6.0/Template/Config.pm
>./perl5/5.00503/i386-bsdos/Config.pm
>./perl5/5.00503/CPAN/Config.pm
>./perl5/5.00503/CPAN/Config.pm~



Ok... There are several installations here.  My guess is that the 
system was installed with perl version 5.00503.  Then you upgraded to 
perl 5.6.0.  Now you've upgraded again to perl 5.6.1.  Perl 5.6.1 has 
installed a Config.pm into ./perl5/i386-bsdos/Config.pm.



>doctor.nl2k.ab.ca//usr/libdata$ perl5.6.0 -V
>Perl lib version (v5.6.0) doesn't match executable version (v5.6.1) 
>at /usr/libdata/perl5/i386-bsdos/Config.pm line 21.
>Compilation failed in require.
>BEGIN failed--compilation aborted.

Umm... perl5.6.0 -V is looking at the first config file it finds, 
which happens to be the one that was installed by perl 5.6.1.  That 
is why the versions do not match.


>doctor.nl2k.ab.ca//usr/libdata$ perl5.6.0 -V1
>Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
>  Platform:
>[snip]

>Characteristics of this binary (from libperl):
>  Compile-time options: USE_LARGE_FILES
>  Built under bsdos
>  Compiled at May  9 2000 14:39:24
>  @INC:
>    /usr/libdata/perl5/i386-bsdos
>    /usr/libdata/perl5
>    /usr/contrib/lib/perl5/site_perl/5.6.0/i386-bsdos
>    /usr/contrib/lib/perl5/site_perl/5.6.0
>    /usr/contrib/lib/perl5/site_perl
>    .
>doctor.nl2k.ab.ca//usr/libdata$ exit
>exit

At this point, I'm going to suggest that you fully migrate to perl 
5.6.1.  This means that you need to stop using perl5.6.0 in your #! 
lines.  Either that, or remove perl5.6.0 and link it to perl5.6.1.

Note: YMMV.

ln -s /usr/bin/perl5.6.1 /usr/bin/perl5.6.0

If this is not what you have in mind, then I suggest reinstalling a 
fresh copy of perl 5.6.0 from source to overwrite the existing 
Config.pm file and any other files perl 5.6.1 might have installed.

In the future, I would suggest including as much information in your 
original post as neccesary as not every one is as patient or as 
willing to help as I am, especially when the thread starts getting 
long.

Sincerely,

Robert Landrum

--
"A good magician never reveals his secret; the unbelievable trick
becomes simple and obvious once it is explained. So too with UNIX." 

Reply via email to