Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 09:41:07 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        "ports@FreeBSD.org" <ports@freebsd.org>
Cc:        mat@freebsd.org
Subject:   Perl update failure
Message-ID:  <CAN6yY1udgF-0xFpVEh-8sGfwZVYNn=VM2LWRvo-2LxCyjcaA4w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
After today's update to Perl, following the instructions in UPDATING, I
have an important script that dies because it can't find Class/Load.pm. I
can confirm that the file no longer is present in /usr/local/lib/perl5.

This module is used by p5-Crypt-Random-Source-0.10. It results in the
following error:
Can't locate Class/Load.pm in @INC (you may need to install the Class::Load
module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.18
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.18/mach
/usr/local/lib/perl5/5.18 /usr/local/lib/perl5/site_perl/5.18
/usr/local/lib/perl5/site_perl/5.18/mach .) at
/usr/local/lib/perl5/site_perl/Crypt/Random/Source/Factory.pm line 5.

I thought it unlikely to work any better, but I tried re-building the port
and got n even moe disturbing report:
"*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***

If you're seeing this warning, your toolchain is really, really old* and
you'll
almost certainly have problems installing CPAN modules from this century.
But
never fear, dear user, for we have the technology to fix this!

If you're using CPAN.pm to install things, then you can upgrade it using:

    cpan CPAN

If you're using CPANPLUS to install things, then you can upgrade it using:

    cpanp CPANPLUS

If you're using cpanminus, you shouldn't be seeing this message in the first
place, so please file an issue on github.

If you're installing manually, please retrain your fingers to run Build.PL
when present instead.

This public service announcement was brought to you by the Perl Toolchain
Gang, the irc.perl.org #toolchain IRC channel, and the number 42.

----

* Alternatively, you are doing something overly clever, in which case you
should consider setting the 'prefer_installer' config option in CPAN.pm, or
'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively.

You can also silence this warning for future installations by setting the
PERL_MM_FALLBACK_SILENCE_WARNING environment variable."

What the heck is going on here? How to I get my random number generator
back!
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1udgF-0xFpVEh-8sGfwZVYNn=VM2LWRvo-2LxCyjcaA4w>