[OPEN-ILS-DEV] Apache2 and Perl5 Modules ?

Dan Scott denials at gmail.com
Thu May 10 08:14:44 EDT 2007


Hi Hennie:

Where have you tried setting PERL5LIB so far?

For example, on Gentoo I add the following line to httpd.conf:

SetEnv PERL5LIB /openils/lib/perl5

This assumes that you have enabled mod_env for Apache:
http://httpd.apache.org/docs/2.0/mod/mod_env.html

Dan

On 10/05/07, Hennie Rautenbach <hennie at sabinet.co.za> wrote:
> Hi there,
>
> Where do I tell Apache2 (Debian Etch Stable) where to locate Perl
> Modules ? (Libraries) ?
>
> Error:
>
> [Thu May 10 10:43:34 2007] [error] [client 192.96.193.28] Can't locate
> OpenILS/Application/Storage.pm in @INC (@INC contains: /etc/perl <wrap>
> /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 .) at <wrap> /openils/var/cgi-bin/lib-setup.cgi
> line 5., referer: http://leo.sabinet.co.za/cgi-bin/config.cgi
>
> Regards,
>
> Hennie
>
>
> --------------------------------------------------------------------------------
>
> This transmission is for the intended addressee only and is confidential
> information. If you have received this transmission in error, please
> delete it and notify the sender. The contents of this e-mail are the
> opinion of the writer only and are not endorsed by Sabinet Online
> Limited unless expressly stated otherwise.
> --------------------------------------------------------------------------------
>


-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list