in reply to Test::Simple will install, but not be detected as an appropriate dependency in CPAN

Best guess is that somehow your @INC has got messed up. The reported version of Test::Simple of 0.98 is the version supplied by your OS (ubuntu 14.04). Your initial installation of the module via cpan indicates that this newer version has been installed under /root/perl5/lib/perl5 - is that path in your @INC or not? If so where is it relative to the location of the Test::More version from the deb?

Be very careful mixing vendor perl, vendor modules and third party modules especially when mixing different versions of the same module like this.

  • Comment on Re: Test::Simple will install, but not be detected as an appropriate dependency in CPAN
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: Test::Simple will install, but not be detected as an appropriate dependency in CPAN
by Weebo (Novice) on Jul 09, 2015 at 18:06 UTC
    It turns out that no, /root/perl5/lib/perl5 was not in my @INC I ran export PERL5LIB=/root/perl5/libe/perl5:$PERL5LIB and it appears that everything is now installing properly. However, when I try to run a perl dependent software I get the error Can't locate forks.pm in @INC (you may need to install the forks module), so it seems that point @INC to this root library does not include the modules I had already installed. I'll simply reinstall them though.
      Now I seem to have shifted the problem. CPAN says forks.pm is installed and up to date, but Maker (a program that uses forks.pm) still says it can't find it. Running locate forks.pm returns nothing.

        So compare shebangs (commandline, Maker), compare @INC, and figure out the difference

        You can always installl "forks" in a different INSTALL_BASE and tell "Maker" about it