public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge fails with `Suspicious PERL5LIB setting's
@ 2015-08-30  6:37 Harry Putnam
  2015-08-30 16:24 ` Stroller
  0 siblings, 1 reply; 3+ messages in thread
From: Harry Putnam @ 2015-08-30  6:37 UTC (permalink / raw
  To: gentoo-user

Setup: running gentoo inside vbox on Solaris (x86)
Very new install

Running `emerge -v dev-vcs/git' when it comes to installing several dev-perl
pkgs begining with dev-perl/Digest-HMAC-1.30.0-r1::gentooi, it fails with a
brief explanation:

  >>> Configuring source in /var/tmp/portage/dev-perl/Digest-HMAC-1.30.0-r1/work/Digest-HMAC-1.03 ...
   * perl-module.eclass: Suspicious environment values found.
   *     PERL5LIB="/usr/local/cpan-perl:/usr/local/cpan-perl/lib:/usr/local/cpan-perl/lib/perl5"
   * Your environment settings may lead to undefined behavior and/or build failures.
   * ERROR: dev-perl/Digest-HMAC-1.30.0-r1::gentoo failed (configure phase):
   *   Please fix your environment ( ~/.bashrc, package.env, ... ), see above for details.
   * 

I've been building cpan packages and have them installed at the locations
mentioned above.  Then, to get perl to include them in `@INC', I've utilized
the PERL5LIB variable in one of my login scripts, just as it appears in the
error.

Its not clear to me why setting these directories with PERL5LIB is
`Suspicious', or how to proceed from here. 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge fails with `Suspicious PERL5LIB setting's
  2015-08-30  6:37 [gentoo-user] emerge fails with `Suspicious PERL5LIB setting's Harry Putnam
@ 2015-08-30 16:24 ` Stroller
  2015-08-30 17:20   ` [gentoo-user] " Harry Putnam
  0 siblings, 1 reply; 3+ messages in thread
From: Stroller @ 2015-08-30 16:24 UTC (permalink / raw
  To: gentoo-user


On Sun, 30 August 2015, at 7:37 am, Harry Putnam <reader@newsguy.com> wrote:
> ...
> I've been building cpan packages and have them installed at the locations
> mentioned above.  Then, to get perl to include them in `@INC', I've utilized
> the PERL5LIB variable in one of my login scripts, just as it appears in the
> error.

If you want to install Perl packages which aren't in Portage, then the "supported" method is using app-portage/g-cpan.

Stroller.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: emerge fails with `Suspicious PERL5LIB setting's
  2015-08-30 16:24 ` Stroller
@ 2015-08-30 17:20   ` Harry Putnam
  0 siblings, 0 replies; 3+ messages in thread
From: Harry Putnam @ 2015-08-30 17:20 UTC (permalink / raw
  To: gentoo-user

Stroller <stroller@stellar.eclipse.co.uk> writes:

> On Sun, 30 August 2015, at 7:37 am, Harry Putnam <reader@newsguy.com> wrote:
>> ...
>> I've been building cpan packages and have them installed at the locations
>> mentioned above.  Then, to get perl to include them in `@INC', I've utilized
>> the PERL5LIB variable in one of my login scripts, just as it appears in the
>> error.
>
> If you want to install Perl packages which aren't in Portage, then the "supported" method is using app-portage/g-cpan.
>
> Stroller.

Thanks! Got that going now.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-30 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-30  6:37 [gentoo-user] emerge fails with `Suspicious PERL5LIB setting's Harry Putnam
2015-08-30 16:24 ` Stroller
2015-08-30 17:20   ` [gentoo-user] " Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox