You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/02/05 18:42:39 UTC

[jira] [Created] (TS-4175) unset INSTALL_BASE when installing

James Peach created TS-4175:
-------------------------------

             Summary: unset INSTALL_BASE when installing
                 Key: TS-4175
                 URL: https://issues.apache.org/jira/browse/TS-4175
             Project: Traffic Server
          Issue Type: Bug
          Components: Build, Management API
            Reporter: James Peach


If you have CPAN set up, it will inject environment variables that break the perl module installation, specifically {{PERL_MM_OPT=INSTALL_BASE=/home/jpeach/perl5}}.

The resulting error is:
{code}
Making all in perl
make[3]: Entering directory '/tmp/org.apache.trafficserver.3277/obj/lib/perl'
test -f "../../lib/perl/Makefile.PL" || cp -rf "/home/jpeach/tmp/trafficserver-6.1.1/lib/perl/." "../../lib/perl/"
/usr/bin/perl Makefile.PL INSTALLDIRS= PREFIX=/tmp/org.apache.trafficserver.3277/dst
Only one of PREFIX or INSTALL_BASE can be given.  Not both.
Makefile:712: recipe for target 'Makefile-pl' failed
make[3]: *** [Makefile-pl] Error 25
make[3]: Leaving directory '/tmp/org.apache.trafficserver.3277/obj/lib/perl'
Makefile:638: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/org.apache.trafficserver.3277/obj/lib'
Makefile:577: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/org.apache.trafficserver.3277/obj/lib'
Makefile:674: recipe for target 'all-recursive' failed
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)