*Installation Manual of Koha 3.03 on CentOS 5.3:*
This document prepared by Basavaraj Talikoti, Asstt Lib & Inform Officer – of Delhi Public Library - basudpl@gmail.com.
No liability for the contents of this document can be accepted.
Feedback/bug reports: Koha Developer's List: http://lists.koha.org/mailman/listinfo/koha-devel
july 2009
Installation Instructions:
This document was prepared in order to help install and to test Koha open source Integrated Library Management System. This document describes the different stages of installing Koha software version 3.03 on a CentOS 5.3 Linux. The same procedure may also be followed for installing Koha version 3.3 on RHEL 5.3. Your mileage may vary with different RedHat distributions.
This Koha installation guide that includes additional steps to set up Zebra for Koha. "Zebra” is a high-performance, general-purpose structured text indexing and retrieval engine"
-http://www.indexdata.dk/zebra/
The installation of Linux system described below is a basic, it is not designed for a production server (e.g., security, load balancing .. are not described)
CentOS 5.3 LINUX System Installation:
Installation
The install media(s) are available at http://isoredirect.centos.org/centos/5/isos/i386/. use the DVD-image or CD Place the DVD/CD in the drive and restart the machine. Hit "Enter" to start the installation.

Test your install media if you want. Otherwise skip the media test

The installation wizard is starting.

Select your language and proceed. I selected default option English

Choose your keyboard-layout and proceed. I leave the default option (U.S English))

Here you can select/edit the partitioning layout. Partitioning choices are really up to you.

If you chose the manual or custom layout setup, you'll see the following two windows

Here
you can adjust the network settings.

Edit network devices:


Select the location nearest to yours and configure the clock. Unmark the check box if there are other operating systems installed, that expects the clock to be set to local time - e.g. Windows.

Choose a password for the root-account and confirm it.

you chose the custom selection you'll see this and a few following windows. Select a main group on the left and afterwards one of its subgroups on the right. Now click on "Optional Packages" - you'll see...Now you select the software we want to install. I was Selected desktop genome, Server and other

you must select the server other package groups you want to install. Select Editors, Text-based Internet, Development Libraries, Development Tools, DNS Name Server, FTP Server, Mail Server, MySQL Database (all), Server Configuration Tools, Web Server, Administration Tools, Base, and System Tools (un select all other package groups) and click on Next:

.this window with a detailed package list. Select or deselect packages as you like.

Click "Next" if your selection is complete. Dependencies are being checked.

The system is ready to install - click on "Next".

The partition(s)/disk(s) are being formatted etc.

Transferring image file on hard drive and start installation process.


The installation is complete. Remove the install media and reboot the system.

The system is starting up. This is the first start - the first boot-wizard appears.

the first boot-wizard appears.

Here you can edit the firewall settings if you want. Disable the firewall.

I recommend to deactivate SELinux - it can cause many problems, especially if you're using software from additional repositories. Disable the SELinux

Set the actual time and date.

Time to add the first user-account to the system. If you want you can create new user account otherwise don't to create user-account just forward
in my case I have not created user-account and just forwarded.

The system will test your sound card

Here you can add software from additional CDs. Afterwards click on "Finish".

The system has to reboot now. Click ok.
When the system is up again, you'll see the login window. Log in to the system .

Welcome to your desktop.

open new terminal window:
Start Apache Services and Network :
start services network and Apache
[root@localhost ~]# /etc/init.d/network start
[root@localhost ~]# chkconfig --level 35 httpd on
[root@localhost ~]# /etc/init.d/httpd start
Starting httpd: [ OK ] done
--------------------
Apache configuration (for UTF-8) :
by default it is utf-8
However,to verify, using a text editor, open the httpd.conf file located in /etc/httpd /conf and look if it contains the directive:
AddDefaultCharset UTF-8
[root@localhost ~]# vim /etc/httpd/conf/httpd.conf
Installation of additional RPMs and software programme:
The installation of Koha software requires additional RPMs pakages and also for compiling zebra and yaz. Check your system Centos linux installation whether the following RPMs are installed or not. If not installed these RPMs and programs, you may install from the Centos Cds/DVD or you may download from several Software Repositories. This list may be slightly different depending on the version and support (Live CD or DVD).
List of software need to be checked and add:
mysql-devel,
libxml2-devel, quagga
libxslt-devel, tcl, bzip2-devel, gcc, ncftp,
wget, gdbm-devel, expat-devel, tcp_wrappers ,
libicu , libicu-devel
Check whether these rpms are installed or not, for checking use command rpm -qa |grep rpm name
------------------------------
libicu
libicu-devel are required for compiling yaz and zebra
--------------------------------------------------------------------
Screenshot for checking of RPMs
[root@localhost ~]# rpm -qa |grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-bench-5.0.45-7.el5
mysql-5.0.45-7.el5
mod_auth_mysql-3.0.0-3.1
php-mysql-5.1.6-23.el5
mysql-server-5.0.45-7.el5
mysql-connector-odbc-3.51.12-2.2
mysql-devel-5.0.45-7.el5
[root@localhost ~]# rpm -qa |grep ncftp
[root@localhost ~]# rpm -qa |grep libicu-devel
[root@localhost ~]# rpm -qa |grep quagga
[root@localhost ~]# rpm -qa |grep expat-devel
expat-devel-1.95.8-8.2.1
[root@localhost ~]# rpm -qa |grep libicu
libicu-3.6-5.11.1
After the verifying my installation of the centos linux system. it is found that libicu-devel, ncftp and quagga RPMs pakages are not installed. libicu-devel was installed from the CD, quagga through YUM and ncftp from the RPMs repositories.
http://rpm.pbone.net/index.php3/stat/4/idpl/4851704/com/ncftp-3.2.0-3.el5.i386.rpm.html
downloaded and saved on Desktop.
Screenshot
[root@localhost ~]#
[root@localhost ~]# cd Desktop/
[root@localhost Desktop]# rpm -ivh libicu-devel-3.6-5.11.1.i386.rpm
warning: libicu-devel-3.6-5.11.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing... ########################################### [100%]
1:libicu-devel ########################################### [100%]
[root@localhost Desktop]# rpm -ivh ncftp-3.2.1-1.el5.kb.i386.rpm
Preparing... ########################################### [100%]
1:ncftp ########################################### [100%]
To add rpms from software Centos Linux, you have two tools. One is a graphical tool Menu System Add / Remove software and another tool is YUM run in Terminal mode. For example:
Screenshot
[root@localhost ~]# yum install quagga
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package quagga.i386 0:0.98.6-5.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================
Package Arch Version Repository Size
=========================================================================
Installing:
quagga i386 0.98.6-5.el5 base 1.1 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.1 M
Downloading Packages:
==== MySQL Configuration ==== :
Configure MySQL to start at boot time and start the service:
|--------------------
start mysql service from terminal
|--------------------
[root@localhost ~]# /etc/init.d/mysqld start
[root@localhost ~]# chkconfig --level 35 mysqld on
==== Change the password for the "root" user of MySQL==== :
|--------------------
[root@localhost ~]# /usr/bin/mysqladmin -u root password 'basu123'
|--------------------
==== Check the encoding variables of MySQL ====
To check the encoding variables of MySQL, will type the show variables like 'char%'; command in a mysql prompt:
|--------------------
# mysql -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show variables like 'char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
mysql> quit;
Bye
|--------------------
We want to have utf8 in the above character_set_* variables above (and NOT latin1)!
In order to do this, take backup of my.cnf
==== Create a backup of the MySQL configuration file (my.cnf)==== :
|--------------------
[root@localhost ~]# cd /etc/
root@localhost:/etc # cp my.cnf my.cnf.org
|--------------------
root@localhost:/etc #cd
[root@localhost ~]#
-Use vim or vi editor to add these 3 lines in the section [mysqld] of the my.cnf file:
|--------------------
default-character-set = utf8
character-set-server = utf8
skip-character-set-client-handshake
|--------------------
[root@localhost ~]# vi /etc/my.cnf
------------------------------------------------------
original file:
------------------------------------------------------------------------
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
After inserting 3 lines save the file
-------------------------------------------------------------
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
default-character-set = utf8
character-set-server = utf8
skip-character-set-client-handshake
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
---------------------------------------------------
==== Restart MySQL==== :
Save the file and to ensure that this change is taken into account, restart the mysql server using the following command in a terminal window:
|[root@localhost ~]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
|--------------------
Now, let's type again the show variables like 'char%' mysql command to see if the character_set_variables have changed from latin1 to utf8 (character_set_file system will still read "binary" but I think that's OK:
|--------------------
Screenshot
----------------------------------
[root@localhost ~]# mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show variables like 'char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
mysql>
#( Create the Koha database )
mysql> create database koha;
Query OK, 1 row affected (0.00 sec)
# (Grant privileges to a MySQL user to the koha database)
mysql> grant all on koha.* to 'kohaadmin'@'localhost' identified by 'basu123';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| koha |
| mysql |
| test |
+--------------------+
4 rows in set (0.00 sec)
mysql> quit;
Bye
[root@localhost ~]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@localhost ~]#
[root@localhost ~]# adduser koha
4. INSTALLATION OF YAZ AND ZEBRA SERVER INDEXING
For libraries that must manage several tens of thousands of bibliographic records it is recommended that you install the server indexing ZEBRA. Otherwise far fewer records to manage, it is not necessary to install ZEBRA. Without zebra you can also use koha
The software installation ZEBRA requires prior installation of software modules YAZ client and server Z3950.
The installation is as administrator (root).
yaz and zebra can be downloaded from website http://www.indexdata.dk/software/
4.1 Installation of the software YAZ
To install yaz download the current version srpm packages of yaz yaz-3.0.32-1.src.rpm from redhat folder http://ftp.indexdata.dk/pub/yaz/redhat/fc6/
yaz-3.0.32-1.src.rpm downloaded and saved on desktop
Install the yaz RPM package from administrator (root)
go to redhat SPECS folder rebuild the yaz. Directory cd /usr/src/redhat/SPECS/
After rebuild of yaz.spec. the yaz rpm created in the directory : /usr/src/redhat/RPMS/i386/. Install all Yaz rpms
Screenshot
-----------------------
[root@localhost ~]# cd Desktop/
[root@localhost Desktop]# rpm -ivh yaz-3.0.32-1.src.rpm
1:yaz warning: user adam does not exist - using root
warning: group adam does not exist - using root
########################################### [100%]
[root@localhost Desktop]#
The yaz src rpm installed and file created yaz.spec in the directory /usr/src/redhat/SPECS/ and go to this directoy and run yaz.spec to build the rpm. See the screen shot:
Screen shot
[root@localhost Desktop]# cd /usr/src/redhat/SPECS/
[root@localhost SPECS]# ls
yaz.spec
[root@localhost SPECS]# rpmbuild --bb yaz.spec
az/z39.50/univres.asn'
continued...........
Processing files: yaz-debuginfo-3.0.32-1
Provides: libyaz.so.3.0.0.debug libyaz_icu.so.3.0.0.debug libyaz_server.so.3.0.0.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/yaz-3.0.32-root
Wrote: /usr/src/redhat/RPMS/i386/yaz-3.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/libyaz3-3.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/libyaz3-devel-3.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/yaz-illclient-3.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/yaz-icu-3.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/yaz-debuginfo-3.0.32-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.92967
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd yaz-3.0.32
+ rm -fr /var/tmp/yaz-3.0.32-root
+ exit 0
the yaz rpm created in the directory : /usr/src/redhat/RPMS/i386/. Install all Yaz rpms
libyaz3-3.0.32-1.i386.rpm
libyaz3-devel-3.0.32-1.i386.rpm
yaz-3.0.32-1.i386.rpm
yaz-debuginfo-3.0.32-1.i386.rpm
yaz-icu-3.0.32-1.i386.rpm
yaz-illclient-3.0.32-1.i386.rpm
Screen shot
-----------------------
[root@localhost SPECS]# cd ..
[root@localhost redhat]# cd RPMS/i386/
[root@localhost i386]# ls
libyaz3-3.0.32-1.i386.rpm yaz-debuginfo-3.0.32-1.i386.rpm
libyaz3-devel-3.0.32-1.i386.rpm yaz-icu-3.0.32-1.i386.rpm
yaz-3.0.32-1.i386.rpm yaz-illclient-3.0.32-1.i386.rpm
[root@localhost i386]# rpm -ivh libyaz3-3.0.32-1.i386.rpm libyaz3-devel-3.0.32-1.i386.rpm yaz-3.0.32-1.i386.rpm yaz-debuginfo-3.0.32-1.i386.rpm yaz-icu-3.0.32-1.i386.rpm yaz-illclient-3.0.32-1.i386.rpm
Preparing... ########################################### [100%]
1:libyaz3 ########################################### [ 17%]
2:libyaz3-devel ########################################### [ 33%]
3:yaz ########################################### [ 50%]
4:yaz-debuginfo ########################################### [ 67%]
5:yaz-icu ########################################### [ 83%]
6:yaz-illclient ########################################### [100%]
[root@localhost i386]#
[root@localhost i386]# cd
[root@localhost ~]#
Check the installation by the command:
rpm-q libyaz3 libyaz3-devel yaz yaz-debuginfo yaz-icu-yaz illclient yaz-3.0.24-1.src
4.2 Installation of the software ZEBRA :
To install zebra download the current version srpm packages the version idzebra-2.0-2.0.32-1.src.rpm from redhat fedora 6 folder http://ftp.indexdata.dk/pub/zebra/redhat/fc6/
idzebra-2.0-2.0.32-1.src.rpm downloaded and saved on desktop,
install the as administrator (root)
Install the idzebra-2.0-2.0.32-1.src.rpm and file created idzebra.spec in the directory /usr/src/redhat/SPECS/ and go to this directoy and run idzebra.spec to build the rpm. See the screen shot:
Screen shot
-----------------------
root@localhost ~]# cd Desktop/
[root@localhost Desktop]# rpm -ivh idzebra-2.0-2.0.32-1.src.rpm
1:idzebra-2.0 warning: user adam does not exist - using root
warning: group adam does not exist - using root
########################################### [100%]
[root@localhost Desktop]#
Screen shot
[root@localhost Desktop]# cd /usr/src/redhat/SPECS/
[root@localhost SPECS]# ls
idzebra.spec yaz.spec
[root@localhost SPECS]# rpmbuild --bb idzebra.spec
continued........
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/idzebra-2.0.32-root
Wrote: /usr/src/redhat/RPMS/i386/idzebra-2.0-2.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/libidzebra-2.0-2.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/libidzebra-2.0-modules-2.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/libidzebra-2.0-devel-2.0.32-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/idzebra-2.0-debuginfo-2.0.32-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8835
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd idzebra-2.0.32
+ rm -fr /var/tmp/idzebra-2.0.32-root
+ exit 0
[root@localhost SPECS]#
The zebra rpm created in the directory : /usr/src/redhat/RPMS/i386/. Install all zebra rpms;
idzebra-2.0-2.0.32-1.i386.rpm
idzebra-2.0-debuginfo-2.0.32-1.i386.rpm
libidzebra-2.0-2.0.32-1.i386.rpm
libidzebra-2.0-devel-2.0.32-1.i386.rpm
libidzebra-2.0-modules-2.0.32-1.i386.rpm
[root@localhost SPECS]# cd ..
[root@localhost redhat]# cd RPMS/i386/
[root@localhost i386]# ls
idzebra-2.0-2.0.32-1.i386.rpm libyaz3-devel-3.0.32-1.i386.rpm
idzebra-2.0-debuginfo-2.0.32-1.i386.rpm yaz-3.0.32-1.i386.rpm
libidzebra-2.0-2.0.32-1.i386.rpm yaz-debuginfo-3.0.32-1.i386.rpm
libidzebra-2.0-devel-2.0.32-1.i386.rpm yaz-icu-3.0.32-1.i386.rpm
libidzebra-2.0-modules-2.0.32-1.i386.rpm yaz-illclient-3.0.32-1.i386.rpm
libyaz3-3.0.32-1.i386.rpm
[root@localhost i386]# rpm -ivh idzebra-2.0-2.0.32-1.i386.rpm idzebra-2.0-debuginfo-2.0.32-1.i386.rpm libidzebra-2.0-2.0.32-1.i386.rpm libidzebra-2.0-devel-2.0.32-1.i386.rpm libidzebra-2.0-modules-2.0.32-1.i386.rpm
Preparing... ########################################### [100%]
1:libidzebra-2.0 ########################################### [ 20%]
2:libidzebra-2.0-modules ########################################### [ 40%]
3:idzebra-2.0 ########################################### [ 60%]
4:idzebra-2.0-debuginfo ########################################### [ 80%]
5:libidzebra-2.0-devel ########################################### [100%]
[root@localhost i386]#
if you want you can check the installation by the command:
rpm-q libidzebra-2.* -libidzebra modules idzebra-2.0 idzebra-2.0-debuginfo libidzebra-2.0-devel idzebra-2.0
5. cpan initalization for installing perl programs:
[root@localhost ~]# cpan
/usr/lib/perl5/5.8.8/CPAN/Config.pm initialized.
CPAN is the world-wide archive of perl resources. It consists of about
100 sites that all replicate the same contents all around the globe.
Many countries have at least one CPAN site already. The resources
found on CPAN are easily accessible with the CPAN.pm module. If you
want to use CPAN.pm, you have to configure it properly.
If you do not want to enter a dialog now, you can answer 'no' to this
question and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)
Are you ready for manual configuration? [yes]
The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide directory or a personal directory.
First of all, I'd like to create this directory. Where?
CPAN build and cache directory? [/root/.cpan]
If you want, I can keep the source files after a build in the cpan
home directory. If you choose so then future builds will take the
files from there. If you don't want to keep them, answer 0 to the
next question.
How big should the disk cache be for keeping the build directories
with all the intermediate files?
Cache size for build directory (in MB)? [10]
By default, each time the CPAN module is started, cache scanning
is performed to keep the cache size in sync. To prevent from this,
disable the cache scanning with 'never'.
Perform cache scanning (atstart or never)? [atstart]
To considerably speed up the initial CPAN shell startup, it is
possible to use Storable to create a cache of metadata. If Storable
is not available, the normal index mechanism will be used.
Cache metadata (yes/no)? [yes]
The next option deals with the charset your terminal supports. In
general CPAN is English speaking territory, thus the charset does not
matter much, but some of the aliens out there who upload their
software to CPAN bear names that are outside the ASCII range. If your
terminal supports UTF-8, you say no to the next question, if it
supports ISO-8859-1 (also known as LATIN1) then you say yes, and if it
supports neither nor, your answer does not matter, you will not be
able to read the names of some authors anyway. If you answer no, names
will be output in UTF-8.
Your terminal expects ISO-8859-1 (yes/no)? [yes] no
If you have one of the readline packages (Term::ReadLine::Perl,
Term::ReadLine::Gnu, possibly others) installed, the interactive CPAN
shell will have history support. The next two questions deal with the
filename of the history file and with its size. If you do not want to
set this variable, please hit SPACE RETURN to the following question.
File to save your history? [/root/.cpan/histfile]
Number of lines to save? [100]
The CPAN module can detect when a module that which you are trying to
build depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore'). Please set your
policy to one of the three values.
Policy on building prerequisites (follow, ask or ignore)? [ask]
The CPAN module will need a few external programs to work properly.
Please correct me, if I guess the wrong path for a program. Don't
panic if you do not have some of them, just press ENTER for those. To
disable the use of a download program, you can type a space followed
by ENTER.
Where is your gzip program? [/bin/gzip]
Where is your tar program? [/bin/tar]
Where is your unzip program? [/usr/bin/unzip]
Where is your make program? [/usr/bin/make]
Where is your links program? [/usr/bin/links]
Where is your wget program? [/usr/bin/wget]
Where is your ncftpget program? [/usr/bin/ncftpget]
Where is your ftp program? [/usr/kerberos/bin/ftp]
Where is your gpg program? [/usr/bin/gpg]
What is your favorite pager program? [/usr/bin/less]
What is your favorite shell? [/bin/bash]
Every Makefile.PL is run by perl in a separate process. Likewise we
run 'make' and 'make install' in processes. If you have any
parameters (e.g. PREFIX, LIB, UNINST or the like) you want to pass
to the calls, please specify them here.
If you don't understand this question, just press ENTER.
Parameters for the 'perl Makefile.PL' command?
Typical frequently used settings:
PREFIX=~/perl non-root users (please see manual for more hints)
Your choice: []
Parameters for the 'make' command?
Typical frequently used setting:
-j3 dual processor system
Your choice: []
Parameters for the 'make install' command?
Typical frequently used setting:
UNINST=1 to always uninstall potentially conflicting files
Your choice: []
Sometimes you may wish to leave the processes run by CPAN alone
without caring about them. As sometimes the Makefile.PL contains
question you're expected to answer, you can set a timer that will
kill a 'perl Makefile.PL' process after the specified time in seconds.
If you set this value to 0, these processes will wait forever. This is
the default and recommended setting.
Timeout for inactivity during Makefile.PL? [0]
If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.
Your ftp_proxy?
Your http_proxy?
Your no_proxy?
You have no /root/.cpan/sources/MIRRORED.BY
I'm trying to fetch one
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
CPAN: Compress::Zlib loaded ok
Now we need to know where your favorite CPAN sites are located. Push
a few sites onto the array (just in case the first on the array won't
work). If you are mirroring CPAN to your local workstation, specify a
file: URL.
First, pick a nearby continent and country (you can pick several of
each, separated by spaces, or none if you just want to keep your
existing selections). Then, you will be presented with a list of URLs
of CPAN mirrors in the countries you selected, along with previously
selected URLs. Select some of those URLs, or just keep the old list.
Finally, you will be prompted for any extra URLs -- file:, ftp:, or
http: -- that host a CPAN mirror.
(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America
Select your continent (or several nearby continents) [] 2
Sorry! since you don't have any existing picks, you must make a
geographic selection.
(1) Hong Kong
(2) Indonesia
(3) Japan
(4) Republic of Korea
(5) Russia
(6) Singapore
(7) Taiwan
(8) Thailand
(9) Turkey
(10) Viet Nam
Select your country (or several nearby countries) [] 3
Sorry! since you don't have any existing picks, you must make a
geographic selection.
(1) ftp://ftp.dti.ad.jp/pub/lang/CPAN/
(2) ftp://ftp.jaist.ac.jp/pub/CPAN/
(3) ftp://ftp.kddilabs.jp/CPAN/
(4) ftp://ftp.nara.wide.ad.jp/pub/CPAN/
(5) ftp://ftp.riken.jp/lang/CPAN/
(6) ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/
(7) ftp://ftp.u-aizu.ac.jp/pub/CPAN
(8) ftp://ftp.yz.yamagata-u.ac.jp/pub/lang/cpan/
Select as many URLs as you like (by number),
put them on one line, separated by blanks, e.g. '1 4 5' [] 1 2 3 4 5 6 7 8
Enter another URL or RETURN to quit: []
New set of picks:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/
ftp://ftp.jaist.ac.jp/pub/CPAN/
ftp://ftp.kddilabs.jp/CPAN/
ftp://ftp.nara.wide.ad.jp/pub/CPAN/
ftp://ftp.riken.jp/lang/CPAN/
ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/
ftp://ftp.u-aizu.ac.jp/pub/CPAN
ftp://ftp.yz.yamagata-u.ac.jp/pub/lang/cpan/
commit: wrote /usr/lib/perl5/5.8.8/CPAN/Config.pm
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
cpan>
6. Test your SAX Parser Installing the XML::SAX and XML::LibXML :
You must be sure you're using the XML::LibXML SAX parser, not Expat or PurePerl, both of which have outstanding bugs with pre-composed characters. You can test your SAX parser and set right path
------Install XML::SAX----------
Install the XML::SAX and XML::LibXML perl Modules:
Install the XML::SAX from cpan : XML-SAX-0.96.tar.gz
cpan> install XML::SAX
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
..............
..............continued..
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
could not find ParserDetails.ini in /usr/lib/perl5/site_perl/5.8.8/XML/SAX
/usr/bin/make install -- OK
------ install XML::LibXML ----------
install XML::LibXML.(XML-LibXML-1.69.tar.gz) and it is also install the dependence Perl module XML::LibXML::Common 0.13
cpan> install XML::LibXML::SAX::Parser
Running install for module XML::LibXML::SAX::Parser
Running make for P/PA/PAJAS/XML-LibXML-1.69.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
…...................................
…................................... continued....
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/LibXML/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
cpan> quit
Type quit to break cpan
-----Update db and verify the ParserDetails.ini --------------
To find the ParserDetails.ini file, you may use locate. To do this, first update the locate database by running the updatedb command
-------update db-----
[root@localhost ~]#
[root@localhost ~]# updatedb
[root@localhost ~]#
----locate the ParserDetails.ini---
[root@localhost ~]# locate ParserDetails.ini
/usr/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini
-----You can test your SAX parser by running:
Unzip the downloaded koha software on Desktop and go to the misc directory of koha software to test the SAX Parser by running ./sax_parser_print.pl
==== Download Koha 3.03====
download the koha 3.03 from the koha git
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary
|- ==== Extract Koha ====
download koha software and saved on desktop extracted.
[root@localhost ~]# tar -xzvf koha-3.00.03.tar.gz
[root@localhost ~]# cd /root/Desktop/koha-3.00.03/misc/
root@localhost misc]#
|--------------------
Run the /root/Desktop/koha-3.00.03/misc/sax_parser_print.pl command.
root@localhost misc]# ./sax_parser_print.pl
Koha wants something like:
XML::LibXML::SAX::Parser=HASH(0x81fe220)
You have:
XML::LibXML::SAX=HASH(0x91e87e0)
Looks bad, check INSTALL.* documentation.
[root@localhost misc]#
Above test result shown bad.It means you're using PurePerl (you probably are) or Expat, you'll need to edit your ParserDetails.ini file to use the LibXML Parser.
let's first do a backup of this ini file:
[root@localhost ~]# cd /usr/lib/perl5/site_perl/5.8.8/XML/SAX/
[root@localhost SAX]# cp ParserDetails.ini ParserDetails.ini.org
====Edit this ParserDetails.ini file (with vi/vim or other editor)====
[root@localhost SAX]# vi ParserDetails.ini
----------------------------------------------------
Original file:
---------------------------------------------------------
[XML::SAX::PurePerl]
http://xml.org/sax/features/namespaces = 1
[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces = 1
[XML::LibXML::SAX]
http://xml.org/sax/features/namespaces = 1
-----------------------------------------------------------
see the above lines in the ParserDetails.ini it uses XML::SAX::PurePerl in first line it is therefore giving test result bad . So you need to edit these line. , replace this first line by the following: XML::LibXML::SAX::Parser
or
Comment ## on these lines . In my case I have ## commented on XML::SAX::PurePerl and XML::LibXML::SAX see below;
--------------------------------
edited file:
------------------------------------------------------------
#[XML::SAX::PurePerl]
#http://xml.org/sax/features/namespaces = 1
[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces = 1
#[XML::LibXML::SAX]
#http://xml.org/sax/features/namespaces = 1
save the file and test the again your SAX parser by running ./sax_parser_print.pl
Run the /root/Desktop/koha-3.00.03/misc/sax_parser_print.pl command.
[root@localhost SAX]# cd
[root@localhost ~]# cd /root/Desktop/misc/
[root@localhost misc]# ./sax_parser_print.pl
Koha wants something like:
XML::LibXML::SAX::Parser=HASH(0x81fe220)
You have:
XML::LibXML::SAX::Parser=HASH(0x842d308)
Looks good.
[root@localhost misc]#
7. Run Koha's perl installer :
We will now run perl Makefile.PL to run the installer to know what are the per modules required for install the koha 3.03 software.
[root@localhost Koha]# perl Makefile.PL
By default, Koha can be installed in one of three ways:
standard: Install files in conformance with the Filesystem
Hierarchy Standard (FHS). This is the default mode
and should be used when installing a production
Koha system. On Unix systems, root access is
needed to complete a standard installation.
single: Install files under a single directory. This option
is useful for installing Koha without root access, e.g.,
on a web host that allows CGI scripts and MySQL databases
but requires the user to keep all files under the user's
HOME directory.
dev: Create a set of symbolic links and configuration files to
allow Koha to run directly from the source distribution.
This mode is useful for developers who want to run
Koha from a git clone.
Installation mode (dev, single, standard) [standard]
Please specify the directory under which most Koha files
will be installed.
Note that if you are planning in installing more than
one instance of Koha, you may want to modify the last
component of the directory path, which will be used
as the package name in the FHS layout.
Base installation directory [/usr/share/koha]
Since you are using the 'standard' install
mode, you should run 'make install' as root.
However, it is recommended that a non-root
user (on Unix and Linux platforms) have
ownership of Koha's files, including the
Zebra indexes if applicable.
Please specify a user account. This
user account does not need to exist
right now, but it needs to exist
before you run 'make install'. Please
note that for security reasons, this
user should not be the same as the user
account Apache runs under.
User account [koha]
Please specify the group that should own
Koha's files. As above, this group need
not exist right now, but should be created
before you run 'make install'.
Group [koha]
Please specify which database engine you will use
to store data in Koha. The choices are MySQL and
PostgreSQL; please note that at the moment
PostgreSQL support is highly experimental.
DBMS to use (Pg, mysql) [mysql]
Please specify the name or address of your
database server. Note that the database
does not have to exist at this point, it
can be created after running 'make install'
and before you try using Koha for the first time.
Database server [localhost]
Please specify the port used to connect to the
DMBS [3306]
Please specify the name of the database to be
used by Koha [koha]
Please specify the user that owns the database to be
used by Koha [kohaadmin]
Please specify the password of the user that owns the
database to be used by Koha [katikoan] basu123
Koha can use the Zebra search engine for high-performance
searching of bibliographic and authority records. If you
have installed the Zebra software and would like to use it,
please answer 'yes' to the following question. Otherwise,
Koha will default to using its internal search engine.
Please note that if you choose *NOT* to install Zebra,
koha-conf.xml will still contain some references to Zebra
settings. Those references will be ignored by Koha.
Install the Zebra configuration files? (no, yes) [yes]
Unable to find the Zebra programs 'zebrasrv' and 'zebraidx'
in your PATH or in some of the usual places. If you haven't
installed Zebra yet, please do so and run Makefile.PL again.
Since you've chosen to use Zebra with Koha,
you must specify the primary MARC format of the
records to be indexed by Zebra.
Koha provides Zebra configuration files for MARC 21
and UNIMARC.
MARC format for Zebra indexing (marc21, unimarc) [marc21]
Koha supplies Zebra configuration files tuned for
searching either English (en) or French (fr) MARC
records.
Primary language for Zebra indexing (en, fr) [en]
Koha can use one of two different indexing modes
for the MARC authorities records:
grs1 - uses the Zebra GRS-1 filter, available
for legacy support
dom - uses the DOM XML filter; offers improved
functionality.
Authorities indexing mode (dom, grs1) [grs1]
Please specify Zebra database user [kohauser] kohaadmin
Please specify the Zebra database password [zebrastripes] basu123
Since you've chosen to use Zebra, you can enable the SRU/
Z39.50 Server if you so choose, but you must specify a
few configuration options for it.
Please note that if you choose *NOT* to configure SRU,
koha-conf.xml will still contain some references to SRU
settings. Those references will be ignored by Koha.
Install the SRU configuration files? (no, yes) [yes]
SRU Database host? [localhost]
SRU port for bibliographic data? [9998]
SRU port for authority data? [9999]
Since you've chosen to use Zebra, you can also choose to
install PazPar2, which is a metasearch tool. With PazPar2,
Koha can perform on-the-fly merging of bibliographic
records during searching, allowing for FRBRization of
the results list.
Install the PazPar2 configuration files? [no]
Would you like to run the database-dependent test suite? (no, yes) [no]
Koha will be installed with the following configuration parameters:
AUTH_INDEX_MODE grs1
DB_HOST localhost
DB_NAME koha
DB_PASS basu123
DB_PORT 3306
DB_TYPE mysql
DB_USER kohaadmin
INSTALL_BASE /usr/share/koha
INSTALL_MODE standard
INSTALL_PAZPAR2 no
INSTALL_SRU yes
INSTALL_ZEBRA yes
KOHA_GROUP koha
KOHA_INSTALLED_VERSION 3.01.00.037
KOHA_USER koha
RUN_DATABASE_TESTS no
ZEBRA_LANGUAGE en
ZEBRA_MARC_FORMAT marc21
ZEBRA_PASS basu123
ZEBRA_SRU_AUTHORITIES_POR9999
ZEBRA_SRU_BIBLIOS_PORT 9998
ZEBRA_SRU_HOST localhost
ZEBRA_USER kohaadmin
and in the following directories:
DOC_DIR $(DESTDIR)/usr/share/koha/doc
INTRANET_CGI_DIR $(DESTDIR)/usr/share/koha/intranet/cgi-bin
INTRANET_TMPL_DIR $(DESTDIR)/usr/share/koha/intranet/htdocs/intranet-tmpl
INTRANET_WWW_DIR $(DESTDIR)/usr/share/koha/intranet/htdocs
KOHA_CONF_DIR $(DESTDIR)/etc/koha
LOG_DIR $(DESTDIR)/var/log/koha
MAN_DIR $(DESTDIR)/usr/share/koha/man
MISC_DIR $(DESTDIR)/usr/share/koha/misc
OPAC_CGI_DIR $(DESTDIR)/usr/share/koha/opac/cgi-bin
OPAC_TMPL_DIR $(DESTDIR)/usr/share/koha/opac/htdocs/opac-tmpl
OPAC_WWW_DIR $(DESTDIR)/usr/share/koha/opac/htdocs
PAZPAR2_CONF_DIR $(DESTDIR)/etc/koha/pazpar2
PERL_MODULE_DIR $(DESTDIR)/usr/share/koha/lib
SCRIPT_DIR $(DESTDIR)/usr/share/koha/bin
SCRIPT_NONDEV_DIR $(DESTDIR)/usr/share/koha/bin
ZEBRA_CONF_DIR $(DESTDIR)/etc/koha/zebradb
ZEBRA_DATA_DIR $(DESTDIR)/var/lib/koha/zebradb
ZEBRA_LOCK_DIR $(DESTDIR)/var/lock/koha/zebradb
ZEBRA_RUN_DIR $(DESTDIR)/var/run/koha/zebradb
To change any configuration setting, please run
perl Makefile.PL again. To override one of the target
directories, you can do so on the command line like this:
perl Makefile.PL PERL_MODULE_DIR=/usr/share/perl/5.8
You can also set different default values for parameters
or override directory locations by using environment variables.
For example:
export DB_USER=my_koha
perl Makefile.PL
or
DB_USER=my_koha DOC_DIR=/usr/local/info perl Makefile.PL
If installing on a Win32 platform, be sure to use:
'dmake -x MAXLINELENGTH=300000'
Warning: prerequisite Algorithm::CheckDigits 0.5 not found.
Warning: prerequisite Biblio::EndnoteStyle 0.05 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite CGI::Session 4.2 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite CGI::Session::Serialize::yaml 4.2 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Class::Accessor 0.3 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Class::Factory::Util 1.6 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite DBD::SQLite2 0.33 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite DBD::mysql 4.004 not found. We have 3.0007.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite DBI 1.53 not found. We have 1.52.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Data::ICal 0.13 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Date::Calc 5.4 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Date::ICal 1.72 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Email::Date 1.103 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite GD 2.39 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite GD::Barcode::UPCE 1.1 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite HTML::Scrubber 0.08 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite HTML::Template::Pro 0.69 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite HTTP::OAI 3.2 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite JSON 2.07 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Lingua::Stem 0.82 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite List::MoreUtils 0.21 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite MARC::Charset 0.98 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite MARC::Crosswalk::DublinCore 0.02 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite MARC::File::XML 0.88 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite MARC::Record 2 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite MIME::Lite 3 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Mail::Sendmail 0.79 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Net::Z3950::ZOOM 1.16 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite PDF::API2 2 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite PDF::API2::Page 2 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite PDF::API2::Util 2 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite PDF::Reuse 0.33 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite PDF::Reuse::Barcode 0.05 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite POE 0.9999 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite SMS::Send 0.05 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Schedule::At 1.06 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Text::CSV 0.01 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Text::CSV_XS 0.32 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite Text::Iconv 1.7 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite XML::LibXSLT 1.59 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite XML::RSS 1.31 not found.
[Thu Jul 2 15:29:54 2009] Makefile.PL: Warning: prerequisite XML::SAX::Writer 0.44 not found.
[Thu Jul 2 15:29:55 2009] Makefile.PL: Warning: prerequisite YAML::Syck 0.71 not found.
Writing Makefile for koha
[root@localhost Koha]#
8. Installing Prerequisite Perl Modules :
=== Install Algorithm::CheckDigits ===
Let's install the first package called "Algorithm::CheckDigits". Wherever it is necessary I will leave the complete output. of installations of perl modules and I will only show the prompts for dependencies and snip out the remaining output
-----------------------------------------------------------------------------
the following perl modules required for testing "Algorithm::CheckDigits"
--------------------------------------------------------------------------------------------------
Test::Pod::Coverage :- Pod::Coverage, Devel::Symdump 2.01
Test::Pod :- Pod::Simple 2.04 Pod::Escapes 1.04
Screen shot:
root@localhost ~]# cpan Algorithm::CheckDigits
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Running install for module Algorithm::CheckDigits
Running make for M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/M/MA/MAMAWE/CHECKSUMS
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Algorithm-CheckDigits-0.50/
Algorithm-CheckDigits-0.50/t/
Algorithm-CheckDigits-0.50/t/valid.data
Algorithm-CheckDigits-0.50/t/valid.t
Algorithm-CheckDigits-0.50/t/iban.t
Algorithm-CheckDigits-0.50/t/isbn13.t
Algorithm-CheckDigits-0.50/t/ecno.t
Algorithm-CheckDigits-0.50/t/upc.t
Algorithm-CheckDigits-0.50/t/imei.t
Algorithm-CheckDigits-0.50/t/pod-coverage.t
Algorithm-CheckDigits-0.50/t/pod.t
Algorithm-CheckDigits-0.50/t/checkdigits.t
Algorithm-CheckDigits-0.50/CheckDigits.pm
Algorithm-CheckDigits-0.50/Changes
Algorithm-CheckDigits-0.50/CheckDigits/
Algorithm-CheckDigits-0.50/CheckDigits/MXX_005.pm
Algorithm-CheckDigits-0.50/CheckDigits/M10_005.pm
Algorithm-CheckDigits-0.50/CheckDigits/MBase_002.pm
Algorithm-CheckDigits-0.50/CheckDigits/M97_001.pm
Algorithm-CheckDigits-0.50/CheckDigits/MBase_003.pm
Algorithm-CheckDigits-0.50/CheckDigits/M10_006.pm
Algorithm-CheckDigits-0.50/CheckDigits/M11_012.pm
Algorithm-CheckDigits-0.50/CheckDigits/M10_010.pm
Algorithm-CheckDigits-0.50/CheckDigits/M11_015.pm
Algorithm-CheckDigits-0.50/CheckDigits/M07_001.pm
Algorithm-CheckDigits-0.50/CheckDigits/M10_002.pm
CPAN.pm: Going to build M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Algorithm::CheckDigits
cp CheckDigits/M11_001.pm blib/lib/Algorithm/CheckDigits/M11_001.pm
cp CheckDigits/MBase_002.pm blib/lib/Algorithm/CheckDigits/MBase_002.pm
cp CheckDigits/M89_001.pm blib/lib/Algorithm/CheckDigits/M89_001.pm
cp CheckDigits/MBase_001.pm blib/lib/Algorithm/CheckDigits/MBase_001.pm
cp CheckDigits/M10_009.pm blib/lib/Algorithm/CheckDigits/M10_009.pm
cp CheckDigits/M10_011.pm blib/lib/Algorithm/CheckDigits/M10_011.pm
cp CheckDigits.pm blib/lib/Algorithm/CheckDigits.pm
cp CheckDigits/M11_002.pm blib/lib/Algorithm/CheckDigits/M11_002.pm
cp CheckDigits/MXX_001.pm blib/lib/Algorithm/CheckDigits/MXX_001.pm
cp CheckDigits/M11_007.pm blib/lib/Algorithm/CheckDigits/M11_007.pm
cp CheckDigits/M11_015.pm blib/lib/Algorithm/CheckDigits/M11_015.pm
cp CheckDigits/M11_009.pm blib/lib/Algorithm/CheckDigits/M11_009.pm
cp CheckDigits/M23_002.pm blib/lib/Algorithm/CheckDigits/M23_002.pm
cp CheckDigits/M10_002.pm blib/lib/Algorithm/CheckDigits/M10_002.pm
cp CheckDigits/M10_010.pm blib/lib/Algorithm/CheckDigits/M10_010.pm
Manifying blib/man3/Algorithm::CheckDigits::M11_001.3pm
Manifying blib/man3/Algorithm::CheckDigits::M10_002.3pm
Manifying blib/man3/Algorithm::CheckDigits::M23_002.3pm
Manifying blib/man3/Algorithm::CheckDigits::M11_009.3pm
Manifying blib/man3/Algorithm::CheckDigits::M10_010.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/checkdigits.....ok
t/ecno............ok
t/iban............ok
t/imei............ok
t/isbn13..........ok
t/pod-coverage....skipped
all skipped: Test::Pod::Coverage 1.00 required for testing POD coverage
t/pod.............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/upc.............ok
t/valid...........ok
All tests successful, 2 tests skipped.
Files=9, Tests=448, 1 wallclock secs ( 0.19 cusr + 0.06 csys = 0.25 CPU)
/usr/bin/make test -- OK
Running make install
Manifying blib/man3/Algorithm::CheckDigits::M11_001.3pm
Manifying blib/man3/Algorithm::CheckDigits::M11_011.3pm
Manifying blib/man3/Algorithm::CheckDigits::M11_009.3pm
Manifying blib/man3/Algorithm::CheckDigits::M10_010.3pm
Installing /usr/lib/perl5/site_perl/5.8.8/Algorithm/CheckDigits.pm
Installing /usr/lib/perl5/site_perl/5.8.8/Algorithm/CheckDigits/M11_013.pm
Installing /usr/lib/perl5/site_perl/5.8.8/Algorithm/CheckDigits/M97_002.pm
Installing /usr/lib/perl5/site_perl/5.8.8/Algorithm/CheckDigits/M11_002.pm
Installing /usr/lib/perl5/site_perl/5.8.8/Algorithm/CheckDigits/M10_010.pm
Installing /usr/lib/perl5/site_perl/5.8.8/Algorithm/CheckDigits/M23_001.pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_006.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_011.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_003.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_009.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_005.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M43_001.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M07_001.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_003.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_008.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M09_001.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_001.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_004.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_013.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_002.3pm
Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_016.3pm
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Algorithm/CheckDigits/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
[root@localhost ~]#
-----------------------------------------------
root@localhost ~]# cpan Test::Pod
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 29 Jun 2009 22:27:01 GMT
Running install for module Test::Pod
Running make for P/PE/PETDANCE/Test-Pod-1.26.tar.gz
…..
------------------------------------------------------------------------
[root@localhost ~]# cpan Test::Pod::Coverage
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 29 Jun 2009 22:27:01 GMT
Running install for module Test::Pod::Coverage
Running make for P/PE/PETDANCE/Test-Pod-Coverage-1.08.tar.gz
--------------------------------------------------------------------------------------------------------------
=== Install Biblio::EndnoteStyle ===
[root@localhost ~]# cpan Biblio::EndnoteStyle
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 01 Jul 2009 23:26:59 GMT
Running install for module Biblio::EndnoteStyle
Running make for M/MI/MIRK/Biblio-EndnoteStyle-0.05.tar.gz
=== Install DBD::MySQL ===
Installation of the connector DBD::mysql for perl module,Koha requires at least version 4.004+ of the DBD::mysql Perl module. However, CentOS 5 has only lower version. So it is necessary to install the module from CPAN. DBD::mysql's test suite needs to use a MySQL 'test' DB.
So there are two options to install DBD::mysql:
1. force installation without test suite,
2. install with test suite.
=== 1. Force Install DBD::mysql without test suite ===
Force install DBD::mysql see screen shot
[root@localhost ~]#
[root@localhost ~]#cpan
cpan>
cpan> force install DBD::mysql
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 06 Jul 2009 04:27:32 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.012.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.012.tar.gz ok
.........
.Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
cpan>
cpan>quit
root@localhost ~]#
#restart mysql
[root@localhost ~]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
=== 2. Install DBD::mysql with test suite ===
In order to install DBD::mysql, it is necessary to create temporary test database and user. If already exist the test database by default in mysql then drop the test database and create new and user with associated privileges
[root@localhost ~]# mysql -p
Enter password: # enter your mysql root password ( basu123)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| koha |
| mysql |
| test |
+--------------------+
4 rows in set (0.06 sec)
mysql>
#drop the database
mysql> drop database test;
Query OK, 0 rows affected (0.02 sec)
mysql>
#Create the database and user with associated privileges:
mysql> create database test;
Query OK, 1 row affected (0.00 sec)
mysql>
mysql> grant all on test.* to 'test'@'localhost' identified by 'test';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> quit;
Bye
[root@localhost ~]#
#install DBD::mysql from cpan
[root@localhost ~]# cpan
cpan>
cpan> o conf makepl_arg #press enter get current value of this CPAN parameter
#type "--testdb=test --testuser=test –testpass=test" #press enter
cpan> o conf makepl_arg "--testdb=test --testuser=test –testpass=test"
makepl_arg --testdb=test --testuser=test --testpass=test
cpan> install DBD::mysql
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.012.tar.gz
Fetching with LWP:
ftp://cpan-du.viaverio.com/pub/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.012.tar.gz
Fetching with LWP:
ftp://cpan-du.viaverio.com/pub/CPAN/authors/id/C/CA/CAPTTOFU/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.012.tar.gz ok
DBD-mysql-4.012/
DBD-mysql-4.012/ChangeLog
DBD-mysql-4.012/constants.h
DBD-mysql-4.012/dbdimp.c
DBD-mysql-4.012/dbdimp.h
DBD-mysql-4.012/eg/
DBD-mysql-4.012/eg/._bug14979.pl
DBD-mysql-4.012/eg/bug14979.pl
DBD-mysql-4.012/eg/._bug21028.pl
DBD-mysql-4.012/eg/bug21028.pl
DBD-mysql-4.012/eg/bug30033.pl
DBD-mysql-4.012/eg/bug30033pg.pl
DBD-mysql-4.012/eg/decimal_test.pl
DBD-mysql-4.012/eg/issue21946.pl
DBD-mysql-4.012/eg/prepare_memory_usage.pl
DBD-mysql-4.012/eg/proc_example1.pl
DBD-mysql-4.012/eg/proc_example2.pl
DBD-mysql-4.012/eg/proc_example2a.pl
DBD-mysql-4.012/eg/proc_example2b.pl
DBD-mysql-4.012/eg/proc_example3.pl
DBD-mysql-4.012/eg/proc_example4.pl
DBD-mysql-4.012/INSTALL.html
DBD-mysql-4.012/lib/
DBD-mysql-4.012/lib/Bundle/
DBD-mysql-4.012/lib/Bundle/DBD/
DBD-mysql-4.012/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.012/lib/DBD/
DBD-mysql-4.012/lib/DBD/mysql/
DBD-mysql-4.012/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.012/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.012/lib/DBD/mysql.pm
DBD-mysql-4.012/Makefile.PL
DBD-mysql-4.012/Makefile.PL.embedded
DBD-mysql-4.012/MANIFEST
DBD-mysql-4.012/MANIFEST.SKIP
DBD-mysql-4.012/META.yml
DBD-mysql-4.012/myld
DBD-mysql-4.012/mysql.xs
DBD-mysql-4.012/README
DBD-mysql-4.012/t/
DBD-mysql-4.012/t/00base.t
DBD-mysql-4.012/t/10connect.t
DBD-mysql-4.012/t/20createdrop.t
DBD-mysql-4.012/t/25lockunlock.t
DBD-mysql-4.012/t/29warnings.t
DBD-mysql-4.012/t/30insertfetch.t
DBD-mysql-4.012/t/31insertid.t
DBD-mysql-4.012/t/32insert_error.t
DBD-mysql-4.012/t/35limit.t
DBD-mysql-4.012/t/35prepare.t
DBD-mysql-4.012/t/40bindparam.t
DBD-mysql-4.012/t/40bindparam2.t
DBD-mysql-4.012/t/40blobs.t
DBD-mysql-4.012/t/40catalog.t
DBD-mysql-4.012/t/40keyinfo.t
DBD-mysql-4.012/t/40listfields.t
DBD-mysql-4.012/t/40nulls.t
DBD-mysql-4.012/t/40numrows.t
DBD-mysql-4.012/t/40server_prepare.t
DBD-mysql-4.012/t/40server_prepare_error.t
DBD-mysql-4.012/t/40types.t
DBD-mysql-4.012/t/41bindparam.t
DBD-mysql-4.012/t/41blobs_prepare.t
DBD-mysql-4.012/t/42bindparam.t
DBD-mysql-4.012/t/50chopblanks.t
DBD-mysql-4.012/t/50commit.t
DBD-mysql-4.012/t/51bind_type_guessing.t
DBD-mysql-4.012/t/55utf8.t
DBD-mysql-4.012/t/60leaks.t
DBD-mysql-4.012/t/65types.t
DBD-mysql-4.012/t/70takeimp.t
DBD-mysql-4.012/t/71impdata.t
DBD-mysql-4.012/t/75supported_sql.t
DBD-mysql-4.012/t/76multi_statement.t
DBD-mysql-4.012/t/80procs.t
DBD-mysql-4.012/t/lib.pl
DBD-mysql-4.012/t/mysql.dbtest
DBD-mysql-4.012/t/mysql.mtest
DBD-mysql-4.012/TODO
CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.012.tar.gz
I will use the following settings for compiling and testing:
cflags (mysql_config ) = -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
embedded (mysql_config ) =
libs (mysql_config ) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (User's choice) = test
testhost (default ) =
testpassword (User's choice) = test
testsocket (default ) =
testuser (User's choice) = test
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.52 (for perl 5.008008 on i386-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"4.012\" -DXS_VERSION=\"4.012\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" dbdimp.c
dbdimp.c: In function ‘dbd_discon_all’:
dbdimp.c:1978: warning: unused variable ‘imp_xxh’
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 225
Warning: duplicate function definition 'rows' detected in mysql.xs, line 650
gcc -c -I/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"4.012\" -DXS_VERSION=\"4.012\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" mysql.c
mysql.xs: In function ‘XS_DBD__mysql__db_do’:
mysql.xs:242: warning: unused variable ‘statement_ptr’
mysql.xs: In function ‘XS_DBD__mysql__st_more_results’:
mysql.xs:588: warning: implicit declaration of function ‘mysql_st_next_results’
mysql.xs:587: warning: unused variable ‘retval’
mysql.xs: In function ‘XS_DBD__mysql__GetInfo_dbd_mysql_get_info’:
mysql.xs:724: warning: implicit declaration of function ‘is_prefix’
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib/mysql:/usr/lib" /usr/bin/perl myld gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto \
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm
/usr/bin/make -- OK
Running make test
Prepending /root/.cpan/build/Class-Factory-Util-1.7/blib/arch /root/.cpan/build/Class-Factory-Util-1.7/blib/lib /root/.cpan/build/CGI-Session-Serialize-yaml-4.24/blib/arch /root/.cpan/build/CGI-Session-Serialize-yaml-4.24/blib/lib to PERL5LIB.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.t .................. ok
t/10connect.t ............... ok
t/20createdrop.t ............ ok
t/25lockunlock.t ............ ok
t/29warnings.t .............. ok
t/30insertfetch.t ........... ok
t/31insertid.t .............. ok
t/32insert_error.t .......... ok
t/35limit.t ................. ok
t/35prepare.t ............... ok
t/40bindparam.t ............. ok
t/40bindparam2.t ............ ok
t/40blobs.t ................. ok
t/40catalog.t ............... ok
t/40keyinfo.t ............... ok
t/40listfields.t ............ ok
t/40nulls.t ................. ok
t/40numrows.t ............... ok
t/40server_prepare.t ........ ok
t/40server_prepare_error.t .. ok
t/40types.t ................. ok
t/41bindparam.t ............. ok
t/41blobs_prepare.t ......... ok
t/42bindparam.t ............. ok
t/50chopblanks.t ............ ok
t/50commit.t ................ ok
t/51bind_type_guessing.t .... ok
t/55utf8.t .................. ok
t/60leaks.t ................. skipped: Skip $ENV{SLOW_TESTS} is not set
t/65types.t ................. ok
t/70takeimp.t ............... skipped: version of DBI 1.52 doesn't support this test. Can't continue test
t/71impdata.t ............... skipped: version of DBI 1.52 doesn't support this test. Can't continue test
t/75supported_sql.t ......... ok
t/76multi_statement.t ....... ok
t/80procs.t ................. ok
All tests successful.
Files=35, Tests=709, 3 wallclock secs ( 0.23 usr 0.05 sys + 2.11 cusr 0.32 csys = 2.71 CPU)
Result: PASS
/usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.bs
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBD/mysql.pm
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBD/mysql/GetInfo.pm
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBD/mysql/INSTALL.pod
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Bundle/DBD/mysql.pm
Installing /usr/share/man/man3/Bundle::DBD::mysql.3pm
Installing /usr/share/man/man3/DBD::mysql::INSTALL.3pm
Installing /usr/share/man/man3/DBD::mysql.3pm
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
cpan>
cpan> o conf makepl_arg ''
OR
cpan> o conf makepl_arg '<old setting>'
(restore this setting so as to not interfere with future CPAN installs).
# Finally, remove the test database:
cpan> quit
[root@localhost ~]#
[root@localhost ~]# mysql -p
Enter password: # enter mysql root password ( basu123)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
#drop the database
mysql> drop database test;
Query OK, 0 rows affected (0.02 sec)
mysql>
mysql>quit;
Bye
[root@localhost ~]#
# restart mysql
[root@localhost ~]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@localhost ~]#
=== Install DBD::SQLite2 ===
Install perl module DBD::SQLite2 if any problem in installation and install forcefully and it works ok
cpan> force install DBD::SQLite2
Running install for module DBD::SQLite2
Running make for M/MS/MSERGEANT/DBD-SQLite2-0.33.tar.gz
Fetching with LWP:
=== Install some "DBI" Perl Modules ===
install the DBI Perl Module restart mysql
cpan> install DBI
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
=== Install the "CGI::Session::Serialize::yaml" Perl Module ===
Do not install CGI::Session, you install CGI::Session::Serialize::yaml. This module also install the compatible CGI::Session module and other prerequisites modules given below:
-----------------------------------------------------------
prerequisites modules
CGI::Session (CGI-Session-4.41.tar.gz), CGI (CGI.pm-3.43.tar.gz), FCGI (FCGI-0.67.tar.gz), FreezeThaw, CGI::Simple, YAML::Syck, IO::Scalar
CGI::Session::ErrorHandler
--------------------------------
cpan> install CGI::Session::Serialize::yaml
Running install for module CGI::Session::Serialize::yaml
Running make for R/RS/RSAVAGE/CGI-Session-Serialize-yaml-4.24.tgz
Fetching with LWP:
cpan> install FreezeThaw
Running install for module FreezeThaw
Running make for I/IL/ILYAZ/modules/FreezeThaw-0.45.tar.gz
Fetching with LWP:
[root@localhost ~]# cpan CGI::Simple
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 06 Jul 2009 04:27:32 GMT
Running install for module CGI::Simple
Running make for A/AN/ANDYA/CGI-Simple-1.112.tar.gz
=== Install the "Class::Accessor " Perl Module ===
install the Class::Accessor Perl Module and also install the Sub::Name perl module
cpan> install Class::Accessor
Running install for module Class::Accessor
Running make for K/KA/KASEI/Class-Accessor-0.33.tar.gz
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/K/KA/KASEI/Class-Accessor-0.33.tar.gz
LWP failed with code[500] message[]
Fetching with Net::FTP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/K/KA/KASEI/Class-Accessor-0.33.tar.gz
Fetching with LWP:
cpan> install Sub::Name
Running install for module Sub::Name
Running make for X/XM/XMATH/Sub-Name-0.04.tar.gz
=== Install the "Class::Factory::Util" Perl Module ===
install the Class::Factory::Util Perl Module and it is also install the following prerequisites perl module
-----------------------------------------------------------
prerequisites modules
Module::Build, Test::Harness, ExtUtils::CBuilder, TAP::Harness,
--------------------------------
cpan> install Class::Factory::Util
Running install for module Class::Factory::Util
Running make for D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz
Fetching with LWP:
cpan>ExtUtils::CBuilder
CPAN: Storable loaded ok
=== Install the "Data::ICal " Perl Module ===
install the Data::ICal Perl Module and it is also install the following Perl dependencies
-----------------------------------------------------------
dependencies modules:
Test::Warn,
Test::NoWarnings,
Test::LongString,
Test::LongString,
Text::vFile::asData,
Class::ReturnValue,
MIME::QuotedPrint,
Test::Builder::Tester,
Devel::StackTrace,
Test::Tester,
Class::Accessor::Chained,
Test::Exception ,
Sub::Uplevel ,
Array::Compare ,
Tree::DAG_Node
--------------------------------
cpan> install Data::ICal
Running install for module Data::ICal
Running make for A/AL/ALEXMV/Data-ICal-0.15.tar.gz
Fetching with LWP:
=== Install the "Date::Calc" Perl Module ===
install the Date::Calc Perl Module and it is also install the following Perl dependencies
-----------------------------------------------------------
dependencies modules:
Bit::Vector , Carp::Clan, Date::Leapyear,
--------------------------------
cpan> install Date::Calc
Running install for module Date::Calc
Running make for S/ST/STBEY/Date-Calc-5.4.tar.gz
Fetching with LWP:
ftp://ftp.jaist.ac.jp/pub/CPAN/authors/id/S/ST/STBEY/Date-Calc-5.4.tar.gz
=== Install the "Email::Date" Perl Module ===
install the Email::Date Perl Module and it is also install the following Perl dependencies
-----------------------------------------------------------
dependencies modules:
Email::Abstract
Email::Date::Format
Time::Piece , Module::Pluggable
Email::Simple
Date::Parse ExtUtils::MakeMaker
version
Test::MinimumVersion
Perl::MinimumVersion
File::Find::Rule
Parse::CPAN::Meta
Params::Util
Number::Compare
Text::Glob
PPI
Test::Script
File::Remove
IO::String
Test::Object
Test::ClassAPI
Clone
Test::SubCalls
List::MoreUtils
Task::Weaken
Class::Inspector
Config::Tiny, Hook::LexWrap, IPC::Run3
--------------------------------
cpan> install Email::Date
Running install for module Email::Date
Running make for R/RJ/RJBS/Email-Date-1.103.tar.gz
Fetching with LWP:
ftp://ftp.jaist.ac.jp/pub/CPAN/authors/id/R/RJ/RJBS/Email-Date-1.103.tar.gz
cpan> Test::MinimumVersion
=== Install the "GD" Perl Module ===
install the GD Perl Module
cpan> install GD
Running install for module GD
Running make for L/LD/LDS/GD-2.43.tar.gz
=== Install the "HTML::Scrubber " Perl Module ===
install the HTML::Scrubber Perl Module
cpan> install HTML::Scrubber
Running install for module HTML::Scrubber
Running make for P/PO/PODMASTER/HTML-Scrubber-0.08.tar.gz
Fetching with LWP:
=== Install the "HTML::Template::Pro " Perl Module ===
install the HTML::Template::Pro Perl Module
cpan> install HTML::Template::Pro
Running install for module HTML::Template::Pro
Running make for V/VI/VIY/HTML-Template-Pro-0.75.tar.gz
Fetching with LWP:
ftp://ftp.jaist.ac.jp/pub/CPAN/authors/id/V/VI/VIY/HTML-Template-Pro-0.75.tar.gz
Fetching with LWP:
=== Install the "MARC::Record " Perl Module ===
install the MARC::Record Perl Module
cpan> install MARC::Record
Running install for module MARC::Record
Running make for M/MI/MIKERY/MARC-Record-2.0.0.tar.gz
Fetching with LWP:
=== Install the " Lingua::Stem " Perl Module ===
install the Lingua::Stem Perl Module and it is also install the following Perl dependencies
-----------------------------------------------------------
dependencies modules:
Lingua::PT::Stemmer
Lingua::Stem::It
Lingua::Stem::Snowball::No
Text::German
Lingua::Stem::Snowball::Se
Lingua::Stem::Fr
Lingua::GL::Stemmer
Lingua::Stem::Snowball::Da
Lingua::Stem::Ru
Test::Distribution
--------------------------------
cpan> install Lingua::Stem
Running install for module Lingua::Stem
Running make for S/SN/SNOWHARE/Lingua-Stem-0.83.tar.gz
Fetching with LWP:
cpan> install Test::Distribution
Running install for module Test::Distribution
Running make for S/SR/SRSHAH/Test-Distribution-2.00.tar.gz
Fetching with LWP:
=== Install the " List::MoreUtils " Perl Module ===
install the List::MoreUtils Perl Module
=== Install the " MIME::Lite " Perl Module ===
install the MIME::Lite Perl Module and it is also install the following Perl dependencies
-----------------------------------------
Mail::Address
MIME::Types
File::Basename
MIME::Base64
MIME::QuotedPrint
Mail::Address
MIME::Types
cpan> install MIME::Lite
Running install for module MIME::Lite
Running make for R/RJ/RJBS/MIME-Lite-3.024.tar.gz
Fetching with LWP:
=== Install the " Mail::Sendmail " Perl Module ===
install the Mail::Sendmail Perl Module
cpan> install Mail::Sendmail
Running install for module Mail::Sendmail
Running make for M/MI/MIVKOVIC/Mail-Sendmail-0.79.tar.gz
Fetching with LWP:
cpan>
cpan> quit
Terminal does not support GetHistory.
Lockfile removed.
=== Install the " MARC::Charset " Perl Module ===
install the MARC-Charset Perl Module if any problem installation, install lower version i.e MARC-Charset-0.98.
.............
cpan> install MARC::Charset
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/cjk.t ........ ok
t/code.t ....... ok
t/decompose.t .. ok
t/escape1.t .... ok
t/escape2.t .... ok
...........
.......
Installing /usr/lib/perl5/site_perl/5.8.8/MARC/Charset.pm
Installing /usr/lib/perl5/site_perl/5.8.8/MARC/Charset/Table.pm
ok
=== Install the " XML::LibXSLT” ===
To install the XML::LibXSLT Perl Module for CentOS 5.3 is required lower version i.e XML-LibXSLT-1.59.tar.gz. Higher version is not compatible.
Download from the cpan
http://search.cpan.org/~pajas/XML-LibXSLT-1.59/
tar -xvf MARC-Charset-0.98.tar.gz
perl Makefile.PL
make
make test
make install
[root@localhost Desktop]# tar -xvf XML-LibXSLT-1.59.tar.gz
XML-LibXSLT-1.59/
XML-LibXSLT-1.59/t/
.........
..............................
[root@localhost Desktop]# cd XML-LibXSLT-1.59
[root@localhost XML-LibXSLT-1.59]# perl Makefile.PL
[root@localhost XML-LibXSLT-1.59]# make
[root@localhost XML-LibXSLT-1.59]# make test
[root@localhost XML-LibXSLT-1.59]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.t ...... ok
t/02dromeds.t .... ok
t/03input.t ...... ok
t/04params.t ..... ok
t/05quick.t ...... ok
t/06output.t ..... ok
t/07blankdoc.t ... ok
t/08literal.t .... ok
t/09exslt.t ...... ok
t/10functions.t .. ok
t/11utf8.t ....... ok
All tests successful.
Files=11, Tests=114, 9 wallclock secs ( 0.07 usr 0.11 sys + 0.54 cusr 0.13 csys = 0.85 CPU)
Result: PASS
[root@localhost XML-LibXSLT-1.59]# make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/LibXSLT/LibXSLT.so
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/LibXSLT/LibXSLT.bs
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/XML/benchmark.pl
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/XML/LibXSLT.pm
Installing /usr/share/man/man3/XML::LibXSLT.3pm
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
[root@localhost XML-LibXSLT-1.59]# cd..
[root@localhost /]# cpan
[root@localhost /]# cpan
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
=== Install the " MARC::Crosswalk::DublinCore ” ===
install the MARC::Crosswalk::DublinCore Perl Module and it is also install the Perl dependencies DublinCore::Record
cpan> install MARC::Crosswalk::DublinCore
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 06 Jul 2009 04:27:32 GMT
Running install for module MARC::Crosswalk::DublinCore
Running make for B/BR/BRICAS/MARC-Crosswalk-DublinCore-0.02.tar.gz
=== Install the " MARC::File::XML ” Perl Module===
install the MARC::File::XML Perl Module.
cpan> install MARC::File::XML
Running install for module MARC::File::XML
Running make for K/KA/KADOS/MARC-XML-0.88.tar.gz
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/K/KA/KADOS/MARC-XML-0.88.tar.gz
=== Install the " PDF::API2 ” Perl Module===
install the PDF::API2 Perl Module and it is also install the Perl module PDF::API2::Util, PDF::API2::Page
cpan> install PDF::API2
Running install for module PDF::API2
Running make for A/AR/AREIBENS/PDF-API2-0.73.tar.gz
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/A/AR/AREIBENS/PDF-API2-0.73.tar.gz
=== Install the " PDF::Reuse ” Perl Module===
install the MIME::Lite Perl Module and it is also install the following Perl dependencies
-----------------------------------------
Text::PDF::TTFont0
Font::TTF
------------------------------------------
cpan> install PDF::Reuse
Running install for module PDF::Reuse
Running make for L/LA/LARSLUND/PDF-Reuse-0.35.tar.gz
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/L/LA/LARSLUND/PDF-Reuse-0.35.tar.gz
=== Install the " PDF::Reuse::Barcode ” Perl Module===
installation of PDF::Reuse::Barcode failed due to a Perl Module dependency - "Barcode::Code128" - that, in turn, fails to install when doing some PNG related tests. According to Galen Charlton (from LibLime) - http://lists.katipo.co.nz/public/koha/2007-December/012843.html - "There seem to be various problems with Barcode::Code128 on various platforms, particularly with its test suite. The barcode generation functionality is used in only a couple places in Koha, so force install of that module should be OK.
it is also install the Perl dependencies Barcode-Code128-2.01
cpan> force install PDF::Reuse::Barcode
Running install for module PDF::Reuse::Barcode
Running make for L/LA/LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz
Fetching with LWP:
=== Install the " POE ” Perl Module===
install the POE Perl Module and it is also install the following Perl dependencies
-----------------------------------------
Tk
Term::ReadKey
Event
Curses
IO::Handle
Storable
IO::Tty
POE::Test::Loops
----------------------------------------
cpan> install POE
Running install for module POE
Running make for R/RC/RCAPUTO/POE-1.006.tar.gz
Fetching with LWP:
ftp://ftp.jaist.ac.jp/pub/CPAN/authors/id/R/RC/RCAPUTO/POE-1.006.tar.gz
[root@localhost ~]# cpan Tk
CPAN: Storable loaded ok
[root@localhost ~]# cpan Term::ReadKey
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
[root@localhost ~]# cpan Event
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
[root@localhost ~]# cpan Curses
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
=== Install the " Schedule::At ” Perl Module===
install the Schedule::At Perl Module.
cpan> install Schedule::At
Running install for module Schedule::At
Running make for J/JO/JOSERODR/Schedule-At-1.08.tar.gz
Fetching with LWP
=== Install the " Text::CSV ” Perl Module===
install the Text::CSV Perl Module.
cpan> install Text::CSV
Running install for module Text::CSV
Running make for M/MA/MAKAMAKA/Text-CSV-1.12.tar.gz
Fetching with LWP
=== Install the " Text::CSV_XS ” Perl Module===
install the Text::CSV_XS Perl Module
cpan> install Text::CSV_XS
Running install for module Text::CSV_XS
Running make for H/HM/HMBRAND/Text-CSV_XS-0.65.tgz
Fetching with LWP:
=== Install the " Text::Iconv ” Perl Module===
install the Text::Iconv Perl Module.
cpan> install Text::Iconv
Running install for module Text::Iconv
Running make for M/MP/MPIOTR/Text-Iconv-1.7.tar.gz
Fetching with LWP:
=== Install the " XML::RSS ” Perl Module===
install the XML::RSS Perl Module and it is also install the following Perl dependencies
-----------------------------------------
DateTime
DateTime::Format::W3CDTF
Test::Manifest
DateTime::Format::Mail
DateTime::Locale
DateTime::TimeZone
Params::Validate
Class::Singleton
------------------------------------------
cpan> install XML::RSS
Running install for module XML::RSS
Running make for S/SH/SHLOMIF/XML-RSS-1.44.tar.gz
Fetching with LWP:
cpan> install Test::Differences
Running install for module Test::Differences
Running make for O/OV/OVID/Test-Differences-0.4801.tar.gz
Fetching with LWP:
=== Install the " XML::SAX::Writer ” Perl Module===
install the XML::SAX::Writer Perl Module is also install the perl dependencies XML::Filter::BufferText
cpan> install XML::SAX::Writer
Running install for module XML::SAX::Writer
Running make for P/PE/PERIGRIN/XML-SAX-Writer-0.52.tar.gz
Fetching with LWP:
=== Install the " JSON ” Perl Module===
install the JSON Perl Module
[root@localhost /]# cpan JSON
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
=== Install the " YAML::Syck ” Perl Module===
install the YAML::Syck Perl Module
[root@localhost /]# cpan YAML::Syck
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 06 Jul 2009 04:27:32 GMT
Running install for module YAML::Syck
Running make for A/AU/AUDREYT/YAML-Syck-1.07.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
=== Install the " HTTP::OAI ” Perl Module===
install the HTTP::OAI Perl Module
[root@localhost /]# cpan HTTP::OAI
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 06 Jul 2009 04:27:32 GMT
Running install for module HTTP::OAI
Running make for T/TI/TIMBRODY/HTTP-OAI-3.22.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/T/TI/TIMBRODY/HTTP-OAI-3.22.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
...........
.........................
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/000xml_sax.t ........... ok
t/00static.t ............. ok
t/01parse.t .............. ok
t/02token.t .............. ok
t/03badbytes.t ........... ok
t/50mets.t ............... ok
t/80network.t ............ ok
t/error.t ................ ok
t/getrecord.t ............ ok
t/identify.t ............. ok
t/listidentifiers.t ...... ok
t/listmetadataformats.t .. ok
All tests successful.
Files=12, Tests=75, 24 wallclock secs ( 0.06 usr 0.02 sys + 2.69 cusr 0.22 csys = 2.99 CPU)
Result: PASS
/usr/bin/make test -- OK
Running make install
Manifying blib/man1/oai_browser.pl.1
Manifying blib/man3/HTTP::OAI::ListIdentifiers.3pm
Manifying blib/man3/HTTP::OAI::Debug.3pm
Manifying blib/man3/HTTP::OAI::Set.3pm
Manifying blib/man3/HTTP::OAI::UserAgent.3pm
Manifying blib/man3/HTTP::OAI::Record.3pm
Manifying blib/man3/HTTP::OAI::Error.3pm
Manifying blib/man3/HTTP::OAI::SAXHandler.3pm
Manifying blib/man3/HTTP::OAI::Harvester.3pm
Manifying blib/man3/HTTP::OAI::Header.3pm
Manifying blib/man3/HTTP::OAI::Headers.3pm
Manifying blib/man3/HTTP::OAI::ListRecords.3pm
Manifying blib/man3/HTTP::OAI::GetRecord.3pm
Manifying blib/man3/HTTP::OAI::Metadata.3pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Encapsulation.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/ListRecords.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Harvester.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/SAXHandler.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/UserAgent.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Headers.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/ListMetadataFormats.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Record.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Error.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/ListSets.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Metadata.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Header.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Repository.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Debug.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Metadata/OAI_Eprints.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Metadata/METS.pm
Installing /usr/lib/perl5/site_perl/5.8.8/HTTP/OAI/Metadata/OAI_DC.pm
Installing /usr/share/man/man3/HTTP::OAI::UserAgent.3pm
Installing /usr/share/man/man3/HTTP::OAI::Record.3pm
Installing /usr/share/man/man3/HTTP::OAI::SAXHandler.3pm
Installing /usr/share/man/man3/HTTP::OAI::Headers.3pm
Installing /usr/share/man/man3/HTTP::OAI::Metadata::OAI_DC.3pm
Installing /usr/share/man/man3/HTTP::OAI::MetadataFormat.3pm
Installing /usr/share/man/man3/HTTP::OAI::Encapsulation.3pm
Installing /usr/share/man/man3/HTTP::OAI::Metadata::METS.3pm
Installing /usr/share/man/man3/HTTP::OAI::ListMetadataFormats.3pm
Installing /usr/share/man/man3/HTTP::OAI.3pm
Installing /usr/bin/oai_browser.pl
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
=== Install the " Net::Z3950::ZOOM ” Perl Module===
install the Net::Z3950::ZOOM Perl Module (yaz must be stalled first)
[root@localhost /]# cpan Net::Z3950::ZOOM
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 06 Jul 2009 04:27:32 GMT
Running install for module Net::Z3950::ZOOM
Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz ok
lyaz -lexslt -lxslt -lgcrypt -lgpg-error -lxml2 -lz -lm -lwrap -lpthread \
chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
cp samples/zoom/zoomdump blib/script/zoomdump
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/zoomdump
cp samples/zoom/zselect blib/script/zselect
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/zselect
Manifying blib/man3/Net::Z3950::ZOOM.3pm
Manifying blib/man3/ZOOM.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1-Net-Z3950-ZOOM.t .... ok
t/10-options.t .......... ok
t/11-option-callback.t .. ok
t/12-query.t ............ ok
t/13-resultset.t ........ ok
t/14-sorting.t .......... ok
t/15-scan.t ............. ok
t/16-packages.t ......... ok
t/17-logging.t .......... ok
t/18-charset.t .......... ok
t/19-events.t ........... ok
t/2-ZOOM.t .............. ok
t/20-options.t .......... ok
t/21-option-callback.t .. ok
t/22-query.t ............ ok
t/23-resultset.t ........ ok
t/24-sorting.t .......... ok
t/25-scan.t ............. ok
t/26-packages.t ......... ok
t/27-logging.t .......... ok
t/28-charset.t .......... ok
t/29-events.t ........... ok
All tests successful.
Files=22, Tests=712, 82 wallclock secs ( 0.20 usr 0.02 sys + 1.07 cusr 0.17 csys = 1.46 CPU)
Result: PASS
/usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Net/Z3950/ZOOM/ZOOM.bs
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Net/Z3950/ZOOM/ZOOM.so
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/ZOOM.pod
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/ZOOM.pm
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Net/Z3950.pm
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Net/Z3950/ZOOM.pm
Installing /usr/share/man/man3/ZOOM.3pm
Installing /usr/share/man/man3/Net::Z3950::ZOOM.3pm
Installing /usr/bin/zoomdump
Installing /usr/bin/zselect
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK
=== Install the " Unix::Syslog ” Perl Module===
[root@localhost ~]# cpan Unix::Syslog
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
8 Re-Run Koha's perl installer :
Run the koha's perl installer again to verify missing perl modules follow the same procedure S.NO 7 in this document.
[root@localhost koha-3.00.03]# perl Makefile.PL
By default, Koha can be installed in one of three ways:
standard: Install files in conformance with the Filesystem
Hierarchy Standard (FHS). This is the default mode
and should be used when installing a production
Koha system. On Unix systems, root access is
.........
For example:
export DB_USER=my_koha
perl Makefile.PL
or
DB_USER=my_koha DOC_DIR=/usr/local/info perl Makefile.PL
If installing on a Win32 platform, be sure to use:
'dmake -x MAXLINELENGTH=300000'
Writing Makefile for koha
[root@localhost Koha]#
=== make===
[root@localhost Koha]# make
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/KOHA_CONF_DIR/koha-conf.xml
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/KOHA_CONF_DIR/koha-httpd.conf
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/MISC_DIR/koha-install-log
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/etc/passwd
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/zebra-biblios.cfg
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/zebra-authorities.cfg
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/zebra-authorities-dom.cfg
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/explain-authorities.xml
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/explain-biblios.xml
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/retrieval-info-auth-grs1.xml
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/ZEBRA_CONF_DIR/retrieval-info-auth-dom.xml
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/SCRIPT_DIR/koha-zebra-ctl.sh
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/SCRIPT_DIR/koha-pazpar2-ctl.sh
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/SCRIPT_DIR/koha-zebraqueue-ctl.sh
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/PERL_MODULE_DIR/C4/Context.pm
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL blib/SCRIPT_NONDEV_DIR/kohalib.pl
=== make test===
[root@localhost Koha]# make test
PERL_DL_NONLAZY=1 KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/PERL_MODULE_DIR', 'blib/arch')" t/*.t
t/Amazon.t ..................... ok
t/Barcodes_PrinterConfig.t ..... ok
t/Bookfund.t ................... ok
t/Bookseller.t ................. ok
t/Boolean.t .................... ok
t/Branch.t ..................... ok
t/Calendar.t ................... ok
t/Charset.t .................... ok
t/Circulation_barcodedecode.t .. DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /root/Desktop/Koha/blib/PERL_MODULE_DIR/C4/Context.pm line 485.
t/Circulation_barcodedecode.t .. ok
t/Dates.t ...................... 1/192 #
# In order to run without DB access, this test will substitute 'us'
# as your default date format. Export environmental variable KOHA_TEST_DATE_FORMAT
# to override this default, or pass the value as an argument to this test script.
#
# NOTE: we test for the system handling dd=00 and 00 for TIME values, therefore
# you SHOULD see some warnings like:
# Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t ...
#
# Testing Legacy Functions: format_date and format_date_in_iso
#
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 62
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 65
#
# Testing 4 formats.
# Testing no input (defaults):
#
# Testing with valid inputs:
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 84
#
# Testing object independence from class
# done.
t/Dates.t ...................... ok
t/Debug.t ...................... # BEFORE use: $debug is not defined
# BEFORE use: $cgi_debug is not defined
t/Debug.t ...................... 1/3 # AFTER use: $debug is 0
# AFTER use: $cgi_debug is 0
# Done.
t/Debug.t ...................... ok
t/dummy.t ...................... ok
t/Input.t ...................... ok
t/Koha.t ....................... ok
t/Labels_split_ddcn.t .......... DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist
t/Labels_split_lccn.t .......... ok
t/Languages.t .................. ok
t/Maintainance.t ............... ok
t/Members_Attributes.t ......... 1/11 # 2 tests for extended_attributes_merge
# old attribute: homeroom = 501
# new attribute: grade = 01
# merge (overwrite) attribute: grade = 01
# merge (overwrite) attribute: homeroom = 501
# merge (preserve) attribute: grade = 01
# merge (preserve) attribute: homeroom = 501
# old attribute: deanslist = 2007
# old attribute: deanslist = 2008
# old attribute: grade = 04
# old attribute: homeroom = 224
# old attribute: somedata = xxx
# new attribute: deanslist = 2009
# new attribute: extradata = foobar
# new attribute: grade = 05
# new attribute: homeroom = 115
# merge (overwrite) attribute: deanslist = 2009
# merge (overwrite) attribute: extradata = foobar
# merge (overwrite) attribute: grade = 05
# merge (overwrite) attribute: homeroom = 115
# merge (overwrite) attribute: somedata = xxx
# merge (preserve) attribute: deanslist = 2007
# merge (preserve) attribute: deanslist = 2008
# merge (preserve) attribute: deanslist = 2009
# merge (preserve) attribute: extradata = foobar
# merge (preserve) attribute: grade = 05
# merge (preserve) attribute: homeroom = 115
# merge (preserve) attribute: somedata = xxx
t/Members_Attributes.t ......... ok
t/Output.t ..................... ok
t/Record.t ..................... ok
t/Review.t ..................... ok
t/Scrubber.t ................... 1/10 # Note: scrubber test output will have whitespace collapsed for readability
# done.
t/Scrubber.t ................... ok
t/Stats.t ...................... ok
All tests successful.
Files=24, Tests=392, 10 wallclock secs ( 0.15 usr 0.04 sys + 4.60 cusr 0.63 csys = 5.42 CPU)
Result: PASS
=== make install===
[root@localhost Koha]# make install
Installing /usr/share/koha/man/man3/authorities::blinddetail-biblio-search.3pm
Installing /usr/share/koha/man/man3/serials::subscription-bib-search.3pm
Installing /usr/share/koha/man/man3/circ::branchoverdues.3pm
Installing /usr/share/koha/man/man3/C4::Biblio.3pm
Installing /usr/share/koha/man/man3/acqui::newordersuggestion.3pm
Installing /usr/share/koha/man/man3/cataloguing::value_builder::unimarc_field_120.3pm
Installing /usr/share/koha/man/man3/cataloguing::value_builder::unimarc_field_140.3pm
Installing /usr/share/koha/man/man3/cataloguing::value_builder::unimarc_field_116.3pm
Koha's files have now been installed.
In order to use Koha's command-line batch jobs,
you should set the following environment variables:
export KOHA_CONF=/etc/koha/koha-conf.xml
export PERL5LIB=/usr/share/koha/lib
For other post-installation tasks, please consult the README.
=== Environment variables===
Saving environment variables
As indicated at the end of the installation (see screen shot), we must add two environment variables:
Entering the two lines below a window in Terminal:
export KOHA_CONF = /etc/koha/koha-conf.xml
export PERL5LIB = /usr/share/koha/lib
export both variables are recorded on a temporary basis. we must add these two lines in the file. bash_profile or. Bash rc.local
screen shot
[root@localhost koha-3.00.03]#
[root@localhost koha-3.00.03]# cd
[root@localhost ~]# export KOHA_CONF=/etc/koha/koha-conf.xml
[root@localhost ~]# export PERL5LIB=/usr/share/koha/lib
[root@localhost ~]#
=== Editing the httpd.conf file===
Once the koha is installed but you need to edit the httpd.conf files and koha-conf.xml file before koha is visible on web interface installation.
Start editing httpd.conf file of CentOS. Open the httpd.conf file from any text editor and scroll to the bottom or end of the httpd.conf and add the following line:
include /etc/koha/koha-httpd.conf
[root@localhost ~]# vi /etc/httpd/conf/httpd.conf
=== Editing the koha-httpd.conf file===
Open the koha-httpd.conf file from any text editor and At the beginning of the koha-httpd.conf file, under the commented
NameVirtualHost line, add the following line:
|--------------------
Listen 8080
|--------------------
In that file, you should find two VirtualHost sections: one for the OPAC area of Koha and the other one for the Intranet in that file are set for the IP Address 127.0.0.1, replace them by the correct IP address of your server.
If the two virtualHost directives - the lines that start with
## Intranet
<VirtualHost 127.0.0.1:8080> 192.168.1.178:8080 example
## OPAC
<VirtualHost 127.0.0.1:80> 192.168.1.178:80 example
in that file are set for the IP Address 127.0.0.1, replace them by the correct IP address of your server.
Screen Shot:
[root@localhost ~]# vi /etc/koha/koha-httpd.conf
# Koha Apache Configuration Directives
Listen 8080
#NameVirtualHost *
## OPAC
<VirtualHost 192.168.1.178:80>
ServerAdmin webmaster@localdomain
DocumentRoot /usr/share/koha/opac/htdocs
ServerName localhost.localdomain
# ServerAlias opac.mydomain.com
ScriptAlias /cgi-bin/koha/ "/usr/share/koha/opac/cgi-bin/opac/"
ScriptAlias /index.html "/usr/share/koha/opac/cgi-bin/opac/opac-main.pl"
ScriptAlias /opac-search.pl "/usr/share/koha/opac/cgi-bin/opac/search"
ScriptAlias /search "/usr/share/koha/opac/cgi-bin/opac/search"
ErrorLog /var/log/koha/koha-opac-error_log
# TransferLog /var/log/koha/koha-opac-access_log
SetEnv KOHA_CONF "/etc/koha/koha-conf.xml"
SetEnv PERL5LIB "/usr/share/koha/lib"
Options +FollowSymLinks
=== restart again Apache:===
Now, restart again Apache:
[root@localhost ~]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
=== Koha's Web Installer ===
Access Koha's web installer. open your web browser and type Your IP …. {192.168.1.178:8080}
and your browser will open koha web Installer

type your user name and password press login

click menu select your language and continue. I selected English (en)

continue..

continue...

continue..... click next to crate database

database created press continue

to continue click link “install basic configuration”

select your MARC flavor and press next continue

Select default settings mandatory, and if you want select optional sample data to import for testing.

Click import icon to import the data

select zebra or no-zebra for indexing and click choose button to continue . I choose zebra

click the finish button to complete installation:

click link “here” to continue or it will redirect after few seconds. The koha login for staff client page will appear.

Set system preference create
import some records to test the Zebra indexing
=== Run Zebra Indexing===
export environment variables
[root@localhost ~]# export KOHA_CONF=/etc/koha/koha-conf.xml
[root@localhost ~]# export PERL5LIB=/usr/share/koha/lib
open new terminal window to start Zebra Server
go to the directory /usr/bin
cd /usr/bin
zebra start the server by the command:
./zebrasrv-2.0 -f /etc/koha /koha-conf.xml
open another terminal window to start daemon Zebraqueue
Starting the daemon Zebraqueue
zebraqueue_daemon.pl is in /usr/share/koha/bin
go in /usr/share/koha/bin
cd /usr/share/koha/ bin
and launch the script zebraqueue_daemon.pl
. / zebraqueue_daemon.pl
(note that the path may be different depending on your installation choices)
if you want to run background zebra add three lines in your rc.local or crontab
go to the directory /etc/rc.local
use text editor add following lines restart your computer
export PERL5LIB=/usr/share/koha/lib &
/usr/bin/zebrasrv-2.0 -f /etc/koha/koha-conf.xml &
perl /usr/share/koha/bin/zebraqueue_daemon.pl &
------------------ --------------------- ----------------------