debinix has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to install the perl based twiki, :-) Locally it works fine. However the host provider (running CentOS, and perl 5.8.0) does not allow installing all required modules except in my ~ directory.
Now I managed to install the few missing modules in ~/lib/perl5. The problem is just that perl is not aware of my local repository of modules.
I have tried some fault finding home with Apache v2.2.4 (Ubunty 7.10) aka tried to have Apache to pass the environment to my cgi-bin scripts like so:
<Directory /var/www/twiki>
SetEnv PERL5LIB /home/debinix/lib/perl5
Options All
AllowOverride All
Order Deny,Allow
Allow from 192.168.0.0/255.255.255.0
</Directory>
$ perl -V outputs:
@INC:
/etc/perl
/usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl
mod_perl is not used on the server.
I kind of got stuck here. The apache log: "Can't locate Unicode/String.pm in @INC ..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: apache2 passing PERL5LIB environment to cgi
by AndyZaft (Hermit) on Jun 14, 2010 at 19:48 UTC | |
by Anonymous Monk on Jun 14, 2010 at 20:00 UTC | |
by ikegami (Patriarch) on Jun 14, 2010 at 20:05 UTC | |
by AndyZaft (Hermit) on Jun 14, 2010 at 20:11 UTC | |
by Anonymous Monk on Jun 15, 2010 at 07:42 UTC | |
by AndyZaft (Hermit) on Jun 15, 2010 at 13:41 UTC | |
|
Re: apache2 passing PERL5LIB environment to cgi
by mikelieman (Friar) on Jun 15, 2010 at 15:13 UTC | |
|
Re: apache2 passing PERL5LIB environment to cgi
by rowdog (Curate) on Jun 15, 2010 at 18:29 UTC | |
|
Re: apache2 passing PERL5LIB environment to cgi
by Anonymous Monk on Jun 15, 2010 at 20:21 UTC |