aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-04 16:36:22 -0400
committerJoey Hess <joey@kitenet.net>2010-05-04 16:36:22 -0400
commit74e0c83a951ea9d1b5b0a068374086f71a04b593 (patch)
treea01101ed0d15d09476a14f746b2831eda8ba90c9 /doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
parentac2cc8f87d3dc0eefb5069fe1c9c189cd13fb33f (diff)
downloadikiwiki-74e0c83a951ea9d1b5b0a068374086f71a04b593.tar
ikiwiki-74e0c83a951ea9d1b5b0a068374086f71a04b593.tar.gz
response
Diffstat (limited to 'doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn')
-rw-r--r--doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn b/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
index 9dc539538..988f261a7 100644
--- a/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
+++ b/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
@@ -15,3 +15,19 @@ Or at least I get CGI errors and running ikiwiki.cgi manually fails too:
Undefined subroutine &IkiWiki::cgierror called at /home/user/bin/bin/ikiwiki line 199.
Server has an older ikiwiki installed but I'd like to use a newer version from git, and I don't have root access.
+
+> You can't set `PERL5LIB` in `ENV` in a setup file, because ikiwiki is already
+> running before it reads that, and so it has little effect. Your error
+> messages do look like a new bin/ikiwiki is using an old version of
+> `IkiWiki.pm`.
+>
+> The thing to do is set `INSTALL_BASE` when you're installing ikiwiki from
+> source. Like so:
+
+ cd ikiwiki
+ perl Makefile.PL INSTALL_BASE=$HOME PREFIX=
+ make install
+
+> Then `$HOME/bin/ikiwiki` will have hardcoded into it to look
+> for ikiwiki's perl modules in `$HOME/lib/perl5/`
+> (This is documented in the README file by the way.) --[[Joey]]