Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge fails with `Suspicious PERL5LIB setting's
Date: Sun, 30 Aug 2015 06:36:49
Message-Id: 87zj191du8.fsf@reader.local.lan
1 Setup: running gentoo inside vbox on Solaris (x86)
2 Very new install
3
4 Running `emerge -v dev-vcs/git' when it comes to installing several dev-perl
5 pkgs begining with dev-perl/Digest-HMAC-1.30.0-r1::gentooi, it fails with a
6 brief explanation:
7
8 >>> Configuring source in /var/tmp/portage/dev-perl/Digest-HMAC-1.30.0-r1/work/Digest-HMAC-1.03 ...
9 * perl-module.eclass: Suspicious environment values found.
10 * PERL5LIB="/usr/local/cpan-perl:/usr/local/cpan-perl/lib:/usr/local/cpan-perl/lib/perl5"
11 * Your environment settings may lead to undefined behavior and/or build failures.
12 * ERROR: dev-perl/Digest-HMAC-1.30.0-r1::gentoo failed (configure phase):
13 * Please fix your environment ( ~/.bashrc, package.env, ... ), see above for details.
14 *
15
16 I've been building cpan packages and have them installed at the locations
17 mentioned above. Then, to get perl to include them in `@INC', I've utilized
18 the PERL5LIB variable in one of my login scripts, just as it appears in the
19 error.
20
21 Its not clear to me why setting these directories with PERL5LIB is
22 `Suspicious', or how to proceed from here.

Replies

Subject Author
Re: [gentoo-user] emerge fails with `Suspicious PERL5LIB setting's Stroller <stroller@××××××××××××××××××.uk>