[Koha] Problem installing Koha 3 beta 2

Joshua Ferraro jmf at liblime.com
Mon May 19 23:55:06 NZST 2008


On Sun, May 18, 2008 at 5:18 PM, Ricardo Dias Marques
<lists at ricmarques.net> wrote:
> Hi Veronica,
>
> On Sun, May 18, 2008 at 2:27 AM, Veronica Lencinas <vlencinas at yahoo.com> wrote:
>
>> I get a similar error log in OpenSuse 10.2:
> [snip]
>> [Sat May 17 22:21:23 2008] [error] [client 127.0.0.1]
>> [Sat May 17 22:21:23 2008] install.pl: Can't locate
>> object method "generate_id" via package
>> "CGI::Session::ID::" (perhaps you forgot to load
>> "CGI::Session::ID::"?) at
>> /usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm line 74.
>
> I had a similar error installing Koha 3 Beta 2 in openSUSE 10.3, in a
> recent installation I did.
>
> To solve it, I suggest that you try to do the following:
>
> - Enter a CPAN shell and install the CGI::Session::Serialize::yaml Perl module:
>
> __________
>
> # cpan
>
> cpan shell -- CPAN exploration and modules installation (v1.9205)
> ReadLine support enabled
>
> cpan[1]> install CGI::Session::Serialize::yaml
>
> __________
>
>
>
> It's possible that you get some errors related to JSON during the
> installation of this module, like the following ones:
> __________
>
> [some output]
>
> ....t/g4_dbfile_json..................# JSON::Syck
> t/g4_dbfile_json..................51/101        (in cleanup) Dumping
> circular structures is not supported with JSON::Syck at
> /root/.cpan/build/CGI-Session-4.20-cKDqHd/blib/lib/CGI/Session/Serialize/json.pm
> line 18.
>
> #   Failed test 'Previously stored object loaded successfully'
> #   at /root/.cpan/build/CGI-Session-4.20-cKDqHd/blib/lib/CGI/Session/Test/Default.pm
> line 362.
>
> #   Failed test at
> /root/.cpan/build/CGI-Session-4.20-cKDqHd/blib/lib/CGI/Session/Test/Default.pm
> line 362.
> Use of uninitialized value in string eq at
>        /root/.cpan/build/CGI-Session-4.20-cKDqHd/blib/lib/CGI/Session/Test/Default.pm
> line 325 (#1)
>    (W uninitialized) An undefined value was used as if it were already
>    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
>    To suppress this warning assign a defined value to your variables.
>
>    To help you figure out what was undefined, perl tells you what operation
>    you used the undefined value in.  Note, however, that perl optimizes your
>    program and the operation displayed in the warning may not necessarily
>    appear literally in your program.  For example, "that $foo" is
>    usually optimized into "that " . $foo, and the warning will refer to
>    the concatenation (.) operator, even though there is no . in your
>    program.
>
> Can't call method "can" on an undefined value at
>        /usr/lib/perl5/5.8.8/overload.pm line 54 (#2)
>    (F) You used the syntax of a method call, but the slot filled by the
>    object reference or package name contains an undefined value.  Something
>    like this will reproduce the error:
>
> [some output]
> __________
>
>
>
> If this is the case, try to do a force install of the
> CGI::Session::Serialize::yaml module in a CPAN prompt:
>
> __________
>
> cpan[2]> force install CGI::Session::Serialize::yaml
>
> __________
>
>
>
> After doing that, I think it's useful to install CGI::Session again in
> a CPAN prompt:
>
> __________
>
> # cpan
>
> cpan shell -- CPAN exploration and modules installation (v1.9205)
> ReadLine support enabled
>
> cpan[1]> install CGI::Session
>
> __________
>
>
>
> If, by doing this, your problem remains, and you still get "Can't
> locate object method "generate_id" via package "CGI::Session::ID::"
> (perhaps you forgot to load "CGI::Session::ID::"?)" in Koha error log,
> then try to install the CGI::Session::ID::MD5 Perl module in a CPAN
> prompt (I'm NOT sure that will help anything, but it seems that, at
> least, it does not hurt):
>
> __________
>
> cpan[2]> install CGI::Session::ID::MD5
>
> __________
>
>
>
> I hope this helps. Please, report back later saying if you solved your
> problem (and tell what did / did not work for you).
Ricardo,

Would you consider submitting an INSTALL.opensuse text file that
explains how to Install Koha on Suse and could be included with the
next release?

Cheers,

-- 
Joshua Ferraro                       SUPPORT FOR OPEN-SOURCE SOFTWARE
CEO                         migration, training, maintenance, support
LibLime                                Featuring Koha Open-Source ILS
jmf at liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS


More information about the Koha mailing list