[Koha] Koha on CentOS 5.2

Tony Ying tony_ykt at yahoo.com
Tue May 12 21:51:30 NZST 2009


Hi Franck
 
I have installed all these componests as intructed. 
perl-XML-SAX
perl-XML-SAX-Base
perl-XML-SAX-Expat
perl-XML-LibXML
 
I really need your help.. 

i couldnt install XML::LibXSLT and encountered error when i ran this command "zebrasrv-2.0 -f /etc/koha/koha-conf.xml" 

Error message "zebrasrv-2.0: Option -f unsupported since YAZ is compiled without Libxml2 support" 

Error message 

"CPAN.pm: Going to build P/PA/PAJAS/XML-LibXSLT-1.68.tar.gz 

running xslt-config... ok 
looking for -lxslt... no 
libxslt not found 
Try setting LIBS and INC values on the command line 
Or get libxslt and libxml2 from 
  http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel 
RPMs, as this is where the headers (.h files) are. 
No 'Makefile' created  PAJAS/XML-LibXSLT-1.68.tar.gz 
  /usr/bin/perl Makefile.PL -testdb=test -testuser=test -testpass=test -- NOT OK 
Running make test 
  Make had some problems, won't test 
Running make install 
  Make had some problems, won't install" 

I have attached a document showing my version of yaz and zebra.
 
Hope u can nail down the root cause
--- On Mon, 11/5/09, Franck Magron <FranckM at spc.int> wrote:


From: Franck Magron <FranckM at spc.int>
Subject: RE: [Koha] Koha on CentOS 5.2
To: "ahtshun83" <tony_ykt at yahoo.com>, koha at lists.katipo.co.nz
Date: Monday, 11 May, 2009, 5:10 AM


Hi Tony,

The error probably means a required library is missing. Make sure the
following packages are installed :

perl-XML-SAX
perl-XML-SAX-Base
perl-XML-SAX-Expat
perl-XML-LibXML

Install yaz before Net::Z3950::ZOOM

Franck


-----Original Message-----
From: koha-bounces at lists.katipo.co.nz
[mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of ahtshun83
Sent: 07 May 2009 15:47
To: koha at lists.katipo.co.nz
Subject: Re: [Koha] Koha on CentOS 5.2


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.

_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha




      Try cool new skins, plus more space for friends. 
Download Singapore Yahoo! Messenger now!
http://sg.messenger.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090512/3838e8ee/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koha.doc
Type: application/msword
Size: 28672 bytes
Desc: not available
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20090512/3838e8ee/attachment-0001.doc 


More information about the Koha mailing list