On Wed, Nov 28, 2018 at 11:32:26AM +0100, Pierre Labastie via blfs-dev wrote: > On 27/11/2018 20:53, Ken Moffat via blfs-dev wrote: > > Either we continue as now, except that we archive Error.pm, or, I > > think, we will need to separately install Git.pm as well as Error > > and Mail::Address. > > Git.pm is not in CPAN, is it? The other modules are both in CPAN (and are > shipped in a directory "FromCPAN" in git tarball).
I looked when I raised that ticket and yes, Git (capital G) is there, but my impression from reading it was that it was pulled from git's git and therefore the version in the latest git release could theoretically be newer. > > > > If we do the latter, presumably we somehow have to set > > NO_PERL_CPAN_FALLBACKS.perl/Git/LoadCPAN > > > > Doing that should ensure that anyone whose git usage requires these > > modules will get an error if they have not installed them: > > > > BUG: [snip] > > > > If BLFS does that (and I have not tested how that NO_PERL... > > should be set), the three modules would then become recommended, > > because there is a simple way to use the shipped versions. > > To set the variable, just call make with "make > NO_PERL_CPAN_FALLBACKS=whatever". But I'm not sure we want to do that, even > if we have Error and Mail::Address Perl modules in the book. If those > modules are installed in standard Perl location, they will be used instead > of the bundled ones (which are installed anyway in another location). If > they are not found in the standard location, git uses the bundled ones > (unless NO_PERL_CPAN_FALLBACKS has been set to anything other than "", which > triggers the error reported by Ken). The mechanism can be seen in > perl/Git/LoadCPAN.pm (in git source tree). > > Pierre Thanks. ĸen -- If a man stands before a mirror and sees in it his reflection, what he sees is not a true reproduction, but a picture of himself when he was a younger man. -- de Selby -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
