Monday, February 05, 2007

Koha on Fedora Core 6

Koha-2.2.7 works on LAMP, but we have to do some manual modification on a recent Linux distribution.

Firstly, you have to install enough Perl modules in terms of installation manual. On Fedora Core 6, you have to install some modules, such as ZOOM, Data::Random, etc., from the CPAN source code.

Secondly, you have to create some tables by yourself which are defined in koha.mysql, because they would not be created during the installation process, such as Koha.items, Koha.systempreference, etc. Especially you have to modify the create script of Koha.issues, because it uses a MySQL 5.0 reserved word "return" (it is not a reserved word in MySQL 4.1 and previous versions). According to , "reserved words are permitted as identifiers if you quote them". "MySQL allows some keywords to be used as unquoted identifiers because many people previously used them. Examples are those in the following list: ACTION BIT DATE ENUM NO TEXT TIME TIMESTAMP", so you only need to quote the `return`, and leave the "timestamp" unquoted.

No comments: