[OPEN-ILS-GENERAL] installation question

Jesse Ephraim jephraim at roanoketexas.com
Mon Mar 29 00:34:38 EDT 2010

>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 it./

I put it in there to try to point it to the only instance of JSON.pm I could find on the box.  It didn't work, obviously.

>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.

Yep, I installed and tested OpenSRF before I ever touched Evergreen.  

/usr/local/share/perl/5.10.0/ contains Business, Catalyst, Class, CQL, Net, SRU, SRU.pm, and String.  JSON.pm isn't under any of the directories or subdirectories there - it's only under /home/opensrf/OpenSRF-1.2.2/src/perl/lib/OpenSRF/Utils/

- Jesse

-----Original Message-----
From: open-ils-general-bounces at list.georgialibraries.org on behalf of Dan Scott
Sent: Sun 3/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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3921 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20100328/3ef85136/attachment-0001.bin 

More information about the Open-ils-general mailing list