ikiwiki/doc/forum/perl5lib_and_wrappers.mdwn

12 lines
870 B
Plaintext
Raw Normal View History

2008-07-19 07:52:56 +02:00
I don't know if I'm doing this right... I'm using a server provider that doesn't allow me to install into standard perl locations, so I used PREFIX to install things in my home dir. The problem is that when the wrapper is run by the CGI server, it can't find the perl modules I installed. There didn't seem to be a way to set the PERL5LIB from the standard config, so I added one. Patch attached. Or did I miss something and this was already possible?
2008-07-19 19:29:24 +02:00
> The standard way to do it is to set `INSTALL_BASE=$HOME` when running
> `Makefile.PL`. If you do this, ikiwiki will be built with a special `use
> lib $HOME` line inserted, that will make it look in the specified
> directory for perl modules.
>
> The [[tips/nearlyfreespeech]] tip has an example of doing this.
> --[[Joey]]
2008-07-21 00:02:10 +02:00
>> Thanks! I found that page, but didn't recognise the importance of INSTALL_BASE.