[OPEN-ILS-DEV] Client connect error.
Dan Scott
denials at gmail.com
Tue May 6 20:13:47 EDT 2008
2008/5/6 Robert <glibrarysystem at gmail.com>:
> I already tried that and it was unsuccessful. It says it can't locate
> Fieldmapper.pm in @INC, can't locate System.pm in @INC and can't locate
> SppSession.pm in @INC. The compilations were aborted at fieldmapper.pl at
> line4, org_tree_js.pl at line 8 and org_tree_html_options.pl at line 4. Any
> ideas on how to fix this?
Ah, that's very useful information. I think your PERL5LIB environment
variable is missing an entry for /openils/lib/perl5. If you followed
the Debian Etch instructions for installing, then this should be set
automatically (via .bashrc) when you become the opensrf user. Here's
how you can test the value of the variable and set it for the duration
of your login session if it isn't set correctly:
su - opensrf
echo $PERL5LIB
# if /openils/lib/perl5 isn't part of PERL5LIB:
export PERL5LIB=$PERL5LIB:/openils/lib/perl5
autogen.sh /openils/conf/opensrf_core.xml
To set this permanently as part of the opensrf user's environment,
follow step 23 of
http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_1.2_on_debian_etch_x86_32-bit
:
su - opensrf
chmod 755 /openils/var/cgi-bin/*.cgi
echo "export PERL5LIB=/openils/lib/perl5:\$PERL5LIB" >> ~/.bashrc
echo "export PATH=/openils/bin:\$PATH" >> ~/.bashrc
exit
Hope this helps!
--
Dan Scott
Laurentian University
More information about the Open-ils-dev
mailing list