From: https://www.google.com/accounts/o8/id?id=AItOawkiulxucQx_YZQZUVJdNF6oMaZwWb8JF2M Date: Fri, 23 Mar 2012 18:14:01 +0000 (-0400) Subject: (no commit message) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1fb3495ed2a041dd8b53d27ac238c224cb40ff4d;p=ikiwiki.git --- diff --git a/doc/bugs/CGI_wrapper_doesn__39__t_store_PERL5LIB_environment_variable.mdwn b/doc/bugs/CGI_wrapper_doesn__39__t_store_PERL5LIB_environment_variable.mdwn new file mode 100644 index 000000000..296134940 --- /dev/null +++ b/doc/bugs/CGI_wrapper_doesn__39__t_store_PERL5LIB_environment_variable.mdwn @@ -0,0 +1,8 @@ +If you wish to install ikiwiki in your home directory (for example because you don't have root access), you need to set environment variables (such as PATH and PERL5LIB) to point to these directories that contain your personal copy of IkiWiki. + +The CGI wrapper remembers PATH, but not the environment variable PERL5LIB. Consequently, it will look for plugins and so on in the usual system directories, not in your personal copy. This is particularly insiduous if you have a system copy of a different version installed, as your CGI wrapper may then load in code from this version. + +I think the CGI wrapper should remember PERL5LIB too. + +-- Martin +