[OPEN-ILS-GENERAL] installation question

Jesse Ephraim jephraim at roanoketexas.com
Mon Mar 29 17:35:39 EDT 2010

What should $PERL5LIB have in it?

Do you think I should re-install OpenSRF?  If so, should I just install over the current one, or do something to remove the current one?


Jesse Ephraim

Director, Roanoke Public Library
308 S. Walnut
Roanoke, Texas 76262
(817) 491-2691
jephraim at roanoketexas.com

-----Original Message-----
From: open-ils-general-bounces at list.georgialibraries.org [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Dan Scott
Sent: Sunday, March 28, 2010 10:05 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] installation question

On Sun, 2010-03-28 at 21:54 -0500, Jesse Ephraim wrote:
> I am part way through installing Evergreen on Debian Lenny. 
> When I get to this part in the instructions:
> cd /openils/bin
> ./autogen.sh -c /openils/conf/opensrf_core.xml -u
> I get the error message:
> Updating Evergreen organization tree and IDL using
> '/openils/conf/opensrf_core.xml'
> Updating fieldmapper
> Can't locate OpenSRF/Utils/JSON.pm in @INC (@INC
> contains: /openils/lib/perl5 /home/opensrf/OpenSRF-1.2.2/src/perl/lib/OpenSRF/Utils/JSON.pm /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /openils/lib/perl5/OpenILS/Utils/Fieldmapper.pm line 2.
> BEGIN failed--compilation aborted
> at /openils/lib/perl5/OpenILS/Utils/Fieldmapper.pm line 2.
> Compilation failed in require at fieldmapper.pl line 4.
> BEGIN failed--compilation aborted at fieldmapper.pl line 4.
> I noticed that JSON.pm is installed at
> /home/opensrf/OpenSRF-1.2.2/src/perl/lib/OpenSRF/Utils/
> I know I'm missing something very obvious, but I've been at this too
> long today to lock onto it.  Any guidance would be appreciated.

Your $PERL5LIB looks really weird; I wouldn't expect it to
have /home/opensrf/OpenSRF-1.2.2/src/perl/lib/OpenSRF/Utils/JSON.pm in

Did you install OpenSRF before installing Evergreen? If you did,
OpenSRF::Utils::JSON should be installed
in /usr/local/share/perl/5.10.0/ and you shouldn't need to point
to /home/opensrf/OpenSRF-1.2.2 to resolve any dependencies.

More information about the Open-ils-general mailing list