[OPEN-ILS-GENERAL] installation question
Dan Scott
dan at coffeecode.net
Sun Mar 28 23:05:04 EDT 2010
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
it.
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