Skip Menu |

This queue is for tickets about the Crypt-DH CPAN distribution.

Report information
The Basics
Id: 120715
Status: open
Priority: 0/
Queue: Crypt-DH

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Fails install when no '.' in @INC
5.25.* with -Ddefault_inc_excludes_dot ( default since 5.25.11 )

Configuring Crypt-DH-0.07 ... Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10 /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
Configuring Crypt-DH failed.


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
inc::Module::Install is shipped by the distribution but it would probably be better to remove it and simply list inc::Module::Install as a build_requires to the META.yml file ? On Thu Mar 23 09:19:40 2017, KENTNL wrote: Show quoted text
> 5.25.* with -Ddefault_inc_excludes_dot ( default since 5.25.11 ) > > Configuring Crypt-DH-0.07 ... Can't locate inc/Module/Install.pm in > @INC (you > may need to install the inc::Module::Install module) (@INC contains: > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/site_perl/5.25.10/x86_64-linux > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/site_perl/5.25.10 > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/5.25.10/x86_64-linux > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/5.25.10) at > Makefile.PL line 2. > BEGIN failed--compilation aborted at Makefile.PL line 2. > Configuring Crypt-DH failed. > > > -- > - CPAN kentnl@cpan.org > - Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )

On 2017-10-31 05:21:53, atoomic wrote:
> inc::Module::Install is shipped by the distribution but it would
> probably be better to remove it and simply
> list inc::Module::Install as a build_requires to the META.yml file ?
>

No, that makes things worse.

The recommended approach for Module::Install is just to change @INC before 'use inc::Module::Install'. ( eg: use lib '.'    , or alternatively, BEGIN { unshift @INC, '.' }

There's no other approach that makes things usefully better, other than removing the use of Module::Install entirely and rewriting it in Pure ExtUtils::MakeMaker

And adding Module::Install to build_requires pretty much makes the entire design of Module::Install a waste of time.

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )