[Koha] koha-3.02.00-alpha2 - Debian Lenny installation, a few problems/questions
Ville Huhtala
vthuhtala at netscape.net
Mon May 17 03:33:55 NZST 2010
Hello
Let me introduce myself. I'am Ville Huhtala, a librarian and a returning
subscriber to Koha mailing list from a few years back. I'm thinking of
cataloguing my personal collection so that I don't accidentally
repurchase the books or movies I already own! Koha may be a little
excessive for my needs, but once I have bibliographic data in marc
format it can be reused time and again.
Now, about installation. I have used included INSTALL.debian-lenny
installation guide. Numbered sections below are from there.
1.6 Install Perl dependencies
-----
PDF::API2::Simple installation using CPAN don't work. I got it working
using debian package libmodule-install-perl, as discussed here:
http://lists.katipo.co.nz/pipermail/koha/2010-March/023253.html
2.2 Create the Koha database
-----
mysql> grant all on <kohadatabasename>.* to
'<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
Shouldn't <kohadatabaseuser> be kohaadmin? Is there a need for an
another Koha mysql user?
In section 3 (Run the Koha installer) one of questions is 'Please
specify the user that owns the database to be used by Koha [kohaadmin]'
If <kohadatabaseuser> is not kohaadmin, then section 6 (Run the Web
Installer, populate the database, initial configuration of settings) and
5.1.2 (Zebra Indexer) will fail.
3. Run the Koha installer
-----
Warnings and one failed test - can they be ignored?
$ perl Makefile.PL
Warning: prerequisite Authen::CAS::Client 0.05 not found.
[Sat May 15 23:32:13 2010] Makefile.PL: Warning: prerequisite DateTime
0.51 not found. We have 0.42.
[Sat May 15 23:32:13 2010] Makefile.PL: Warning: prerequisite
Graphics::Magick not found.
[Sat May 15 23:32:13 2010] Makefile.PL: Warning: prerequisite
Lingua::Stem::Snowball 0.952 not found.
[Sat May 15 23:32:13 2010] Makefile.PL: Warning: prerequisite
Text::CSV::Encoded 0.09 not found.
Writing Makefile for koha
$ make test
...
t/Record.......................NOK 1/1
# Failed test 'use C4::Record;'
# at t/Record.t line 12.
# Tried to use 'C4::Record'.
# Error: Can't locate Text/CSV/Encoded.pm in @INC (@INC contains:
/home/ville/koha-3.02.00-alpha2/blib/PERL_MODULE_DIR
/home/ville/koha-3.02.00-alpha2/blib/arch /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 . /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
/home/ville/koha-3.02.00-alpha2/blib/PERL_MODULE_DIR/C4/Record.pm line 37.
# BEGIN failed--compilation aborted at
/home/ville/koha-3.02.00-alpha2/blib/PERL_MODULE_DIR/C4/Record.pm line 37.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Record.......................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/Review.......................ok
t/Scrubber.....................ok 1/10# Note: scrubber test output will
have whitespace collapsed for readability
# done.
t/Scrubber.....................ok
t/Serials......................ok
t/Stats........................ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/Record.t 1 256 1 1 1
20 subtests skipped.
Failed 1/26 test scripts. 1/474 subtests failed.
Files=26, Tests=474, 4 wallclock secs ( 3.64 cusr + 0.39 csys = 4.03 CPU)
Failed 1/26 test programs. 1/474 subtests failed.
make: *** [test_dynamic] Virhe 255
5. Configure and start Zebra
-----
...
1.2 Zebra Indexer
$ sudo -u ${KOHA_USER} misc/migration_tools/rebuild_zebra -z -b -a
=> rebuild_zebra.pl
Regards,
Ville Huhtala
More information about the Koha
mailing list