]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1638377: Allow perl to be installed in non-standard locations user/miker/lp-1638377-install_perl_mods_anywhere
authorMike Rylander <mrylander@gmail.com>
Wed, 17 Aug 2016 17:25:35 +0000 (13:25 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 1 Nov 2016 20:34:02 +0000 (16:34 -0400)
commit2cfdbc6f89aeae532aafc34b2fb4cc45eac84644
treeb604d9b0a5838218170f6b0671544bff6ebfc4e4
parentc6f486fd1bce40f722b2072cef69e59ac6df678b
LP#1638377: Allow perl to be installed in non-standard locations

Add --with-perlbase configure option to specify
an alternative location for installing the Perl modules. This
can be useful for setups that want to run the Perl modules
from a shared filesystem or environments that need to run
multiple versions of OpenSRF simultaneously.

Users of --with-perlbase are responsible for ensuring that
PERL5LIB is set appropriately.

To test
-------
[1] Use --with-perlbase during the configure step, e.g.,

    ./configure --perl-base /tmp/perl

[2] Run make; make check; sudo make install
[3] Verify that the Perl modules are installed under
    /tmp/perl.
[4] Make a change to a Perl source file, then
    go to src/perl, then run sudo ./Build install. Verify
    that it remembers the --with-perlbase directory
    and installs the updated module there.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Makefile.am
Open-ILS/src/perlmods/Makefile.am
configure.ac