]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
Installing ikiwiki on a shared-hosting server, there may be no access to
authorLafayette Chamber Singers Webmaster <webmaster@lafayettechambersingers.org>
Sun, 14 Sep 2014 16:12:09 +0000 (12:12 -0400)
committerSimon McVittie <smcv@debian.org>
Wed, 11 Jan 2017 22:52:16 +0000 (22:52 +0000)
commitbe4668c873029fdeed6ecb78f7c662e85e5e6872
tree5f473cb7c07bc8f9cc8b4436ea002efea2c822ff
parentd975f3d817d2bb831b00c2fbf051d0a04cb415d7
Installing ikiwiki on a shared-hosting server, there may be no access to
install prerequisite Perl modules in the systemwide locations. They may
have to be installed under the home directory, such as by using local::lib
(which is how the cPanel Perl-module installer works, on systems that use it).

For that to work, the local::lib-defined value for PERL5LIB must be in
the environment when Perl starts up. The former way %config{ENV} was handled
was too late, depending on the Perl code to unpack it from the storable and
put it into the environment.

Easy solution is to build the wrapper to repopulate the environment based on
%config{ENV} before ever exec'ing Perl (and then remove it from the storable
as there is nothing more that the Perl code will need to do with it).
IkiWiki/Wrapper.pm