When running "make" we get the following error: Manifying blib/man3/serials::member-search.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib /usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/MISC_DIR/koha-install-log Can't open blib/MISC_DIR/koha-install-log for read at rewrite-config.PL line 157. make: *** [blib/MISC_DIR/koha-install-log] Error 2 Is there anyone who knows what's wrong here? -- View this message in context: http://www.nabble.com/Problem-installing-Koha-3-beta-2-tp17017877p17017877.h... Sent from the Koha - Discuss mailing list archive at Nabble.com.
drammensbib a écrit :
When running "make" we get the following error:
Manifying blib/man3/serials::member-search.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib /usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/MISC_DIR/koha-install-log Can't open blib/MISC_DIR/koha-install-log for read at rewrite-config.PL line 157. make: *** [blib/MISC_DIR/koha-install-log] Error 2
Is there anyone who knows what's wrong here?
Hi it looks like you are using a user who doesnot have read rights on blib/MISC_DIR directory or MISC_DIR is not created or koha-install-log is not created. -- Henri-Damien LAURENT
Henri-Damien LAURENT-3 wrote:
drammensbib a écrit :
When running "make" we get the following error:
Manifying blib/man3/serials::member-search.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib /usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/MISC_DIR/koha-install-log Can't open blib/MISC_DIR/koha-install-log for read at rewrite-config.PL line 157. make: *** [blib/MISC_DIR/koha-install-log] Error 2
Is there anyone who knows what's wrong here?
Hi it looks like you are using a user who doesnot have read rights on blib/MISC_DIR directory or MISC_DIR is not created or koha-install-log is not created. -- Henri-Damien LAURENT _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Thanks! We fixed that problem, and the the rest of the installation is successful until we browse to http://servername:8080/. There we get the error message "production mode - trapped fatal error". The koha-errror_log looks like this: 404.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 318. 404.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 319. 404.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 324. 404.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 325. 404.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 455. 404.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 455. 404.pl: Install required, redirecting to Installer at /usr/share/koha/lib/C4/Auth.pm line 410. install.pl: DBD::mysql::st execute failed: Table 'koha.language_subtag_registry' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 178. install.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 179. install.pl: Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.8/CGI/Session.pm line 129. install.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 455. install.pl: Use of uninitialized value in string eq at /usr/share/koha/lib/C4/Context.pm line 38. install.pl: Use of uninitialized value in string eq at /usr/share/koha/lib/C4/Context.pm line 38. install.pl: Can't locate object method "generate_id" via package "CGI::Session::ID::" (perhaps you forgot to load "CGI::Session::ID::"?) at /usr/local/share/perl/5.8.8/CGI/Session.pm line 74.8.36.69.195] [Wed May 7 14:33:12 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/local/share/perl/5.8.8/CGI/Session.pm line 74. We're installing on Ubuntu 8.04 Any suggestions? Thanks, Jonas. -- View this message in context: http://www.nabble.com/Problem-installing-Koha-3-beta-2-tp17017877p17109746.h... Sent from the Koha - Discuss mailing list archive at Nabble.com.
I get a similar error log in OpenSuse 10.2: [Sat May 17 22:21:23 2008] [error] [client 127.0.0.1] [Sat May 17 22:21:23 2008] install.pl: DBD::mysql::st execute failed: Table 'koha.language_subtag_registry' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 178. [Sat May 17 22:21:23 2008] [error] [client 127.0.0.1] [Sat May 17 22:21:23 2008] install.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 179. [Sat May 17 22:21:23 2008] [error] [client 127.0.0.1] [Sat May 17 22:21:23 2008] install.pl: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm line 129. [Sat May 17 22:21:23 2008] [error] [client 127.0.0.1] [Sat May 17 22:21:23 2008] install.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 455. [Sat May 17 22:21:23 2008] [error] [client 127.0.0.1] [Sat May 17 22:21:23 2008] install.pl: Use of uninitialized value in string eq at /usr/share/koha/lib/C4/Context.pm line 38. [Sat May 17 22:21:23 2008] [error] [client 127.0.0.1] [Sat May 17 22:21:23 2008] install.pl: Use of uninitialized value in string eq at /usr/share/koha/lib/C4/Context.pm line 38. [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. Regards Veronica Lencinas Cordoba, Argentina Tarjeta de crédito Yahoo! de Banco Supervielle. Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar
Hi Veronica, On Sun, May 18, 2008 at 2:27 AM, Veronica Lencinas <vlencinas@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). Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
On Sun, May 18, 2008 at 5:18 PM, Ricardo Dias Marques <lists@ricmarques.net> wrote:
Hi Veronica,
On Sun, May 18, 2008 at 2:27 AM, Veronica Lencinas <vlencinas@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@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Thank you very much!
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:
This was the solution. Koha 3.0 works now fine in OpenSUSE 10.2. I don't know if I can add an INSTALL.opensuse file (I'm only a librarian), but I'll try to document all steps in the next installation in my library (same Linux flavor). First impression was very nice. It (no-zebra) seems to be slightly slower than Koha 2.2.9, but perhaps there is still some configuration to be done. Thank you very much for all the work put in this version and for the quick and efficient support. I'll continue to help in the translation of the Spanish version. Best regards Veronica Lencinas Córdoba, Argentina Yahoo! Encuentros. Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros http://yahoo.cupidovirtual.com/servlet/NewRegistration
Hi Veronica, On Mon, May 19, 2008 at 9:18 PM, Veronica Lencinas <vlencinas@yahoo.com> wrote:
Thank you very much!
You're welcome! :)
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:
This was the solution. Koha 3.0 works now fine in OpenSUSE 10.2.
Great! Thanks for the feedback. I'm really glad that my solution worked for you. [snip]
I don't know if I can add an INSTALL.opensuse file (I'm only a librarian), but I'll try to document all steps in the next installation in my library (same Linux flavor).
Like I said in a post I sent a few moments ago to Joshua (and copied to this Mailing List), I accepted his request to create an INSTALL.opensuse file. Obviously, all the comments and corrections to that file that I'll create will be very welcome! :) In any case, I think that you do very well in documenting your install attempts. Having also written those documents about Koha installation (for myself), I can say they become very useful for future installation attempts. Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
Ricardo - If you need any help with this I would be willing to help out. I've done some installations on OpenSuse and would be willing to help edit or add any information. -Brendan Brendan A. Gallagher Bibliomaiton INC. 32 Crest Rd. Middlebury, CT 06762 phone (203)577-4070 x119 On May 19, 2008, at 6:59 PM, Ricardo Dias Marques wrote:
Hi Veronica,
On Mon, May 19, 2008 at 9:18 PM, Veronica Lencinas <vlencinas@yahoo.com> wrote:
Thank you very much!
You're welcome! :)
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:
This was the solution. Koha 3.0 works now fine in OpenSUSE 10.2.
Great! Thanks for the feedback. I'm really glad that my solution worked for you.
[snip]
I don't know if I can add an INSTALL.opensuse file (I'm only a librarian), but I'll try to document all steps in the next installation in my library (same Linux flavor).
Like I said in a post I sent a few moments ago to Joshua (and copied to this Mailing List), I accepted his request to create an INSTALL.opensuse file. Obviously, all the comments and corrections to that file that I'll create will be very welcome! :)
In any case, I think that you do very well in documenting your install attempts. Having also written those documents about Koha installation (for myself), I can say they become very useful for future installation attempts.
Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Perhaps we should just throw this document on the wiki? I don't use openSUSE, but I think the wiki would be the best place for it if so many non-devs will be editing it.
Perhaps we should just throw this document on the wiki? I don't use openSUSE, but I think the wiki would be the best place for it if so many non-devs will be editing it. Might be a good idea in the short term, but it should also be packaged with
On Mon, May 19, 2008 at 9:38 PM, Jesse <pianohacker@gmail.com> wrote: the next release once it's finished IMO. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
On Mon, May 19, 2008 at 7:39 PM, Joshua Ferraro <jmf@liblime.com> wrote:
Perhaps we should just throw this document on the wiki? I don't use openSUSE, but I think the wiki would be the best place for it if so many non-devs will be editing it. Might be a good idea in the short term, but it should also be packaged with
On Mon, May 19, 2008 at 9:38 PM, Jesse <pianohacker@gmail.com> wrote: the next release once it's finished IMO.
Well, yeah. If we update the Git copy after every few major edits from the wiki, that should be good.
Hi Joshua, On Mon, May 19, 2008 at 12:55 PM, Joshua Ferraro <jmf@liblime.com> wrote:
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?
Thank you very much for your invitation Joshua! Short Answer: Yes, I'll happily submit an INSTALL.opensuse text file that explains how to install Koha on openSUSE. :) I do have some relatively extensive installation notes about Koha 3 (Beta 1 and Beta 2) in openSUSE (versions 10.3 and 11 Beta 3) that I can try to "format" as a file similar to the existing INSTALL.linux, INSTALL.debian and INSTALL.fedora files. Caveat: I do have some doubts about what versions of openSUSE and Koha should I "target" in that documentation. But I think I'll leave those doubts for another post in the Koha-Devel mailing list. Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
participants (7)
-
Brendan Gallagher -
drammensbib -
Henri-Damien LAURENT -
Jesse -
Joshua Ferraro -
Ricardo Dias Marques -
Veronica Lencinas