Subject: | Not heeding --install_base |
Date: | Mon, 15 Aug 2016 10:23:24 +0200 |
To: | bug-Alien-ImageMagick [...] rt.cpan.org |
From: | Christopher Rasch-Olsen Raa <christopher [...] stix.no> |
Hi,
When running `cpanm Alien::ImageMagic` the build script does not heed
whatever --install_base is set and instead tries to install it alongside
Perl. This was observed on Perl v5.24.0 compiled through plenv (with
-Duseshrplib) and attempted isolated with `eval "$( perl
-Mlocal::lib=local - )". This set the following ENV variables:
PATH="/full/project/path/local/bin:$PATH";
PERL5LIB=/full/project/path/local/lib/perl5
PERL_MB_OPT=--install_base "/full/project/path/local"
PERL_MM_OPT=INSTALL_BASE=/full/project/path/local
PERL_LOCAL_LIB_ROOT=/full/project/path/local
Running `cpanm Alien::ImageMagick` results in Alien::ImageMagick being
installed in the same location perl is installed. This work when that
directory is somewhere the current user has write access to, but fails
as I experienced when run in a shared-perl environment, where
applications are expected to keep their dependencies local.
Possibly duplicate of #101952?
--
Med vennlig hilsen,
Christopher Rasch-Olsen Raa
Daglig Leder - Stix Utvikling AS
Telefon - +47 47 92 68 05
Web - http://www.stix.no