[Koha] Koha on CentOS 5.2

ahtshun83 tony_ykt at yahoo.com
Thu May 7 16:46:38 NZST 2009


Hi Franck,

Thank you for your detailed explanation.I followed INSTALL.fedora7 guide..
However i encountered  failure on some of the steps.
 
For example:
1. when i install CPAN::MARC::File::XML or Net:Z3950:Zoom,i got the below
error message

Failed 1/22 test programs. 1/706 subtests failed.
make: *** [test_dynamic] Error 255
  MIRK/Net-Z3950-ZOOM-1.25.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MIRK/Net-Z3950-ZOOM-1.25.tar.gz
Running make install
  make test had returned bad status, won't install without force

How do i resolve this issue before i continue with the remaining steps?

Thank you!!


Hi Tony,

To install Koha 3.0.1 on Centos 5.2, you can mostly follow the
installation guide for Fedora 7 (INSTALL.fedora7 in koha tarball). 

Yet you'll need to adapt it slightly, especially because not all
packages are available in CentOS repository. 

Add rpmforge yum repository [See
http://www.ultranetsolutions.com/CentOS-5-install-rpmforge-yum-repo.html
Or http://wiki.centos.org/AdditionalResources/Repositories/RPMForge ]

The most tedious part is installation of Perl required packages. When it
fails to install using cpan you can try to install the rpm instead. 

Make sure to install perl-XML-SAX-Expat as there is an issue with
perl-XML-SAX with wide characters

I installed successfully idzebra 2.0-2.0.32 and yaz 3.0.32-1 from
http://ftp.indexdata.dk/pub/zebra/redhat/fc6/ and
http://ftp.indexdata.dk/pub/yaz/redhat/fc6/

At the end of installation, 

you need to create a symbolic link from /usr/bin/zebraidx to
/usr/bin/zebraidx-2.0 and from /usr/bin/zebrasrv to
/usr/bin/zebrasrv-2.0 and to install daemon
(http://libslack.org/daemon/). Otherwise you won't be able to use the
start/stop scripts installed in /usr/share/koha/bin.

Add the following two comment lines to koha-zebra-ctl.sh (after
#!/bin/bash)
# chkconfig: 12345 98 02
# description: Zebrasvr provides search service to koha

And the following to koha-zebraqueue-ctl.sh
# chkconfig: 12345 99 01
# description: Zebraqueue process the biblio & authorities to be indexed

And create two symbolic links

/etc/init.d/koha-zebra-daemon -> /usr/share/koha/bin/koha-zebra-ctl.sh
/etc/init.d/koha-zebraqueue-daemon ->
/usr/share/koha/bin/koha-zebraqueue-ctl.sh

This way you can add the two start/stop scripts as services

chkconfig --add koha-zebra-daemon
chkconfig --add koha-zebraqueue-daemon


Regards
Franck



-- 
View this message in context: http://www.nabble.com/Koha-on-CentOS-5.2-tp23364598p23420142.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list