From 1fb3495ed2a041dd8b53d27ac238c224cb40ff4d Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkiulxucQx_YZQZUVJdNF6oMaZwWb8JF2M" Date: Fri, 23 Mar 2012 14:14:01 -0400 Subject: [PATCH] --- ..._doesn__39__t_store_PERL5LIB_environment_variable.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/CGI_wrapper_doesn__39__t_store_PERL5LIB_environment_variable.mdwn 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 + -- 2.44.0