adding pod spelling test
[koha.git] / INSTALL.opensuse
1 ====== Installation Guide for Installing Koha 3 on openSUSE 11 ======
2
3 Original version created by Ricardo Dias Marques - koha@ricmarques.net
4
5 No liability for the contents of this document can be accepted.
6
7 Feedback/bug reports: Koha Developer's List: 
8
9 http://lists.koha.org/mailman/listinfo/koha-devel
10
11 This document last modified: 07 July 2008
12
13
14 ===== Installation Instructions =====
15
16 This document was prepared in order to help you discover (or test) Koha (Integrated Library System).
17
18 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).
19
20 This document describes the different stages of installing the software Koha 3 on the openSUSE 11 Linux distribution 
21 in a "new" computer, that is, a computer that will have its hard disk contents COMPLETELY ERASED to install openSUSE and Koha!
22
23 In this example, it's assumed that your server gets an IP address by DHCP that will be later changed to 192.168.0.2. 
24
25 You'll have to change this to the real IP address that your machine should get (or use DHCP, if that's the case).
26
27 This tutorial assumes a Koha installation that does NOT use Zebra ("Zebra is a high-performance, general-purpose structured text indexing and retrieval engine" - http://www.indexdata.dk/zebra/). Additional steps would be required to set up Zebra for Koha.
28
29 ==== LINUX System Installation ====
30
31
32 Download openSUSE 11 DVD at: 
33 http://software.opensuse.org/
34
35 Place the DVD in the drive and restart the machine.
36
37
38 After the "Welcome" screen, you'll get a First menu, with the following options:
39
40 ----
41 Boot from Hard Disk 
42
43 Installation
44
45 Repair Installed System
46
47 Rescue System
48
49 Firmware Test 
50
51 Memory Test
52 ----
53
54 Choose "Installation" (second command)
55
56
57 === "Initializing" screen ===
58
59 (Dialog box appears saying "Probing Mouse")
60
61
62 === "Welcome" screen ===
63
64 You'll see two Dropdown Lists: "Language" and "Keyboard Layout"
65
66 This depends of your place and preference, naturally. 
67 I live in Portugal, so I want a Portuguese Keyboard Layout but I prefer an Operating System in English. 
68 So I leave the default option selected for "Language" (English (US)) 
69 and change "Keyboard Layout" to "Portuguese".
70
71 Check the "I Agree to the License Terms" checkbox (under the "License Agreement" textbox).
72
73 Click the "Next" button.
74
75
76
77 === "System Probing" screen ===
78
79
80 [just watch it...]
81
82
83
84 === "Installation Mode" screen ===
85
86
87 Leave "New Installation" radio button checked
88
89 Click the "Next" button
90
91
92 === "Initializing" screen ===
93
94
95 [just watch it...]
96
97
98
99
100 === "Clock and Time Zone" screen ===
101
102
103 Again, I live in Portugal, so I select the following options:
104
105 "Region" listbox: click on "Europe"
106
107 "Time Zone" listbox: click on "Portugal"
108
109 I leave the "Hardware Clock Set To UTC" checkbox checked.
110
111 Click the "Next" button
112
113
114 === "Desktop Selection" screen ===
115
116
117 You should see four radio buttons: "GNOME", "KDE 4.0", "KDE 3.5" and "Other".
118
119 Click on the "Other" radio button.
120
121 Three radio buttons should become visible then:
122
123 "XFCE Desktop"
124
125 "Minimal X Window"
126
127 "Minimal Server Selection (Text Mode)"
128
129 click on this last "Minimal Server Selection (Text Mode)" radio button.
130
131 Click the "Next" button
132
133
134
135 === "Suggested Partitioning" screen ===
136
137
138 Partitioning choices are really up to you. In this example, I will create a 9 GB / ("root") partition and a 712 Swap Megs partition.
139
140 So, to do this I click on the "Create Partition Setup..." button.
141
142 === "Preparing Hard Disk: Step 1" screen ===
143
144
145 I click on the first radio button:
146 "1: 1.IDE 10.0 GB,/dev/sda"
147
148 I click the "Next" button
149
150
151 === "Preparing Hard Disk: Step 2" screen ===
152
153
154 I uncheck the "Propose separate Home Partition" checkbox.
155
156 I click the "Next" button.
157
158 This takes me back to the Suggested Partitioning screen.
159
160
161 === "Suggested Partitioning" screen ===
162
163
164 In my case, I now have this:
165
166 - Create swap partition /dev/sda1 (760.8 MB)
167
168 - Create root partition /dev/sda2 (9.2 GB with ext3)
169
170 I click the "Next" button.
171
172
173 === "Create New User" screen ===
174
175
176 I use this screen to create a regular user.
177
178 User's full name: Your Full name (e.g: John Smith)
179
180 Username: Your preferred username (e.g.: jsmith)
181
182 Password:
183
184 Confirm Password:
185
186 I uncheck the "Use this password for System Administrator" checkbox.
187
188 I uncheck the "Automatic Login" checkbox.
189
190 I click the "Next" button (you may be "nagged" with a dialog box by the YAST2 installer warning that you selected a password that it considers to be too simple. Click "Yes" to keep the password you chose, or "No" to change it).
191
192
193
194
195
196 === Password for the System Administrator "root" screen ===
197
198
199 Enter your password (in the "Password for root User" text box) and repeat it (in the "Confirm Password" text box).
200
201 Click the "Accept" button to return to the "Installation Settings" screen.
202
203
204 === "Installation Settings" screen ===
205
206
207 Click on the "Software" link
208
209
210 === "Software Selection and System Tasks" screen ===
211
212
213 Scroll down the listbox (that begins with the "Base Technologies" group) until you find the "Server Functions" group.
214
215 In that "Server Functions" group click on the "Web and LAMP Server" checkbox (to check it)
216
217 Click on the "OK" button to return to "Installation Settings"
218
219
220
221 === "Installation Settings" screen ===
222
223
224 Click on the "Install" button (placed in the same place where usually appear the "Accept" or "Next" button).
225
226 You should see a "Confirm Installation" dialog box. Click on the "Install" button of that dialog box.
227
228
229 === "Preparing Your Hard Disk" screen ===
230
231
232 [just watch it...]
233
234
235 === "Deploying Installation Images" screen ===
236
237
238 [just watch it... ]
239
240
241
242 === "Package Installation" screen ===
243
244
245
246 [just watch it... or click on the "Details" tab if you want to see what packages are being installed.]
247
248
249 === "Finishing Basic Installation" screen ===
250
251
252 [just watch it... ]
253
254 After some time you'll see a dialog box warning that the system will reboot in 10 seconds.
255
256
257
258 === After reboot ===
259
260
261 Leave "Boot from Hard Disk" selected and click ENTER
262
263 You'll have to wait a while (or press ESC to see what the operating system is "doing"). After some moments, you'll 
264 be taken to the "Yast2 - installation @ Linux" screen (a text installer).
265
266
267 === "Writing the System Configuration" screen ===
268
269
270 [just watch it... ]
271
272 After a while you'll see a prompt:
273 |--------------------
274 Welcome to openSUSE 11.0 (i586) - Kernel 2.6.25.4-8-default (tty1)
275
276 linux-3r10 login:
277 |--------------------
278
279 You may now login with your "root" user.
280
281
282
283
284 ==== Changing the Hostname and Domain Name ====
285  
286
287 I want to change my hostname, domain name and switch from DHCP to a Static IP address.
288
289 So, the first thing I do, is to run yast (the setup tool) by entering the yast command in the command prompt:
290 |--------------------
291 linux-3r10:~ # yast
292 |--------------------
293
294 Yast should appear.
295
296 On the listbox of the left hand side select "Network Devices" (press TAB to turn focus on that listbox, and press the down arrow key several times to reach it). Then, on the listbox of the right hand side, select "Network Settings" (you'll have again to press TAB to turn focus on that listbox, and press the down arrow key several times to reach it).
297
298 Press the ENTER key.
299
300
301 === "Initializing Network Configuration" screen ===
302
303
304 [just watch it...]
305
306 === "Network Settings" screen ===
307
308
309 I want to disable IPv6, so I first go to the "Global Options" section (by pushing the key combination ALT+G to press the "G" letter in Global Options that is highlighted). In the next screen, I push ALT+E to uncheck the "Enable IPv6" checkbox. I'll get a dialog box with a Warning saying that "To apply this change a reboot is needed.". I just press ENTER on that dialog box, but I do NOT reboot (at least not yet). 
310
311 Then I press Alt+O to go to the "Overview" (still in "Network Settings"). Then I press ALT+i to "Edit" the information for this Network Card.
312
313 === "Network Card Setup" screen ===
314
315
316 I check the "Statically assigned IP Address" checkbox, and enter the following info for "IP Address", "Subnet Mask" and "Hostname" (you should use the values defined by your network administrator):
317
318 IP Address: 192.168.0.2
319 Subnet Mask: 255.255.255.0
320 Hostname: myhost
321
322 Then I press ALT+N to click the "Next" button. After a few seconds, I will be taken again to the "Network Settings" screen.
323
324
325 === "Network Settings" screen ===
326
327
328 I press ALT+s to go to the "Hostname/DNS" screen.
329
330 I check the "Change /etc/resolv.conf manually" checkbox and enter the IP Address of my DNS Server in the "Name Server 1" text box:
331
332
333 Name Server 1: 192.168.0.1
334
335 Then I press ALT+u to go to the "Routing" configuration.
336
337 === "Routing" screen ===
338
339
340 In the "Default Gateway" text box, I enter the IP Address of my Default Gateway:
341
342 Default Gateway: 192.168.0.1
343
344 Then I press ALT+F to Finish
345
346
347
348 === "Saving Network Configuration" screen ===
349
350
351 [just watch it...]
352
353
354 After a few seconds, you should be taken back to the "YaST2 Control Center" screen.
355
356
357
358
359 ==== Enabling access to SSH (Secure Shell) and Apache2 (Web Server) ====
360
361 I want to administer remotely this server with a SSH (Secure Shell) client. So, while still in the "YaST2 Control Center, I will enable SSH in the Firewall (running by default). In the listbox of the left hand side, I select "Security and Users" and then, on the listbox of the right side, I select "Firewall" (first option) and press the ENTER key.
362
363 === "yast2 - firewall" screen ===
364
365 In the list box of the left side, I select "Allowed Services" and press ENTER.
366
367 Then, on the "Service to Allow" dropdown list (on the right side), I leave the "Apache 2" option selected and press "ALt+A" to add it. After adding Apache, I'll press "Alt+S" to see the available services to add. Then, I use the down key in that list until I see "Secure Shell Server" and press ENTER to select it. This will close that list and put "Secure Shell Server" as the selected option. I'll press Alt+A again to add it.
368
369 Then I click on ALT+N click on the "Next" button.
370
371
372 === "Firewall Configuration: Summary" screen ===
373
374
375 Click on the "Finish" button.
376
377 When you get sent back to the "YaST2 Control Center" screen, press ALT+Q to Quit Yast.
378
379
380 This time seems to be a good time to reboot your server:
381 |--------------------
382 linux-3r10:~ # reboot
383 |--------------------
384 After rebooting the machine, if you wish, you may go to another machine and connect to your newly created server using a SSH (Secure Shell) client. In Windows, I like to use putty to do ssh sessions to my Linux servers.
385
386
387 ==== Configure Software Repositories ===
388
389 After the system has rebooted, log in as root.
390
391 Later on, you will need to add some software packages from the openSUSE 11 Distribution. Some of those packages are NOT available in the openSUSE 11.0 DVD (libyaz-devel is one of those packages). So, we'll now set up openSUSE to add the "Official openSUSE 11.0 OSS (Open Source Software) Repository" using yast.
392
393 First, run the yast command in the Linux command line (shell):
394
395 |--------------------
396 # yast
397 |--------------------
398
399 Inside yast, select Software -> Software Repositories
400
401
402 === "Configured Software Repositories" screen ===
403
404 If on this screen, you already see a table that has: 
405
406   * as configured repositories (in the "Name" column) - "openSUSE-DVD 11.0", "openSUSE-11.0-Non.Oss", "openSUSE-11.0-Debug" and "openSUSE-11.0-Oss" ... 
407   * ... and, at least "openSUSE-DVD 11.0" and "openSUSE-11.0-Oss" have an "x" in the "Enabled" column ... 
408   * ... then you may leave yast, as the required repositories have already been configured.
409
410 If not, you'll have to add the "openSUSE-11.0-Oss" repository. Click on the "Add" button.
411
412 === "Media type" screen ===
413
414
415 Click on the Specify URL... radio button.
416
417 Click on the "Next" button.
418
419
420 === "Repository URL" screen ===
421
422
423 In the "Repository Name" textbox enter some descriptive text like:
424 openSUSE 11.0 Official OSS Repository
425
426 In the "URL" textbox enter:
427 http://download.opensuse.org/distribution/11.0/repo/oss/
428
429
430 Click on the "Next" button.
431
432
433 === "License Agreement" screen ===
434
435
436 Check the "Yes, I Agree to the License Agreement" radio button.
437
438 Click on the "Next" button to return to the "Configured Software Repositories" screen.
439
440
441 === "Configured Software Repositories" screen ===
442
443
444 You should see now the "openSUSE 11 Official OSS Repository" listed as an entry.
445
446 Click on the "Finish" button.
447
448 When you get sent back to the "Yast Control Center" click on the "Quit" button (to return to the shell).
449
450
451 ==== Install some useful / necessary programs ===
452
453 By this time, I'll install some of the programs I regularly use, by using yast:
454
455
456   * To install locate:
457 |--------------------
458 # yast -i findutils-locate
459 |--------------------
460 A YaST screen may appear saying:
461 |--------------------
462 Starting the Package Manager.
463 |--------------------
464 If that screen appears, it will download some information from http://download.opensuse.org (and set several Software Repositories "behind the scenes)
465
466
467   * To install ncftp (command-line ftp client):
468 |--------------------
469 # yast -i ncftp
470 |--------------------
471
472
473 Install some packages that are needed to install Koha:
474
475   * To install make :
476 |--------------------
477 # yast -i make
478 |--------------------
479
480   * To install gcc :
481 |--------------------
482 # yast -i gcc
483 |--------------------
484 (this will also install some packages that gcc depend on, like glibc-devel).
485
486
487 ==== Download Koha ====
488
489 |--------------------
490 # wget http://download.koha.org/koha-3.00.00-stableRC1.tar.gz
491 |--------------------
492
493 [FIXME: Check what will be the exact URL of the .tar.gz file for Koha 3.0 Final] 
494
495
496 ==== Extract Koha ====
497
498 |--------------------
499 # tar -xzvf koha-3.00.00.tar.gz
500 |--------------------
501
502
503 ==== Set up Locale for root user ====
504
505 If you run the locale command, you'll probably get this output:
506 |--------------------
507 # locale
508 LANG=POSIX
509 LC_CTYPE=en_US.UTF-8
510 LC_NUMERIC="POSIX"
511 LC_TIME="POSIX"
512 LC_COLLATE="POSIX"
513 LC_MONETARY="POSIX"
514 LC_MESSAGES="POSIX"
515 LC_PAPER="POSIX"
516 LC_NAME="POSIX"
517 LC_ADDRESS="POSIX"
518 LC_TELEPHONE="POSIX"
519 LC_MEASUREMENT="POSIX"
520 LC_IDENTIFICATION="POSIX"
521 LC_ALL=
522 |--------------------
523
524 We want to have en_US.UTF-8 in all LC_* variables. So, we'll do the following:
525 |--------------------
526 # yast
527 |--------------------
528 System -> Language
529
530 The "Languages" screen should appear. 
531
532 In the first section (Primary Language Settings):
533
534 Leave "English (US)" selected as the option for Primary Language
535
536
537 Click on the "Details..." link
538
539 Change the Locale Settings for user root from the default option ("ctype Only") to "Yes"
540
541 Make sure the "Use UTF-8 Encoding" checkbox is checked (it should already be).
542
543 Leave the "Detailed Locale Setting" en_US selected
544
545 Click on the OK button to return to the "Languages" screen
546
547 Click on the "Accept" button.
548
549
550
551 When you get back to the "Yast2 Control Center" screen, click on the "Quit" button
552
553
554
555 ==== Putty configuration to use Unicode (UTF-8 encoding) ====
556
557 If you use Putty, set up Putty to use UTF-8 encoding. To do this, click on the upper left corner of the PuTTy window, 
558 to expand the menu. Scroll down until you find the "Change Settings..." command and click on it.
559
560 This should open the "PuTTy Reconfiguration" screen. Here expand the "Window" category and click on "Translation"
561
562 When you do this, you'll see that the "Received data assumed to be in which character set" dropdown list probably reads:
563
564 "ISO-8859-1:1998 (Latin-1, West Europe)
565
566 change it to: "UTF-8"
567
568 Click on the "Apply" button
569
570
571 Now, it's a good time to SAVE this PuTTy session. To do this, click again on the upper left corner of the PuTTy window, to expand the menu, and click on the "Change Settings..." command like you did before.
572
573 This should open the "PuTTy Reconfiguration" screen. Go to the right hand side of that screen and type a name in the "Saved Sessions" textbox (e.g: koha). Then click on the "Save" button and, after doing that, click on the "Apply" button.
574
575
576 IMPORTANT!!! Now it's the time to EXIT the login shell, by typing the exit command:
577 |--------------------
578 # exit
579 |--------------------
580
581 Now you'll reopen PuTTy, but when you do that, open the Saved Session that you have created in order to use the "UTF-8" configuration you have done.
582
583
584 After logging in again with the root user, type the locale command again. Now it should read like the following:
585
586 |--------------------
587 # locale
588 LANG=en_US.UTF-8
589 LC_CTYPE="en_US.UTF-8"
590 LC_NUMERIC="en_US.UTF-8"
591 LC_TIME="en_US.UTF-8"
592 LC_COLLATE="en_US.UTF-8"
593 LC_MONETARY="en_US.UTF-8"
594 LC_MESSAGES="en_US.UTF-8"
595 LC_PAPER="en_US.UTF-8"
596 LC_NAME="en_US.UTF-8"
597 LC_ADDRESS="en_US.UTF-8"
598 LC_TELEPHONE="en_US.UTF-8"
599 LC_MEASUREMENT="en_US.UTF-8"
600 LC_IDENTIFICATION="en_US.UTF-8"
601 LC_ALL=
602 |--------------------
603
604
605 ==== Apache configuration (for UTF-8) ====
606
607 Create a file called /etc/apache2/httpd.conf.local with vim (or your preferred text editor):
608 |--------------------
609 myhost:~ # vim /etc/apache2/httpd.conf.local
610 |--------------------
611 Add this line:
612 |--------------------
613 AddDefaultCharset UTF-8
614 |--------------------
615
616
617 ==== Configure Apache to start at boot time and start the service ====
618 |--------------------
619 # chkconfig apache2 on
620
621 # service apache2 start
622 Starting httpd2 (prefork)                                            done
623 |--------------------
624
625 Go to a browser and type:
626
627 http://192.168.0.2
628
629 You should see a page that reads:
630
631 "It works!"
632
633
634
635 ==== MySQL configuration ====
636
637 1 - Configure MySQL to start at boot time and start the service:
638 |--------------------
639 # chkconfig mysql on
640
641 # service mysql start
642 |--------------------
643
644 2 - Change the password for the "root" user of MySQL:
645 |--------------------
646 # /usr/bin/mysqladmin -u root password 'chosenpassword'
647 |--------------------
648
649 3 - Check the encoding variables of MySQL
650
651 To check the encoding variables of MySQL, will type the 
652 show variables like 'char%'; command in a mysql prompt:
653 |--------------------
654 # mysql -p
655 Enter password:
656 Welcome to the MySQL monitor.  Commands end with ; or \g.
657 Your MySQL connection id is 7
658 Server version: 5.0.51a SUSE MySQL RPM
659
660
661 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
662
663 mysql> show variables like 'char%';
664 +--------------------------+----------------------------+
665 | Variable_name            | Value                      |
666 +--------------------------+----------------------------+
667 | character_set_client     | latin1                     |
668 | character_set_connection | latin1                     |
669 | character_set_database   | latin1                     |
670 | character_set_filesystem | binary                     |
671 | character_set_results    | latin1                     |
672 | character_set_server     | latin1                     |
673 | character_set_system     | utf8                       |
674 | character_sets_dir       | /usr/share/mysql/charsets/ |
675 +--------------------------+----------------------------+
676 8 rows in set (0.00 sec)
677
678 mysql> quit
679 Bye
680 |--------------------
681
682 We want to have utf8 in the above character_set_* variables above (and NOT latin1)!
683
684 In order to do this:
685
686 1 - Create a backup of the MySQL configuration file (my.cnf):
687 |--------------------
688 # cd /etc
689 myhost:/etc # cp my.cnf my.cnf.ORIG
690 |--------------------
691
692 2 - Use vim to add these 3 lines in the section [mysqld] of the my.cnf file:
693 |--------------------
694 default-character-set = utf8
695 character-set-server = utf8
696 skip-character-set-client-handshake
697 |--------------------
698
699 3 - Restart MySQL:
700 |--------------------
701 myhost:/etc # service mysql restart
702 Restarting service MySQL
703 Shutting down service MySQL                                           done
704 Starting service MySQL                                                done
705 |--------------------
706
707 Now, let's type again the show variables like 'char%' mysql command to see if 
708 the character_set_variables have changed from latin1 to utf8 (character_set_filesystem 
709 will still read "binary" but I think that's OK:
710 |--------------------
711 myhost:/etc # mysql -p
712 Enter password:
713 Welcome to the MySQL monitor.  Commands end with ; or \g.
714 Your MySQL connection id is 1
715 Server version: 5.0.51a SUSE MySQL RPM
716
717
718 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
719
720 mysql> show variables like 'char%';
721 +--------------------------+----------------------------+
722 | Variable_name            | Value                      |
723 +--------------------------+----------------------------+
724 | character_set_client     | utf8                       |
725 | character_set_connection | utf8                       |
726 | character_set_database   | utf8                       |
727 | character_set_filesystem | binary                     |
728 | character_set_results    | utf8                       |
729 | character_set_server     | utf8                       |
730 | character_set_system     | utf8                       |
731 | character_sets_dir       | /usr/share/mysql/charsets/ |
732 +--------------------------+----------------------------+
733 8 rows in set (0.01 sec)
734
735 mysql> quit
736 Bye
737 |--------------------
738
739 ==== Create the Koha database ====
740
741 === Create the koha database and user with associated privileges ===
742 |--------------------
743 # mysqladmin -uroot create koha -p 
744 |--------------------
745 (you may name the koha database something different from koha)
746
747
748 === Grant privileges to a MySQL user to the koha database === 
749
750 Assuming that you want to have a MySQL user called "kohaadmin" to administer a database called "koha" with the password "kohapassword", you'd enter this:
751 |--------------------
752 myhost:~ # mysql -p
753 Enter password:
754 Welcome to the MySQL monitor.  Commands end with ; or \g.
755 Your MySQL connection id is 3
756 Server version: 5.0.51a SUSE MySQL RPM
757
758 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
759
760 mysql> grant all on koha.* to 'kohaadmin'@'localhost' identified by 'kohapassword';
761 Query OK, 0 rows affected (0.00 sec)
762
763 mysql> flush privileges;
764 Query OK, 0 rows affected (0.08 sec)
765
766 mysql> quit
767 Bye
768 |--------------------
769
770
771 ==== Test your SAX Parser and correct where necessary ====
772
773
774   * Install the XML::SAX and XML::LibXML perl Modules:
775 |--------------------
776 # yast -i perl-XML-SAX 
777
778 # yast -i perl-XML-LibXML
779 |--------------------
780
781 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 by running:
782 |--------------------
783 # cd /root/koha-3.00.00/
784
785 myhost:~/koha-3.00.00 # misc/sax_parser_print.pl 
786 |--------------------
787
788 You will probably see this:
789 |--------------------
790 XML::SAX::PurePerl=HASH(0x8356a4c)
791 |--------------------
792
793 If you're using PurePerl (you probably are) or Expat, you'll need to edit your ParserDetails.ini file to use the LibXML Parser. 
794 To find the ParserDetails.ini file, you may use locate. To do this, first update the locate database by running the updatedb command:
795 |--------------------
796 # updatedb
797 |--------------------
798
799 Then find ParserDetails.ini using locate:
800 |--------------------
801 # locate ParserDetails.ini
802 /usr/lib/perl5/vendor_perl/5.10.0/XML/SAX/ParserDetails.ini
803 |--------------------
804
805 OK. So, let's first do a backup of this ini file:
806 |--------------------
807  # cd /usr/lib/perl5/vendor_perl/5.10.0/XML/SAX/
808
809 myhost:/usr/lib/perl5/vendor_perl/5.10.0/XML/SAX # cp ParserDetails.ini ParserDetails.ini.ORIG
810 |--------------------
811
812 Edit this ParserDetails.ini file (with vim or other editor)
813
814 See if the first line contains this:
815 |--------------------
816 [XML::SAX::PurePerl]
817 |--------------------
818 If it does, replace this first line by the following:
819 |--------------------
820 [XML::LibXML::SAX::Parser]
821 |--------------------
822
823 Run the /root/koha-3.00.00/misc/sax_parser_print.pl command again. This time, you should get the following output:
824 |--------------------
825 XML::LibXML::SAX::Parser=HASH(0x8356e0c)
826 |--------------------
827
828
829
830
831
832 ==== Run Koha's perl installer ====
833 |--------------------
834 myhost:/usr/lib/perl5/vendor_perl/5.10.0/XML/SAX # cd /root/koha-3.00.00
835 |--------------------
836 We will now run perl Makefile.PL to run the installer. 
837
838 My installation is a UNIMARC installation, so I'm answering unimarc to the "MARC format for Zebra indexing (marc21, unimarc) [marc21]" question below. If your Library uses the MARC21 format instead of UNIMARC, you should press ENTER to accept the default (which is marc21). 
839
840 Because my bibliographic catalog will have mainly records in Portuguese, and Portuguese is more similar to French than to English, I'm answering "fr" (French) to the "Primary language for Zebra indexing (en, fr) [en]" question below.
841
842 Although I'm NOT using Zebra, I'm answering "yes" (the default choice) to the "Install the Zebra configuration files? (no, yes) [yes]" so I can set up Zebra later, if I decide to.
843
844 OK. So here's the result of running the  perl Makefile.PL  command (including my answers to the several questions):
845
846 |--------------------
847 myhost:~/koha-3.00.00 # perl Makefile.PL
848
849 By default, Koha can be installed in one of three ways:
850
851 standard: Install files in conformance with the Filesystem
852           Hierarchy Standard (FHS).  This is the default mode
853           and should be used when installing a production
854           Koha system.  On Unix systems, root access is
855           needed to complete a standard installation.
856
857 single:   Install files under a single directory.  This option
858           is useful for installing Koha without root access, e.g.,
859           on a web host that allows CGI scripts and MySQL databases
860           but requires the user to keep all files under the user's
861           HOME directory.
862
863 dev:      Create a set of symbolic links and configuration files to
864           allow Koha to run directly from the source distribution.
865           This mode is useful for developers who want to run
866           Koha from a git clone.
867
868 Installation mode (dev, single, standard) [standard]
869
870 Please specify the directory under which most Koha files
871 will be installed.
872
873 Note that if you are planning in installing more than
874 one instance of Koha, you may want to modify the last
875 component of the directory path, which will be used
876 as the package name in the FHS layout.
877
878 Base installation directory [/usr/share/koha]
879
880 Since you are using the 'standard' install
881 mode, you should run 'make install' as root.
882 However, it is recommended that a non-root
883 user (on Unix and Linux platforms) have
884 ownership of Koha's files, including the
885 Zebra indexes if applicable.
886
887 Please specify a user account.  This
888 user account does not need to exist
889 right now, but it needs to exist
890 before you run 'make install'.  Please
891 note that for security reasons, this
892 user should not be the same as the user
893 account Apache runs under.
894
895 User account [koha]
896
897 Please specify the group that should own
898 Koha's files.  As above, this group need
899 not exist right now, but should be created
900 before you run 'make install'.
901
902 Group [koha]
903
904 Please specify which database engine you will use
905 to store data in Koha.  The choices are MySQL and
906 PostgreSQL; please note that at the moment
907 PostgreSQL support is highly experimental.
908
909 DBMS to use (Pg, mysql) [mysql]
910
911 Please specify the name or address of your
912 database server.  Note that the database
913 does not have to exist at this point, it
914 can be created after running 'make install'
915 and before you try using Koha for the first time.
916
917 Database server [localhost]
918
919 Please specify the port used to connect to the
920 DMBS [3306]
921
922 Please specify the name of the database to be
923 used by Koha [koha]
924
925 Please specify the user that owns the database to be
926 used by Koha [kohaadmin]
927
928 Please specify the password of the user that owns the
929 database to be used by Koha [katikoan] kohapassword
930
931 Koha can use the Zebra search engine for high-performance
932 searching of bibliographic and authority records.  If you
933 have installed the Zebra software and would like to use it,
934 please answer 'yes' to the following question.  Otherwise,
935 Koha will default to using its internal search engine.
936
937 Please note that if you choose *NOT* to install Zebra,
938 koha-conf.xml will still contain some references to Zebra
939 settings.  Those references will be ignored by Koha.
940
941 Install the Zebra configuration files? (no, yes) [yes]
942
943 Unable to find the Zebra programs 'zebrasrv' and 'zebraidx'
944 in your PATH or in some of the usual places.  If you haven't
945 installed Zebra yet, please do so and run Makefile.PL again.
946
947
948 Since you've chosen to use Zebra with Koha,
949 you must specify the primary MARC format of the
950 records to be indexed by Zebra.
951
952 Koha provides Zebra configuration files for MARC 21
953 and UNIMARC.
954
955 MARC format for Zebra indexing (marc21, unimarc) [marc21] unimarc
956
957 Koha supplies Zebra configuration files tuned for
958 searching either English (en) or French (fr) MARC
959 records.
960
961 Primary language for Zebra indexing (en, fr) [en] fr
962
963 Koha can use one of  two different indexing modes
964 for the MARC authorities records:
965
966 grs1 - uses the Zebra GRS-1 filter, available
967        for legacy support
968 dom  - uses the DOM XML filter; offers improved
969        functionality.
970
971 Authorities indexing mode (dom, grs1) [grs1] dom
972
973 Please specify Zebra database user [kohauser]
974
975 Please specify the Zebra database password [zebrastripes] zebrapassword
976
977 Since you've chosen to use Zebra, you can enable the SRU/
978 Z39.50 Server if you so choose, but you must specify a
979 few configuration options for it.
980
981 Please note that if you choose *NOT* to configure SRU,
982 koha-conf.xml will still contain some references to SRU
983 settings.  Those references will be ignored by Koha.
984
985 Install the SRU configuration files? (no, yes) [yes] no
986
987 Since you've chosen to use Zebra, you can also choose to
988 install PazPar2, which is a metasearch tool.  With PazPar2,
989 Koha can perform on-the-fly merging of bibliographic
990 records during searching, allowing for FRBRization of
991 the results list.
992
993 Install the PazPar2 configuration files? [no] no
994
995 Would you like to run the database-dependent test suite? (no, yes) [no]
996
997
998
999
1000 Koha will be installed with the following configuration parameters:
1001
1002 AUTH_INDEX_MODE          dom
1003 DB_HOST                  localhost
1004 DB_NAME                  koha
1005 DB_PASS                  kohapassword
1006 DB_PORT                  3306
1007 DB_TYPE                  mysql
1008 DB_USER                  kohaadmin
1009 INSTALL_BASE             /usr/share/koha
1010 INSTALL_MODE             standard
1011 INSTALL_PAZPAR2          no
1012 INSTALL_SRU              no
1013 INSTALL_ZEBRA            yes
1014 KOHA_GROUP               koha
1015 KOHA_INSTALLED_VERSION   3.00.00.096
1016 KOHA_USER                koha
1017 RUN_DATABASE_TESTS       no
1018 ZEBRA_LANGUAGE           fr
1019 ZEBRA_MARC_FORMAT        unimarc
1020 ZEBRA_PASS               zebrapassword
1021 ZEBRA_USER               kohauser
1022
1023 and in the following directories:
1024
1025 DOC_DIR                  /usr/share/koha/doc
1026 INTRANET_CGI_DIR         /usr/share/koha/intranet/cgi-bin
1027 INTRANET_TMPL_DIR        /usr/share/koha/intranet/htdocs/intranet-tmpl
1028 INTRANET_WWW_DIR         /usr/share/koha/intranet/htdocs
1029 KOHA_CONF_DIR            /etc/koha
1030 LOG_DIR                  /var/log/koha
1031 MAN_DIR                  /usr/share/koha/man
1032 MISC_DIR                 /usr/share/koha/misc
1033 OPAC_CGI_DIR             /usr/share/koha/opac/cgi-bin
1034 OPAC_TMPL_DIR            /usr/share/koha/opac/htdocs/opac-tmpl
1035 OPAC_WWW_DIR             /usr/share/koha/opac/htdocs
1036 PAZPAR2_CONF_DIR         /etc/koha/pazpar2
1037 PERL_MODULE_DIR          /usr/share/koha/lib
1038 SCRIPT_DIR               /usr/share/koha/bin
1039 SCRIPT_NONDEV_DIR        /usr/share/koha/bin
1040 ZEBRA_CONF_DIR           /etc/koha/zebradb
1041 ZEBRA_DATA_DIR           /var/lib/koha/zebradb
1042 ZEBRA_LOCK_DIR           /var/lock/koha/zebradb
1043 ZEBRA_RUN_DIR            /var/run/koha/zebradb
1044
1045
1046 To change any configuration setting, please run
1047 perl Makefile.PL again.  To override one of the target
1048 directories, you can do so on the command line like this:
1049
1050 perl Makefile.PL PERL_MODULE_DIR=/usr/share/perl/5.8
1051
1052 You can also set different default values for parameters
1053 or override directory locations by using environment variables.
1054
1055 For example:
1056
1057 export DB_USER=my_koha
1058 perl Makefile.PL
1059
1060 or
1061
1062 DB_USER=my_koha DOC_DIR=/usr/local/info perl Makefile.PL
1063
1064 If installing on a Win32 platform, be sure to use:
1065 'dmake -x MAXLINELENGTH=300000'
1066
1067 Warning: prerequisite Algorithm::CheckDigits 0.5 not found.
1068 Warning: prerequisite Biblio::EndnoteStyle 0.05 not found.
1069 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite CGI::Session 4.10 not found.
1070 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite Class::Accessor 0.3 not found.
1071 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite Class::Factory::Util 1.6 not found.
1072 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite DBD::mysql 4.004 not found.
1073 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite Data::ICal 0.13 not found.
1074 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite Date::Calc 5.4 not found.
1075 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite Date::ICal 1.72 not found.
1076 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite Date::Manip 5.44 not found.
1077 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite GD::Barcode::UPCE 1.1 not found.
1078 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite HTML::Scrubber 0.08 not found.
1079 [Tue Jul  8 00:41:15 2008] Makefile.PL: Warning: prerequisite HTML::Template::Pro 0.69 not found.
1080 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Image::Magick 6.2 not found.
1081 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Lingua::Stem 0.82 not found.
1082 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite List::MoreUtils 0.21 not found.
1083 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite MARC::Charset 0.98 not found.
1084 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite MARC::Crosswalk::DublinCore 0.02 not found.
1085 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite MARC::File::XML 0.88 not found.
1086 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite MARC::Record 2 not found.
1087 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Mail::Sendmail 0.79 not found.
1088 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Net::LDAP 0.33 not found.
1089 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Net::LDAP::Filter 0.14 not found.
1090 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Net::Z3950::ZOOM 1.16 not found.
1091 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite PDF::API2 2 not found.
1092 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite PDF::API2::Page 2 not found.
1093 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite PDF::API2::Util 2 not found.
1094 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite PDF::Reuse 0.33 not found.
1095 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite PDF::Reuse::Barcode 0.05 not found.
1096 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite POE 0.9999 not found.
1097 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite SMS::Send 0.05 not found.
1098 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Schedule::At 1.06 not found.
1099 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Text::CSV 0.01 not found.
1100 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Text::CSV_XS 0.32 not found.
1101 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite Text::Iconv 1.7 not found.
1102 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite XML::Dumper 0.81 not found.
1103 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite XML::LibXSLT 1.59 not found.
1104 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite XML::RSS 1.31 not found.
1105 [Tue Jul  8 00:41:16 2008] Makefile.PL: Warning: prerequisite YAML::Syck 0.71 not found.
1106 Writing Makefile for koha
1107
1108
1109 myhost:~/koha-3.00.00 #
1110 |--------------------
1111
1112 OK... Lots of missing dependencies (Perl Modules). Let's build some of these modules in CPAN to fix this:
1113
1114
1115 ==== CPAN Configuration ====
1116 If you don't already know, "CPAN is the Comprehensive Perl Archive Network, a large collection of Perl software and documentation". For additional info, you may browse the official CPAN web site is at http://www.cpan.org/
1117
1118 Enter the "cpan" command to configure CPAN:
1119 |--------------------
1120 myhost:~/koha-3.00.00 # cpan
1121
1122
1123 CPAN is the world-wide archive of perl resources. It consists of about
1124 300 sites that all replicate the same contents around the globe. Many
1125 countries have at least one CPAN site already. The resources found on
1126 CPAN are easily accessible with the CPAN.pm module. If you want to use
1127 CPAN.pm, lots of things have to be configured. Fortunately, most of
1128 them can be determined automatically. If you prefer the automatic
1129 configuration, answer 'yes' below.
1130
1131 If you prefer to enter a dialog instead, you can answer 'no' to this
1132 question and I'll let you configure in small steps one thing after the
1133 other. (Note: you can revisit this dialog anytime later by typing 'o
1134 conf init' at the cpan prompt.)
1135 Would you like me to configure as much as possible automatically? [yes]
1136 |--------------------
1137
1138 [Just press ENTER here to set all CPAN settings to the default values. 
1139 After doing this CPAN will scroll lots of messages with questions that 
1140 it will automatically answer]
1141
1142 [Let's now set up CPAN for Internet access to enable it to download packages. 
1143 Because I live in Portugal, I'm choosing Portuguese mirrors here. Choose the 
1144 mirrors that are nearer to you:]
1145
1146 |--------------------
1147 cpan[2]> o conf init urllist
1148 You have no /root/.cpan/sources/MIRRORED.BY
1149   I'm trying to fetch one
1150 CPAN: LWP::UserAgent loaded ok (v5.810)
1151
1152 I would like to connect to one of the following sites to get 'MIRRORED.BY':
1153
1154  http://www.perl.org/CPAN/
1155  ftp://ftp.perl.org/pub/CPAN/
1156
1157 Is it OK to try to connect to the Internet? [yes]
1158 Fetching with LWP:
1159   http://www.perl.org/CPAN/MIRRORED.BY
1160
1161
1162 Now we need to know where your favorite CPAN sites are located. Push
1163 a few sites onto the array (just in case the first on the array won't
1164 work). If you are mirroring CPAN to your local workstation, specify a
1165 file: URL.
1166
1167 First, pick a nearby continent and country by typing in the number(s)
1168 in front of the item(s) you want to select. You can pick several of
1169 each, separated by spaces. Then, you will be presented with a list of
1170 URLs of CPAN mirrors in the countries you selected, along with
1171 previously selected URLs. Select some of those URLs, or just keep the
1172 old list. Finally, you will be prompted for any extra URLs -- file:,
1173 ftp:, or http: -- that host a CPAN mirror.
1174
1175 (1) Africa
1176 (2) Asia
1177 (3) Central America
1178 (4) Europe
1179 (5) North America
1180 (6) Oceania
1181 (7) South America
1182 Select your continent (or several nearby continents) [] 4
1183
1184 (1) Austria
1185 (2) Belgium
1186 (3) Bosnia and Herzegovina
1187 (4) Bulgaria
1188 (5) Croatia
1189 (6) Czech Republic
1190 (7) Denmark
1191 (8) Finland
1192 (9) France
1193 (10) Germany
1194 (11) Greece
1195 (12) Hungary
1196 (13) Iceland
1197 (14) Ireland
1198 (15) Italy
1199 (16) Latvia
1200 15 more items, hit RETURN to show them
1201 Select your country (or several nearby countries) []
1202 Sorry! since you don't have any existing picks, you must make a
1203 geographic selection.
1204
1205 (17) Lithuania
1206 (18) Malta
1207 (19) Netherlands
1208 (20) Norway
1209 (21) Poland
1210 (22) Portugal
1211 (23) Romania
1212 (24) Russia
1213 (25) Slovakia
1214 (26) Slovenia
1215 (27) Spain
1216 (28) Sweden
1217 (29) Switzerland
1218 (30) Ukraine
1219 (31) United Kingdom
1220 Select your country (or several nearby countries) [] 22
1221
1222 (1) ftp://cpan.ip.pt/pub/cpan/
1223 (2) ftp://ftp.dei.uc.pt/pub/CPAN
1224 (3) ftp://ftp.isr.ist.utl.pt/pub/CPAN/
1225 (4) ftp://ftp.nfsi.pt/pub/cpan/
1226 (5) ftp://neacm.fe.up.pt/pub/CPAN/
1227 (6) ftp://perl.di.uminho.pt/pub/CPAN/
1228 (7) http://cpan.dcc.fc.up.pt/
1229 Select as many URLs as you like (by number),
1230 put them on one line, separated by blanks, hyphenated ranges allowed
1231  e.g. '1 4 5' or '7 1-4 8' [] 3 2 6 4 5 7 1
1232
1233 Enter another URL or RETURN to quit: []
1234 New set of picks:
1235   ftp://ftp.isr.ist.utl.pt/pub/CPAN/
1236   ftp://ftp.dei.uc.pt/pub/CPAN
1237   ftp://perl.di.uminho.pt/pub/CPAN/
1238   ftp://ftp.nfsi.pt/pub/cpan/
1239   ftp://neacm.fe.up.pt/pub/CPAN/
1240   http://cpan.dcc.fc.up.pt/
1241   ftp://cpan.ip.pt/pub/cpan/
1242
1243
1244 Please remember to call 'o conf commit' to make the config permanent!
1245
1246
1247 cpan[3]> o conf commit
1248 commit: wrote '/usr/lib/perl5/5.10.0/CPAN/Config.pm'
1249
1250 cpan[4]> quit
1251 Lockfile removed.
1252 |--------------------
1253
1254 ==== Installing Prerequisite Modules ====
1255 |--------------------
1256 myhost:~/koha-3.00.00 # cpan
1257 CPAN: File::HomeDir loaded ok (v0.69)
1258
1259 cpan shell -- CPAN exploration and modules installation (v1.9205)
1260 ReadLine support enabled
1261 |--------------------
1262
1263 === Install Algorithm::CheckDigits ===
1264 [Let's install the first package called "Algorithm::CheckDigits". Here I will leave the complete output. For the next installations, I will only show the prompts for dependencies and snip out the remaining output]:
1265 |--------------------
1266 cpan[1]> install Algorithm::CheckDigits
1267 CPAN: Storable loaded ok (v2.18)
1268 CPAN: LWP::UserAgent loaded ok (v5.810)
1269 CPAN: Time::HiRes loaded ok (v1.9711)
1270 Fetching with LWP:
1271   ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/01mailrc.txt.gz
1272 Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
1273 CPAN: Compress::Zlib loaded ok (v2.008)
1274 ............................................................................DONE
1275 Fetching with LWP:
1276   ftp://ftp.isr.ist.utl.pt/pub/CPAN/modules/02packages.details.txt.gz
1277 Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
1278   Database was generated on Mon, 07 Jul 2008 04:02:45 GMT
1279 ............................................................................DONE
1280 Fetching with LWP:
1281   ftp://ftp.isr.ist.utl.pt/pub/CPAN/modules/03modlist.data.gz
1282 Going to read /root/.cpan/sources/modules/03modlist.data.gz
1283 ............................................................................DONE
1284 Going to write /root/.cpan/Metadata
1285 Running install for module 'Algorithm::CheckDigits'
1286 CPAN: Data::Dumper loaded ok (v2.121_14)
1287 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
1288 Running make for M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
1289 Fetching with LWP:
1290   ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/id/M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
1291 CPAN: Digest::SHA loaded ok (v5.45)
1292 Fetching with LWP:
1293   ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/id/M/MA/MAMAWE/CHECKSUMS
1294 Checksum for /root/.cpan/sources/authors/id/M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz ok
1295 Scanning cache /root/.cpan/build for sizes
1296 DONE
1297 Algorithm-CheckDigits-0.50/
1298 Algorithm-CheckDigits-0.50/t/
1299 Algorithm-CheckDigits-0.50/t/valid.data
1300 Algorithm-CheckDigits-0.50/t/valid.t
1301 Algorithm-CheckDigits-0.50/t/iban.t
1302 Algorithm-CheckDigits-0.50/t/isbn13.t
1303 Algorithm-CheckDigits-0.50/t/ecno.t
1304 Algorithm-CheckDigits-0.50/t/upc.t
1305 Algorithm-CheckDigits-0.50/t/imei.t
1306 Algorithm-CheckDigits-0.50/t/pod-coverage.t
1307 Algorithm-CheckDigits-0.50/t/pod.t
1308 Algorithm-CheckDigits-0.50/t/checkdigits.t
1309 Algorithm-CheckDigits-0.50/CheckDigits.pm
1310 Algorithm-CheckDigits-0.50/Changes
1311 Algorithm-CheckDigits-0.50/CheckDigits/
1312 Algorithm-CheckDigits-0.50/CheckDigits/MXX_005.pm
1313 Algorithm-CheckDigits-0.50/CheckDigits/M10_005.pm
1314 Algorithm-CheckDigits-0.50/CheckDigits/MBase_002.pm
1315 Algorithm-CheckDigits-0.50/CheckDigits/M97_001.pm
1316 Algorithm-CheckDigits-0.50/CheckDigits/MBase_003.pm
1317 Algorithm-CheckDigits-0.50/CheckDigits/M10_006.pm
1318 Algorithm-CheckDigits-0.50/CheckDigits/M11_012.pm
1319 Algorithm-CheckDigits-0.50/CheckDigits/M10_010.pm
1320 Algorithm-CheckDigits-0.50/CheckDigits/M11_015.pm
1321 Algorithm-CheckDigits-0.50/CheckDigits/M07_001.pm
1322 Algorithm-CheckDigits-0.50/CheckDigits/M10_002.pm
1323 Algorithm-CheckDigits-0.50/CheckDigits/M11_008.pm
1324 Algorithm-CheckDigits-0.50/CheckDigits/M23_001.pm
1325 Algorithm-CheckDigits-0.50/CheckDigits/MXX_004.pm
1326 Algorithm-CheckDigits-0.50/CheckDigits/M11_001.pm
1327 Algorithm-CheckDigits-0.50/CheckDigits/M11_003.pm
1328 Algorithm-CheckDigits-0.50/CheckDigits/M11_013.pm
1329 Algorithm-CheckDigits-0.50/CheckDigits/M11_009.pm
1330 Algorithm-CheckDigits-0.50/CheckDigits/MXX_002.pm
1331 Algorithm-CheckDigits-0.50/CheckDigits/M10_001.pm
1332 Algorithm-CheckDigits-0.50/CheckDigits/M09_001.pm
1333 Algorithm-CheckDigits-0.50/CheckDigits/M11_006.pm
1334 Algorithm-CheckDigits-0.50/CheckDigits/M16_001.pm
1335 Algorithm-CheckDigits-0.50/CheckDigits/M10_003.pm
1336 Algorithm-CheckDigits-0.50/CheckDigits/M10_008.pm
1337 Algorithm-CheckDigits-0.50/CheckDigits/M11_002.pm
1338 Algorithm-CheckDigits-0.50/CheckDigits/M11_016.pm
1339 Algorithm-CheckDigits-0.50/CheckDigits/MXX_003.pm
1340 Algorithm-CheckDigits-0.50/CheckDigits/M11_011.pm
1341 Algorithm-CheckDigits-0.50/CheckDigits/M23_002.pm
1342 Algorithm-CheckDigits-0.50/CheckDigits/M43_001.pm
1343 Algorithm-CheckDigits-0.50/CheckDigits/M11_017.pm
1344 Algorithm-CheckDigits-0.50/CheckDigits/M11_007.pm
1345 Algorithm-CheckDigits-0.50/CheckDigits/M10_011.pm
1346 Algorithm-CheckDigits-0.50/CheckDigits/MXX_006.pm
1347 Algorithm-CheckDigits-0.50/CheckDigits/M89_001.pm
1348 Algorithm-CheckDigits-0.50/CheckDigits/M10_004.pm
1349 Algorithm-CheckDigits-0.50/CheckDigits/M97_002.pm
1350 Algorithm-CheckDigits-0.50/CheckDigits/M11_004.pm
1351 Algorithm-CheckDigits-0.50/CheckDigits/MBase_001.pm
1352 Algorithm-CheckDigits-0.50/CheckDigits/M11_010.pm
1353 Algorithm-CheckDigits-0.50/CheckDigits/M10_009.pm
1354 Algorithm-CheckDigits-0.50/CheckDigits/MXX_001.pm
1355 Algorithm-CheckDigits-0.50/META.yml
1356 Algorithm-CheckDigits-0.50/.perltidyrc
1357 Algorithm-CheckDigits-0.50/README
1358 Algorithm-CheckDigits-0.50/MANIFEST
1359 Algorithm-CheckDigits-0.50/Makefile.PL
1360 CPAN: File::Temp loaded ok (v0.18)
1361 Warning (usually harmless): 'YAML' not installed, will not store persistent state
1362
1363   CPAN.pm: Going to build M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
1364
1365 Checking if your kit is complete...
1366 Looks good
1367 Writing Makefile for Algorithm::CheckDigits
1368 Could not read '/root/.cpan/build/Algorithm-CheckDigits-0.50-mL1o1L/META.yml'. Falling back to other methods to determine prerequisites
1369 cp CheckDigits/M11_001.pm blib/lib/Algorithm/CheckDigits/M11_001.pm
1370 cp CheckDigits/M11_010.pm blib/lib/Algorithm/CheckDigits/M11_010.pm
1371 cp CheckDigits/M97_002.pm blib/lib/Algorithm/CheckDigits/M97_002.pm
1372 cp CheckDigits/M23_001.pm blib/lib/Algorithm/CheckDigits/M23_001.pm
1373 cp CheckDigits/M97_001.pm blib/lib/Algorithm/CheckDigits/M97_001.pm
1374 cp CheckDigits/M16_001.pm blib/lib/Algorithm/CheckDigits/M16_001.pm
1375 cp CheckDigits/M10_006.pm blib/lib/Algorithm/CheckDigits/M10_006.pm
1376 cp CheckDigits/M11_013.pm blib/lib/Algorithm/CheckDigits/M11_013.pm
1377 cp CheckDigits/M07_001.pm blib/lib/Algorithm/CheckDigits/M07_001.pm
1378 cp CheckDigits/MXX_006.pm blib/lib/Algorithm/CheckDigits/MXX_006.pm
1379 cp CheckDigits/M10_008.pm blib/lib/Algorithm/CheckDigits/M10_008.pm
1380 cp CheckDigits/M11_017.pm blib/lib/Algorithm/CheckDigits/M11_017.pm
1381 cp CheckDigits/M10_003.pm blib/lib/Algorithm/CheckDigits/M10_003.pm
1382 cp CheckDigits/M11_016.pm blib/lib/Algorithm/CheckDigits/M11_016.pm
1383 cp CheckDigits/M11_003.pm blib/lib/Algorithm/CheckDigits/M11_003.pm
1384 cp CheckDigits/MXX_002.pm blib/lib/Algorithm/CheckDigits/MXX_002.pm
1385 cp CheckDigits/M10_001.pm blib/lib/Algorithm/CheckDigits/M10_001.pm
1386 cp CheckDigits/M10_004.pm blib/lib/Algorithm/CheckDigits/M10_004.pm
1387 cp CheckDigits/MXX_004.pm blib/lib/Algorithm/CheckDigits/MXX_004.pm
1388 cp CheckDigits/MBase_003.pm blib/lib/Algorithm/CheckDigits/MBase_003.pm
1389 cp CheckDigits/M43_001.pm blib/lib/Algorithm/CheckDigits/M43_001.pm
1390 cp CheckDigits/M10_005.pm blib/lib/Algorithm/CheckDigits/M10_005.pm
1391 cp CheckDigits/MXX_005.pm blib/lib/Algorithm/CheckDigits/MXX_005.pm
1392 cp CheckDigits/M11_006.pm blib/lib/Algorithm/CheckDigits/M11_006.pm
1393 cp CheckDigits/M11_004.pm blib/lib/Algorithm/CheckDigits/M11_004.pm
1394 cp CheckDigits/M11_012.pm blib/lib/Algorithm/CheckDigits/M11_012.pm
1395 cp CheckDigits/M09_001.pm blib/lib/Algorithm/CheckDigits/M09_001.pm
1396 cp CheckDigits/MXX_003.pm blib/lib/Algorithm/CheckDigits/MXX_003.pm
1397 cp CheckDigits/M11_008.pm blib/lib/Algorithm/CheckDigits/M11_008.pm
1398 cp CheckDigits/M89_001.pm blib/lib/Algorithm/CheckDigits/M89_001.pm
1399 cp CheckDigits/MBase_002.pm blib/lib/Algorithm/CheckDigits/MBase_002.pm
1400 cp CheckDigits/M11_011.pm blib/lib/Algorithm/CheckDigits/M11_011.pm
1401 cp CheckDigits/MBase_001.pm blib/lib/Algorithm/CheckDigits/MBase_001.pm
1402 cp CheckDigits/M10_009.pm blib/lib/Algorithm/CheckDigits/M10_009.pm
1403 cp CheckDigits/M11_002.pm blib/lib/Algorithm/CheckDigits/M11_002.pm
1404 cp CheckDigits.pm blib/lib/Algorithm/CheckDigits.pm
1405 cp CheckDigits/MXX_001.pm blib/lib/Algorithm/CheckDigits/MXX_001.pm
1406 cp CheckDigits/M10_011.pm blib/lib/Algorithm/CheckDigits/M10_011.pm
1407 cp CheckDigits/M11_007.pm blib/lib/Algorithm/CheckDigits/M11_007.pm
1408 cp CheckDigits/M11_015.pm blib/lib/Algorithm/CheckDigits/M11_015.pm
1409 cp CheckDigits/M23_002.pm blib/lib/Algorithm/CheckDigits/M23_002.pm
1410 cp CheckDigits/M10_002.pm blib/lib/Algorithm/CheckDigits/M10_002.pm
1411 cp CheckDigits/M11_009.pm blib/lib/Algorithm/CheckDigits/M11_009.pm
1412 cp CheckDigits/M10_010.pm blib/lib/Algorithm/CheckDigits/M10_010.pm
1413 Manifying blib/man3/Algorithm::CheckDigits::M11_001.3pm
1414 Manifying blib/man3/Algorithm::CheckDigits::M11_010.3pm
1415 Manifying blib/man3/Algorithm::CheckDigits::M97_002.3pm
1416 Manifying blib/man3/Algorithm::CheckDigits::M23_001.3pm
1417 Manifying blib/man3/Algorithm::CheckDigits::M97_001.3pm
1418 Manifying blib/man3/Algorithm::CheckDigits::M16_001.3pm
1419 Manifying blib/man3/Algorithm::CheckDigits::M10_006.3pm
1420 Manifying blib/man3/Algorithm::CheckDigits::M11_013.3pm
1421 Manifying blib/man3/Algorithm::CheckDigits::M07_001.3pm
1422 Manifying blib/man3/Algorithm::CheckDigits::MXX_006.3pm
1423 Manifying blib/man3/Algorithm::CheckDigits::M10_008.3pm
1424 Manifying blib/man3/Algorithm::CheckDigits::M11_017.3pm
1425 Manifying blib/man3/Algorithm::CheckDigits::M10_003.3pm
1426 Manifying blib/man3/Algorithm::CheckDigits::M11_016.3pm
1427 Manifying blib/man3/Algorithm::CheckDigits::M11_003.3pm
1428 Manifying blib/man3/Algorithm::CheckDigits::MXX_002.3pm
1429 Manifying blib/man3/Algorithm::CheckDigits::M10_001.3pm
1430 Manifying blib/man3/Algorithm::CheckDigits::M10_004.3pm
1431 Manifying blib/man3/Algorithm::CheckDigits::MXX_004.3pm
1432 Manifying blib/man3/Algorithm::CheckDigits::MBase_003.3pm
1433 Manifying blib/man3/Algorithm::CheckDigits::M43_001.3pm
1434 Manifying blib/man3/Algorithm::CheckDigits::M10_005.3pm
1435 Manifying blib/man3/Algorithm::CheckDigits::MXX_005.3pm
1436 Manifying blib/man3/Algorithm::CheckDigits::M11_006.3pm
1437 Manifying blib/man3/Algorithm::CheckDigits::M11_004.3pm
1438 Manifying blib/man3/Algorithm::CheckDigits::M11_012.3pm
1439 Manifying blib/man3/Algorithm::CheckDigits::M09_001.3pm
1440 Manifying blib/man3/Algorithm::CheckDigits::MXX_003.3pm
1441 Manifying blib/man3/Algorithm::CheckDigits::M11_008.3pm
1442 Manifying blib/man3/Algorithm::CheckDigits::M89_001.3pm
1443 Manifying blib/man3/Algorithm::CheckDigits::MBase_002.3pm
1444 Manifying blib/man3/Algorithm::CheckDigits::M11_011.3pm
1445 Manifying blib/man3/Algorithm::CheckDigits::MBase_001.3pm
1446 Manifying blib/man3/Algorithm::CheckDigits::M10_009.3pm
1447 Manifying blib/man3/Algorithm::CheckDigits::M10_011.3pm
1448 Manifying blib/man3/Algorithm::CheckDigits::MXX_001.3pm
1449 Manifying blib/man3/Algorithm::CheckDigits.3pm
1450 Manifying blib/man3/Algorithm::CheckDigits::M11_002.3pm
1451 Manifying blib/man3/Algorithm::CheckDigits::M11_007.3pm
1452 Manifying blib/man3/Algorithm::CheckDigits::M11_015.3pm
1453 Manifying blib/man3/Algorithm::CheckDigits::M11_009.3pm
1454 Manifying blib/man3/Algorithm::CheckDigits::M10_002.3pm
1455 Manifying blib/man3/Algorithm::CheckDigits::M23_002.3pm
1456 Manifying blib/man3/Algorithm::CheckDigits::M10_010.3pm
1457   MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
1458   /usr/bin/make -- OK
1459 Warning (usually harmless): 'YAML' not installed, will not store persistent state
1460 Running make test
1461 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
1462 t/checkdigits.....ok
1463 t/ecno............ok
1464 t/iban............ok
1465 t/imei............ok
1466 t/isbn13..........ok
1467 t/pod-coverage....skipped
1468         all skipped: Test::Pod::Coverage 1.00 required for testing POD coverage
1469 t/pod.............skipped
1470         all skipped: Test::Pod 1.00 required for testing POD
1471 t/upc.............ok
1472 t/valid...........ok
1473 All tests successful, 2 tests skipped.
1474 Files=9, Tests=448,  2 wallclock secs ( 0.35 cusr +  0.80 csys =  1.15 CPU)
1475   MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
1476   /usr/bin/make test -- OK
1477 Warning (usually harmless): 'YAML' not installed, will not store persistent state
1478 Running make install
1479 Prepending /root/.cpan/build/Algorithm-CheckDigits-0.50-mL1o1L/blib/arch /root/.cpan/build/Algorithm-CheckDigits-0.50-mL1o1L/blib/lib to PERL5LIB for 'install'
1480 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits.pm
1481 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_011.pm
1482 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MBase_002.pm
1483 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_005.pm
1484 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_009.pm
1485 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_002.pm
1486 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_001.pm
1487 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_004.pm
1488 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M43_001.pm
1489 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_010.pm
1490 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_004.pm
1491 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_003.pm
1492 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MBase_003.pm
1493 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_002.pm
1494 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_004.pm
1495 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_010.pm
1496 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_006.pm
1497 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M23_002.pm
1498 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M09_001.pm
1499 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_013.pm
1500 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_008.pm
1501 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_002.pm
1502 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M07_001.pm
1503 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_003.pm
1504 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M23_001.pm
1505 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MBase_001.pm
1506 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_016.pm
1507 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_017.pm
1508 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_001.pm
1509 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M97_001.pm
1510 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_007.pm
1511 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_006.pm
1512 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_008.pm
1513 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_001.pm
1514 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_015.pm
1515 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M16_001.pm
1516 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_003.pm
1517 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_011.pm
1518 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_005.pm
1519 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M89_001.pm
1520 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_009.pm
1521 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_006.pm
1522 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M97_002.pm
1523 Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_012.pm
1524 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_016.3pm
1525 Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_002.3pm
1526 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_003.3pm
1527 Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_002.3pm
1528 Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_001.3pm
1529 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_006.3pm
1530 Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_001.3pm
1531 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_009.3pm
1532 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_004.3pm
1533 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_015.3pm
1534 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_001.3pm
1535 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_011.3pm
1536 Installing /usr/share/man/man3/Algorithm::CheckDigits::M09_001.3pm
1537 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_002.3pm
1538 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_013.3pm
1539 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_006.3pm
1540 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_010.3pm
1541 Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_003.3pm
1542 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_017.3pm
1543 Installing /usr/share/man/man3/Algorithm::CheckDigits::M97_001.3pm
1544 Installing /usr/share/man/man3/Algorithm::CheckDigits.3pm
1545 Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_005.3pm
1546 Installing /usr/share/man/man3/Algorithm::CheckDigits::M23_001.3pm
1547 Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_003.3pm
1548 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_008.3pm
1549 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_009.3pm
1550 Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_006.3pm
1551 Installing /usr/share/man/man3/Algorithm::CheckDigits::M23_002.3pm
1552 Installing /usr/share/man/man3/Algorithm::CheckDigits::M43_001.3pm
1553 Installing /usr/share/man/man3/Algorithm::CheckDigits::M07_001.3pm
1554 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_003.3pm
1555 Installing /usr/share/man/man3/Algorithm::CheckDigits::M16_001.3pm
1556 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_011.3pm
1557 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_002.3pm
1558 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_005.3pm
1559 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_008.3pm
1560 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_007.3pm
1561 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_010.3pm
1562 Installing /usr/share/man/man3/Algorithm::CheckDigits::M89_001.3pm
1563 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_012.3pm
1564 Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_001.3pm
1565 Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_004.3pm
1566 Installing /usr/share/man/man3/Algorithm::CheckDigits::M97_002.3pm
1567 Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_004.3pm
1568 Writing /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/auto/Algorithm/CheckDigits/.packlist
1569 Appending installation info to /usr/lib/perl5/5.10.0/i586-linux-thread-multi/perllocal.pod
1570   MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
1571   /usr/bin/make install  -- OK
1572 Warning (usually harmless): 'YAML' not installed, will not store persistent state
1573 |--------------------
1574
1575
1576 === Install Biblio::EndnoteStyle ===
1577 |--------------------
1578 cpan[2]> install Biblio::EndnoteStyle
1579 |--------------------
1580
1581
1582
1583 === Install the "CGI::Session::Serialize::yaml" Perl Module ===
1584
1585 [Install CGI::Session::Serialize::yaml "instead" of CGI::Session to avoid problems related to JSON::Syck when installing CGI::Session. Don't worry: by installing CGI::Session::Serialize::yaml you are also installing CGI::Session]:
1586 |--------------------
1587 cpan[3]> install CGI::Session::Serialize::yaml
1588
1589
1590 cpan[4]> quit
1591 Lockfile removed.
1592 |--------------------
1593
1594
1595 === Install some "Class" Perl Modules ===
1596 To install the Class::Accessor Perl Module we'll use the available software package in openSUSE 11.0 (using yast) instead of downloading it from CPAN:
1597 |--------------------
1598 myhost:~/Koha-3.00.00 # yast -i perl-Class-Accessor
1599 |--------------------
1600
1601 [this will also install a dependency: perl-Carp-Assert]
1602
1603 |--------------------
1604 myhost:~/Koha-3.00.00 # cpan
1605
1606 cpan shell -- CPAN exploration and modules installation (v1.9205)
1607 ReadLine support enabled
1608
1609 cpan[1]> install Class::Factory::Util
1610
1611 cpan[2]> quit
1612 Lockfile removed.
1613 |--------------------
1614
1615
1616
1617 === Install DBD::MySQL ===
1618 |--------------------
1619 myhost:~/koha-3.00.00 # yast -i perl-DBD-mysql
1620 |--------------------
1621 [this will also install a dependency: perl-Data-Showtable]
1622
1623 === Install some "Data" Perl Modules ===
1624 |--------------------
1625 myhost:~/koha-3.00.00 # cpan
1626 CPAN: File::HomeDir loaded ok (v0.69)
1627
1628 cpan shell -- CPAN exploration and modules installation (v1.9205)
1629 ReadLine support enabled
1630
1631 cpan[1]> install Data::ICal
1632
1633 CPAN: File::Temp loaded ok (v0.18)
1634 Warning (usually harmless): 'YAML' not installed, will not store persistent state
1635
1636   CPAN.pm: Going to build J/JE/JESSE/Data-ICal-0.13.tar.gz
1637
1638 *** Module::AutoInstall version 1.03
1639 *** Checking for Perl dependencies...
1640 [Core Features]
1641 - Test::More          ...loaded. (0.72)
1642 - Test::Warn          ...missing.
1643 - Test::NoWarnings    ...missing.
1644 - Test::LongString    ...missing.
1645 - Class::Accessor     ...loaded. (0.31)
1646 - Text::vFile::asData ...missing.
1647 - MIME::QuotedPrint   ...loaded. (3.07)
1648 - Class::ReturnValue  ...missing.
1649 ==> Auto-install the 5 mandatory module(s) from CPAN? [y]
1650
1651 *** Since we're running under CPANPLUS, I'll just let it take care
1652     of the dependency's installation later.
1653 *** Module::AutoInstall configuration finished.
1654 Checking if your kit is complete...
1655 Looks good
1656 Warning: prerequisite Class::ReturnValue 0 not found.
1657 Warning: prerequisite Test::LongString 0 not found.
1658 Warning: prerequisite Test::NoWarnings 0 not found.
1659 Warning: prerequisite Test::Warn 0 not found.
1660 Warning: prerequisite Text::vFile::asData 0 not found.
1661 Writing Makefile for Data::ICal
1662 Could not read '/root/.cpan/build/Data-ICal-0.13-X1jsxc/META.yml'. Falling back to other methods to determine prerequisites
1663 ---- Unsatisfied dependencies detected during ----
1664 ----        JESSE/Data-ICal-0.13.tar.gz       ----
1665     Test::LongString [requires]
1666     Class::ReturnValue [requires]
1667     Test::NoWarnings [requires]
1668     Text::vFile::asData [requires]
1669     Test::Warn [requires]
1670 Shall I follow them and prepend them to the queue
1671 of modules we are processing right now? [yes]
1672
1673 ---- Unsatisfied dependencies detected during ----
1674 ----    JESSE/Class-ReturnValue-0.55.tar.gz   ----
1675     Devel::StackTrace [requires]
1676 Shall I follow them and prepend them to the queue
1677 of modules we are processing right now? [yes]
1678
1679 Warning: prerequisite Test::Tester 0.103 not found.
1680 Writing Makefile for Test::NoWarnings
1681 Could not read '/root/.cpan/build/Test-NoWarnings-0.084-DMJBk3/META.yml'. Falling back to other methods to determine 
1682
1683 prerequisites
1684 ---- Unsatisfied dependencies detected during ----
1685 ----    FDALY/Test-NoWarnings-0.084.tar.gz    ----
1686     Test::Tester [requires]
1687 Shall I follow them and prepend them to the queue
1688 of modules we are processing right now? [yes]
1689 Running install for module 'Text::vFile::asData'
1690 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
1691 ---- Unsatisfied dependencies detected during ----
1692 ----   RCLAMP/Text-vFile-asData-0.05.tar.gz   ----
1693     Class::Accessor::Chained [requires]
1694 Shall I follow them and prepend them to the queue
1695 of modules we are processing right now? [yes]
1696
1697
1698 Warning: prerequisite Array::Compare 0 not found.
1699 Warning: prerequisite Sub::Uplevel 0.12 not found.
1700 Warning: prerequisite Test::Exception 0 not found.
1701 Warning: prerequisite Tree::DAG_Node 0 not found.
1702 Writing Makefile for Test::Warn
1703 Could not read '/root/.cpan/build/Test-Warn-0.10-9ekdi2/META.yml'. Falling back to other methods to determine prerequisites
1704 ---- Unsatisfied dependencies detected during ----
1705 ----       CHORNY/Test-Warn-0.10.tar.gz       ----
1706     Test::Exception [requires]
1707     Sub::Uplevel [requires]
1708     Array::Compare [requires]
1709     Tree::DAG_Node [requires]
1710 Shall I follow them and prepend them to the queue
1711 of modules we are processing right now? [yes]
1712
1713
1714 ---- Unsatisfied dependencies detected during ----
1715 ----      ADIE/Test-Exception-0.27.tar.gz     ----
1716     Sub::Uplevel [requires]
1717 Shall I follow them and prepend them to the queue
1718 of modules we are processing right now? [yes]
1719
1720
1721 cpan[2]> quit
1722 Lockfile removed.
1723 |--------------------
1724
1725
1726 === Install some "Date" Perl Modules ===
1727 |--------------------
1728 myhost:~/koha-3.00.00 # yast -i perl-Date-Calc
1729 |--------------------
1730 [This will also install 2 other dependencies: perl-Carp-Clan and perl-Bit-Vector]
1731
1732 |--------------------
1733 myhost:~/koha-3.00.00 # cpan
1734
1735 cpan shell -- CPAN exploration and modules installation (v1.9205)
1736 ReadLine support enabled
1737
1738 cpan[1]> install Date::ICal
1739
1740
1741 Warning: prerequisite Date::Leapyear 1.03 not found.
1742 Writing Makefile for Date::ICal
1743 ---- Unsatisfied dependencies detected during ----
1744 ----        RBOW/Date-ICal-1.72.tar.gz        ----
1745     Date::Leapyear [requires]
1746 Shall I follow them and prepend them to the queue
1747 of modules we are processing right now? [yes]
1748
1749
1750 cpan[2]> quit
1751 Lockfile removed.
1752
1753 myhost:~/koha-3.00.00 # yast -i perl-DateManip
1754 |--------------------
1755
1756 === Install the "GD::Barcode::UPCE" Perl Module ===
1757 |--------------------
1758 myhost:~/Koha # cpan
1759
1760 cpan shell -- CPAN exploration and modules installation (v1.9205)
1761 ReadLine support enabled
1762
1763 cpan[1]> install GD::Barcode::UPCE
1764 |--------------------
1765
1766 === Install the "HTML::Template::Pro" Perl Module ===
1767
1768 In the same CPAN prompt, type the following command:
1769 |--------------------
1770 cpan[2]> install HTML::Template::Pro
1771
1772 cpan[3]> quit
1773 Lockfile removed.
1774 |--------------------
1775
1776
1777 === Install ImageMagick ===
1778 |--------------------
1779 myhost:~/koha-3.00.00 # yast -i perl-PerlMagick
1780 |--------------------
1781
1782 [This will install 3 other dependencies: libMagickCore1, libMagickWand1 and ImageMagick]
1783
1784
1785 === Install the "Lingua::Stem" Perl Module ===
1786 |--------------------
1787 myhost:~ # cpan
1788
1789 cpan shell -- CPAN exploration and modules installation (v1.9205)
1790 ReadLine support enabled
1791
1792 cpan[1]> install Lingua::Stem
1793
1794
1795 Checking prerequisites...
1796  - ERROR: Lingua::PT::Stemmer is not installed
1797  - ERROR: Lingua::Stem::It is not installed
1798  - ERROR: Lingua::Stem::Snowball::No is not installed
1799  - ERROR: Text::German is not installed
1800  - ERROR: Lingua::Stem::Snowball::Se is not installed
1801  - ERROR: Lingua::Stem::Fr is not installed
1802  - ERROR: Lingua::GL::Stemmer is not installed
1803  - ERROR: Lingua::Stem::Snowball::Da is not installed
1804  - ERROR: Lingua::Stem::Ru is not installed
1805
1806 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
1807 of the modules indicated above before proceeding with this installation
1808
1809 Creating new 'Build' script for 'Lingua-Stem' version '0.83'
1810 Could not read '/root/.cpan/build/Lingua-Stem-0.83-cmPLcK/META.yml'. Falling back to other methods to determine prerequisites
1811 ---- Unsatisfied dependencies detected during ----
1812 ----     SNOWHARE/Lingua-Stem-0.83.tar.gz     ----
1813     Lingua::PT::Stemmer [requires]
1814     Lingua::Stem::It [requires]
1815     Lingua::Stem::Snowball::No [requires]
1816     Text::German [requires]
1817     Lingua::Stem::Snowball::Se [requires]
1818     Lingua::Stem::Fr [requires]
1819     Lingua::GL::Stemmer [requires]
1820     Lingua::Stem::Snowball::Da [requires]
1821     Lingua::Stem::Ru [requires]
1822 Shall I follow them and prepend them to the queue
1823 of modules we are processing right now? [yes]
1824 |--------------------
1825
1826
1827 === Install the "HTML::Scrubber" Perl Module ===
1828 In the same CPAN prompt, type the following command:
1829 |--------------------
1830 cpan[2]> install HTML::Scrubber
1831
1832
1833 cpan[3]> quit
1834 Lockfile removed.
1835 |--------------------
1836
1837 === Install the "List::MoreUtils" Perl Module ===
1838 |--------------------
1839 myhost:~ # yast -i perl-List-MoreUtils
1840 |--------------------
1841 (If the above command does not work, you probably did not set up the "Official openSUSE 11.0 OSS Repository". See the "Configure Software Repositories" section earlier in this document that explains how you set up it inside yast).
1842
1843 === Install some "MARC" Perl Modules ===
1844 |--------------------
1845 myhost:~ # cpan
1846
1847 cpan shell -- CPAN exploration and modules installation (v1.9205)
1848 ReadLine support enabled
1849
1850 cpan[1]> install MARC::Charset
1851
1852 cpan[2]> install MARC::Crosswalk::DublinCore
1853
1854
1855 Checking prerequisites...
1856  - ERROR: DublinCore::Record is not installed
1857  - ERROR: MARC::Record is not installed
1858
1859 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
1860 of the modules indicated above before proceeding with this installation
1861
1862 Creating new 'Build' script for 'MARC-Crosswalk-DublinCore' version '0.02'
1863 Could not read '/root/.cpan/build/MARC-Crosswalk-DublinCore-0.02-xrMlqr/META.yml'. Falling back to other methods to determine 
1864
1865 prerequisites
1866 ----   Unsatisfied dependencies detected during   ----
1867 ---- BRICAS/MARC-Crosswalk-DublinCore-0.02.tar.gz ----
1868     DublinCore::Record [requires]
1869     MARC::Record [requires]
1870 Shall I follow them and prepend them to the queue
1871 of modules we are processing right now? [yes]
1872
1873
1874 cpan[3]> install MARC::File::XML
1875
1876
1877 cpan[4]> install MARC::Record
1878 MARC::Record is up to date (2.0.0).
1879
1880
1881 cpan[3]> quit
1882 Lockfile removed.
1883 |--------------------
1884
1885 === Install the "Mail::Sendmail" Perl Module ===
1886 |--------------------
1887 myhost:~ # yast -i perl-Mail-Sendmail
1888 |--------------------
1889 (If the above command does not work, you probably did not set up the "Official openSUSE 11.0 OSS Repository". See the "Configure Software Repositories" section earlier in this document that explains how you set up it inside yast).
1890
1891 === Install some "Net" Perl Modules ===
1892 |--------------------
1893 myhost:~ # cpan
1894
1895 cpan shell -- CPAN exploration and modules installation (v1.9205)
1896 ReadLine support enabled
1897
1898 cpan[1]> install Net::LDAP
1899
1900
1901 *** Module::AutoInstall version 1.03
1902 *** Checking for Perl dependencies...
1903 [Core Features]
1904 - Convert::ASN1    ...missing. (would need 0.07)
1905 ==> Auto-install the 1 mandatory module(s) from CPAN? [y]
1906 [SASL authentication]
1907 - Authen::SASL     ...missing. (would need 2.00)
1908 ==> Auto-install the 1 optional module(s) from CPAN? [n]
1909 [LDAP URLs]
1910 - URI::ldap        ...loaded. (1.11 >= 1.1)
1911 [LDAPS]
1912 - IO::Socket::SSL  ...missing. (would need 0.81)
1913 ==> Auto-install the 1 optional module(s) from CPAN? [n]
1914 [Read/Write DSML files]
1915 - MIME::Base64     ...loaded. (3.07_01)
1916 - XML::SAX::Writer ...missing.
1917 ==> Auto-install the 1 optional module(s) from CPAN? [n]
1918 [Read/Write LDIF files]
1919 - MIME::Base64     ...loaded. (3.07_01)
1920
1921 *** Since we're running under CPANPLUS, I'll just let it take care
1922     of the dependency's installation later.
1923 *** Module::AutoInstall configuration finished.
1924
1925 *** Since we're running under CPANPLUS, I'll just let it take care
1926     of the dependency's installation later.
1927 Checking if your kit is complete...
1928 Looks good
1929 Warning: prerequisite Convert::ASN1 0.07 not found.
1930 Writing Makefile for Net::LDAP
1931 Could not read '/root/.cpan/build/perl-ldap-0.36-gUbl59/META.yml'. Falling back to other methods to determine prerequisites
1932 ---- Unsatisfied dependencies detected during ----
1933 ----        GBARR/perl-ldap-0.36.tar.gz       ----
1934     Convert::ASN1 [requires]
1935 Shall I follow them and prepend them to the queue
1936 of modules we are processing right now? [yes]
1937
1938
1939 cpan[16]> install Net::LDAP::Filter
1940 Net::LDAP::Filter is up to date (0.15).
1941
1942
1943 cpan[7]> install Net::Z3950::ZOOM
1944 Running install for module 'Net::Z3950::ZOOM'
1945 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
1946 Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
1947 Fetching with LWP:
1948   ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
1949 Checksum for /root/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz ok
1950 Net-Z3950-ZOOM-1.21/
1951 Net-Z3950-ZOOM-1.21/samples/
1952 Net-Z3950-ZOOM-1.21/samples/zoom/
1953 Net-Z3950-ZOOM-1.21/samples/zoom/trivial-async.pl
1954 Net-Z3950-ZOOM-1.21/samples/zoom/zdump.pl
1955 Net-Z3950-ZOOM-1.21/samples/zoom/async.pl
1956 Net-Z3950-ZOOM-1.21/samples/zoom/zoomscan.pl
1957 Net-Z3950-ZOOM-1.21/samples/zoom/zhello.pl
1958 Net-Z3950-ZOOM-1.21/samples/zoom/zoomtst1.pl
1959 Net-Z3950-ZOOM-1.21/samples/zoom/zselect
1960 Net-Z3950-ZOOM-1.21/samples/zoom/update.pl
1961 Net-Z3950-ZOOM-1.21/samples/zoom/zoomtst3.pl
1962 Net-Z3950-ZOOM-1.21/samples/README
1963 Net-Z3950-ZOOM-1.21/samples/net-z3950/
1964 Net-Z3950-ZOOM-1.21/samples/net-z3950/zoomtst1.pl
1965 Net-Z3950-ZOOM-1.21/samples/records/
1966 Net-Z3950-ZOOM-1.21/samples/records/esdd0006.grs
1967 Net-Z3950-ZOOM-1.21/samples/ccl/
1968 Net-Z3950-ZOOM-1.21/samples/ccl/default.bib
1969 Net-Z3950-ZOOM-1.21/samples/cql/
1970 Net-Z3950-ZOOM-1.21/samples/cql/pqf.properties
1971 Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/
1972 Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/async.pl
1973 Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/zoomtst1.pl
1974 Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/zoomtst3.pl
1975 Net-Z3950-ZOOM-1.21/README
1976 Net-Z3950-ZOOM-1.21/Changes
1977 Net-Z3950-ZOOM-1.21/META.yml
1978 Net-Z3950-ZOOM-1.21/MANIFEST
1979 Net-Z3950-ZOOM-1.21/ZOOM.xs
1980 Net-Z3950-ZOOM-1.21/MANIFEST.SKIP
1981 Net-Z3950-ZOOM-1.21/Makefile.PL
1982 Net-Z3950-ZOOM-1.21/t/
1983 Net-Z3950-ZOOM-1.21/t/29-events.t
1984 Net-Z3950-ZOOM-1.21/t/11-option-callback.t
1985 Net-Z3950-ZOOM-1.21/t/15-scan.t
1986 Net-Z3950-ZOOM-1.21/t/16-packages.t
1987 Net-Z3950-ZOOM-1.21/t/13-resultset.t
1988 Net-Z3950-ZOOM-1.21/t/24-sorting.t
1989 Net-Z3950-ZOOM-1.21/t/17-logging.t
1990 Net-Z3950-ZOOM-1.21/t/20-options.t
1991 Net-Z3950-ZOOM-1.21/t/12-query.t
1992 Net-Z3950-ZOOM-1.21/t/10-options.t
1993 Net-Z3950-ZOOM-1.21/t/1-Net-Z3950-ZOOM.t
1994 Net-Z3950-ZOOM-1.21/t/22-query.t
1995 Net-Z3950-ZOOM-1.21/t/27-logging.t
1996 Net-Z3950-ZOOM-1.21/t/25-scan.t
1997 Net-Z3950-ZOOM-1.21/t/19-events.t
1998 Net-Z3950-ZOOM-1.21/t/14-sorting.t
1999 Net-Z3950-ZOOM-1.21/t/28-charset.t
2000 Net-Z3950-ZOOM-1.21/t/23-resultset.t
2001 Net-Z3950-ZOOM-1.21/t/26-packages.t
2002 Net-Z3950-ZOOM-1.21/t/18-charset.t
2003 Net-Z3950-ZOOM-1.21/t/2-ZOOM.t
2004 Net-Z3950-ZOOM-1.21/t/21-option-callback.t
2005 Net-Z3950-ZOOM-1.21/typemap
2006 Net-Z3950-ZOOM-1.21/lib/
2007 Net-Z3950-ZOOM-1.21/lib/ZOOM.pm
2008 Net-Z3950-ZOOM-1.21/lib/ZOOM.pod
2009 Net-Z3950-ZOOM-1.21/lib/Net/
2010 Net-Z3950-ZOOM-1.21/lib/Net/Z3950/
2011 Net-Z3950-ZOOM-1.21/lib/Net/Z3950/ZOOM.pm
2012 Net-Z3950-ZOOM-1.21/lib/Net/Z3950.pm
2013 Warning (usually harmless): 'YAML' not installed, will not store persistent state
2014
2015   CPAN.pm: Going to build M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
2016
2017 ERROR: Unable to call script: yaz-config
2018 If you are using a YAZ installation from the Debian package "yaz", you
2019 will also need to install "libyaz-dev" in order to build this module.
2020 Warning: No success on command[/usr/bin/perl Makefile.PL]
2021 Warning (usually harmless): 'YAML' not installed, will not store persistent state
2022   MIRK/Net-Z3950-ZOOM-1.21.tar.gz
2023   /usr/bin/perl Makefile.PL -- NOT OK
2024 Running make test
2025   Make had some problems, won't test
2026 Running make install
2027   Make had some problems, won't install
2028 Could not read '/root/.cpan/build/Net-Z3950-ZOOM-1.21-gHBrEl/META.yml'. Falling back to other methods to determine 
2029
2030 prerequisites
2031 Failed during this command:
2032  MIRK/Net-Z3950-ZOOM-1.21.tar.gz              : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 512
2033 |--------------------
2034
2035   * Installing libyaz and libyaz-devel for Net::Z3950::ZOOM
2036 OK... So we ran through a problem with a missing "yaz-config" while installing Net::Z3950::ZOOM. To solve this, let's first install the libyaz package:
2037 |--------------------
2038 # yast -i libyaz
2039 |--------------------
2040 [This will also install 1 dependency: libxslt]
2041
2042 We also have to install another package:libyaz-devel. libyaz-devel is NOT available in the openSUSE 11 DVD but it is available in the Official openSUSE 11 OSS Repository. If you have skipped that step, add that repository in yast first.
2043
2044   * Install the libyaz-devel package:
2045 |--------------------
2046 # yast -i libyaz-devel
2047 |--------------------
2048 (If the above command does not work, you probably did not set up the "Official openSUSE 11.0 OSS Repository". See the "Configure Software Repositories" section earlier in this document that explains how you set up it inside yast).
2049
2050 Installing libyaz-devel will also add some other packages that libyaz-devel depends on, namely: 
2051 zlib-devel, tcpd-devel, tack, libgpg-error-devel, ncurses-devel, libopenssl-devel, libgcrypt-devel, readline-devel, libxml2-devel and libxslt-devel.
2052
2053
2054 Let's now install the Net::Z3950::ZOOM Module
2055
2056 |--------------------
2057 myhost:~ # cpan
2058
2059 cpan shell -- CPAN exploration and modules installation (v1.9205)
2060 ReadLine support enabled
2061
2062 cpan[1]> install Net::Z3950::ZOOM
2063 cpan[2]> quit
2064 Lockfile removed.
2065 |--------------------
2066
2067
2068
2069 === Install some "PDF" Perl Modules ===
2070
2071 |--------------------
2072 myhost:~ # yast -i perl-PDF-API2
2073
2074 myhost:~ # cpan
2075
2076 cpan shell -- CPAN exploration and modules installation (v1.9205)
2077 ReadLine support enabled
2078
2079 cpan[1]> install PDF::API2::Page
2080 PDF::API2::Page is up to date (2.001).
2081
2082 cpan[2]> install PDF::API2::Util
2083 PDF::API2::Util is up to date (2.000).
2084
2085
2086 cpan[3]> install PDF::Reuse
2087
2088 Warning: prerequisite Font::TTF 0 not found.
2089 Warning: prerequisite Text::PDF::TTFont0 0 not found.
2090 Writing Makefile for PDF::Reuse
2091 Could not read '/root/.cpan/build/PDF-Reuse-0.35-rBhjys/META.yml'. Falling back to other methods to determine prerequisites
2092 ---- Unsatisfied dependencies detected during ----
2093 ----      LARSLUND/PDF-Reuse-0.35.tar.gz      ----
2094     Text::PDF::TTFont0 [requires]
2095     Font::TTF [requires]
2096 Shall I follow them and prepend them to the queue
2097 of modules we are processing right now? [yes]
2098
2099
2100 cpan[4]> install PDF::Reuse::Barcode
2101
2102 Warning: prerequisite Barcode::Code128 0 not found.
2103 Writing Makefile for PDF::Reuse::Barcode
2104 ---- Unsatisfied dependencies detected during ----
2105 ----  LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz  ----
2106     Barcode::Code128 [requires]
2107 Shall I follow them and prepend them to the queue
2108 of modules we are processing right now? [yes]
2109
2110 |--------------------
2111
2112
2113
2114
2115
2116 === Install the "POE" Perl Module ===
2117 In the same CPAN prompt, type the following command:
2118 |--------------------
2119 cpan[5]> install POE
2120
2121
2122 Some of POE's tests require a functional network.
2123 You can skip these tests if you'd like.
2124
2125 Would you like to skip the network tests? [n]
2126
2127 *** Some optional features may not be available:
2128 ***   Curses 1.08 could not be loaded.
2129 ***   Event 1 could not be loaded.
2130 ***   Gtk 0.7009 could not be loaded.
2131 ***   IO::Pty 1.02 could not be loaded.
2132 ***   Socket6 0.14 could not be loaded.
2133 ***   Tk 800.027 could not be loaded.
2134 Checking if your kit is complete...
2135 Looks good
2136 Warning: prerequisite POE::Test::Loops 1.002 not found.
2137 Writing Makefile for POE
2138 Could not read '/root/.cpan/build/POE-1.003-0euNum/META.yml'. Falling back to other methods to determine prerequisites
2139 ---- Unsatisfied dependencies detected during ----
2140 ----         RCAPUTO/POE-1.003.tar.gz         ----
2141     POE::Test::Loops [requires]
2142 Shall I follow them and prepend them to the queue
2143 of modules we are processing right now? [yes]
2144 |--------------------
2145
2146
2147 === Install the "SMS::Send" Perl Module ===
2148
2149 In the same CPAN prompt, type the following command:
2150 |--------------------
2151 cpan[6]> install SMS::Send
2152
2153 Checking if your kit is complete...
2154 Looks good
2155 Warning: prerequisite Class::Adapter 1.00 not found.
2156 Warning: prerequisite Params::Util 0.14 not found.
2157 Writing Makefile for SMS::Send
2158 Could not read '/root/.cpan/build/SMS-Send-0.05-xGdd7H/META.yml'. Falling back to other methods to determine prerequisites
2159 ---- Unsatisfied dependencies detected during ----
2160 ----        ADAMK/SMS-Send-0.05.tar.gz        ----
2161     Params::Util [requires]
2162     Class::Adapter [requires]
2163 Shall I follow them and prepend them to the queue
2164 of modules we are processing right now? [yes]
2165
2166 cpan[7]> quit
2167 Lockfile removed.
2168
2169 |--------------------
2170
2171 === Install the "Schedule::At" Perl Module ===
2172
2173   * Install "at":
2174 |--------------------
2175 # yast -i at
2176 |--------------------
2177   * Install the Schedule::At Perl module:
2178 |--------------------
2179 myhost:~ # cpan
2180
2181 cpan shell -- CPAN exploration and modules installation (v1.9205)
2182 ReadLine support enabled
2183
2184 cpan[1]> install Schedule::At
2185 |--------------------
2186
2187 === Install some "Text" Perl Modules ===
2188 In the same CPAN prompt, type the following command:
2189 |--------------------
2190 cpan[2]> install Text::CSV
2191
2192
2193 cpan[3]> install Text::CSV_XS
2194
2195
2196 cpan[4]> install Text::Iconv
2197
2198 cpan[5]> quit
2199 Lockfile removed.
2200 |--------------------
2201
2202 === Install some "XML" Perl Modules ===
2203 |--------------------
2204 myhost:~ # yast -i perl-XML-Dumper
2205
2206 myhost:~ # yast -i perl-XML-LibXSLT
2207
2208
2209 myhost:~ # cpan
2210
2211 cpan shell -- CPAN exploration and modules installation (v1.9205)
2212 ReadLine support enabled
2213
2214
2215 cpan[1]> install XML::RSS
2216
2217 Warning: prerequisite DateTime 0 not found.
2218 Warning: prerequisite DateTime::Format::Mail 0 not found.
2219 Warning: prerequisite DateTime::Format::W3CDTF 0 not found.
2220 Warning: prerequisite Test::Manifest 0.9 not found.
2221 Writing Makefile for XML::RSS
2222 Could not read '/root/.cpan/build/XML-RSS-1.32-7BXl7q/META.yml'. Falling back to other methods to determine prerequisites
2223 ---- Unsatisfied dependencies detected during ----
2224 ----        SHLOMIF/XML-RSS-1.32.tar.gz       ----
2225     DateTime [requires]
2226     DateTime::Format::W3CDTF [requires]
2227     Test::Manifest [requires]
2228     DateTime::Format::Mail [requires]
2229 Shall I follow them and prepend them to the queue
2230 of modules we are processing right now? [yes]
2231
2232 Warning: prerequisite DateTime::Locale 0.4 not found.
2233 Warning: prerequisite DateTime::TimeZone 0.59 not found.
2234 Warning: prerequisite Params::Validate 0.76 not found.
2235 Writing Makefile for DateTime
2236 Could not read '/root/.cpan/build/DateTime-0.4302-YXqzkk/META.yml'. Falling back to other methods to determine prerequisites
2237 ---- Unsatisfied dependencies detected during ----
2238 ----      DROLSKY/DateTime-0.4302.tar.gz      ----
2239     DateTime::Locale [requires]
2240     DateTime::TimeZone [requires]
2241     Params::Validate [requires]
2242 Shall I follow them and prepend them to the queue
2243 of modules we are processing right now? [yes]
2244
2245
2246 Checking prerequisites...
2247  - ERROR: Params::Validate is not installed
2248
2249 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
2250 of the modules indicated above before proceeding with this installation
2251
2252 Creating new 'Build' script for 'DateTime-Locale' version '0.4001'
2253 Could not read '/root/.cpan/build/DateTime-Locale-0.4001-ThLGMW/META.yml'. Falling back to other methods to determine 
2254
2255 prerequisites
2256 ---- Unsatisfied dependencies detected during ----
2257 ----   DROLSKY/DateTime-Locale-0.4001.tar.gz  ----
2258     Params::Validate [requires]
2259 Shall I follow them and prepend them to the queue
2260 of modules we are processing right now? [yes]
2261
2262
2263 Checking prerequisites...
2264  - ERROR: Class::Singleton is not installed
2265
2266 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
2267 of the modules indicated above before proceeding with this installation
2268
2269 Creating new 'Build' script for 'DateTime-TimeZone' version '0.77'
2270 Could not read '/root/.cpan/build/DateTime-TimeZone-0.77-MPrKnn/META.yml'. Falling back to other methods to determine 
2271
2272 prerequisites
2273 ---- Unsatisfied dependencies detected during ----
2274 ----   DROLSKY/DateTime-TimeZone-0.77.tar.gz  ----
2275     Class::Singleton [requires]
2276 Shall I follow them and prepend them to the queue
2277 of modules we are processing right now? [yes]
2278
2279
2280 cpan[2]> quit
2281 Lockfile removed.
2282 |--------------------
2283
2284 === Install the "YAML::Syck" Perl Module ===
2285 |--------------------
2286 myhost:~ # yast -i perl-YAML-Syck
2287 |--------------------
2288
2289
2290 ==== Create the Koha User and Group ====
2291
2292 |--------------------
2293 # useradd koha
2294
2295 # passwd koha
2296 Changing password for koha.
2297 New Password:
2298 Reenter New Password:
2299 Password changed.
2300
2301 # groupadd koha
2302 |--------------------
2303
2304
2305 ==== Run make test ====
2306 |--------------------
2307 myhost:~/Koha # make test
2308 cp koha-tmpl/opac-tmpl/prog/famfamfam/silk/error_go.png blib/OPAC_TMPL_DIR/prog/famfamfam/silk/error_go.png
2309 cp opac/opac-changelanguage.pl blib/OPAC_CGI_DIR/opac/opac-changelanguage.pl
2310 cp koha-tmpl/intranet-tmpl/prog/img/itemtypeimg/liblime-kids/card.gif 
2311
2312 blib/INTRANET_TMPL_DIR/prog/img/itemtypeimg/liblime-kids/card.gif
2313 cp koha-tmpl/opac-tmpl/prog/famfamfam/mini/note.gif blib/OPAC_TMPL_DIR/prog/famfamfam/mini/note.gif
2314 |--------------------
2315 [many more lines beginning with "cp" should appear...]
2316
2317 |--------------------
2318 t/Amazon....................ok
2319 t/Barcodes..................ok 1/126Use of uninitialized value $db_driver in concatenation (.) or string at /root/Koha/blib/PERL_MODULE_DIR/C4/Context.pm line 629.
2320 Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at /root/Koha/blib/PERL_MODULE_DIR/C4/Context.pm line 629
2321 # Looks like you planned 126 tests but only ran 1.
2322 # Looks like your test died just after 1.
2323 t/Barcodes..................dubious
2324         Test returned status 255 (wstat 65280, 0xff00)
2325 DIED. FAILED tests 2-126
2326         Failed 125/126 tests, 0.79% okay
2327 t/Barcodes_PrinterConfig....ok
2328 t/Bookfund..................ok
2329 t/Bookseller................ok
2330 t/Boolean...................ok
2331 t/Branch....................ok
2332 t/Calendar..................ok
2333 t/Charset...................ok
2334 t/Date......................ok 1/4Use of uninitialized value $db_driver in concatenation (.) or string at /root/Koha/blib/PERL_MODULE_DIR/C4/Context.pm line 629.
2335 Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at /root/Koha/blib/PERL_MODULE_DIR/C4/Context.pm line 629
2336 # Looks like you planned 4 tests but only ran 1.
2337 # Looks like your test died just after 1.
2338 t/Date......................dubious
2339         Test returned status 255 (wstat 65280, 0xff00)
2340 DIED. FAILED tests 2-4
2341         Failed 3/4 tests, 25.00% okay
2342 t/Debug.....................# BEFORE use:     $debug is not defined
2343 # BEFORE use: $cgi_debug is not defined
2344 t/Debug.....................ok 1/3#  AFTER use:     $debug is 0
2345 #  AFTER use: $cgi_debug is 0
2346 # Done.
2347 t/Debug.....................ok
2348 t/dummy.....................ok
2349 t/Input.....................ok
2350 t/Koha......................ok
2351 t/Languages.................ok
2352 t/Maintainance..............ok
2353 t/Output....................ok
2354 t/Record....................ok
2355 t/Review....................ok
2356 t/Scrubber..................ok 1/10# Note: scrubber test output will have whitespace collapsed for readability
2357 # done.
2358 t/Scrubber..................ok
2359 t/Stats.....................ok
2360 Failed Test  Stat Wstat Total Fail  List of Failed
2361 -------------------------------------------------------------------------------
2362 t/Barcodes.t  255 65280   126  250  2-126
2363 t/Date.t      255 65280     4    6  2-4
2364 Failed 2/21 test scripts. 128/177 subtests failed.
2365 Files=21, Tests=177, 10 wallclock secs ( 4.76 cusr +  4.54 csys =  9.30 CPU)
2366 Failed 2/21 test programs. 128/177 subtests failed.
2367 make: *** [test_dynamic] Error 255
2368 |--------------------
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379 === Run "make install" ===
2380
2381 Even with these "Can't connect to data source" errors, we will run make install:
2382
2383 |--------------------
2384 myhost:~/Koha # make install
2385 |--------------------
2386 [Several lines starting with "Manifying" and many lines starting with "Installing" will scroll by...]
2387 |--------------------
2388 Installing /usr/share/koha/man/man3/reports::catalogue_out.3pm
2389 Installing /usr/share/koha/man/man3/reports::dictionary.3pm
2390 Installing /usr/share/koha/man/man3/C4::Search::PazPar2.3pm
2391 Installing /usr/share/koha/man/man3/C4::Scrubber.3pm
2392 Installing /usr/share/koha/man/man3/reports::itemslost.3pm
2393 Installing /usr/share/koha/man/man3/C4::Barcodes::PrinterConfig.3pm
2394
2395 Koha's files have now been installed.
2396
2397 In order to use Koha's command-line batch jobs,
2398 you should set the following environment variables:
2399
2400 export KOHA_CONF=/etc/koha/koha-conf.xml
2401 export PERL5LIB=/usr/share/koha/lib
2402
2403 For other post-installation tasks, please consult the README.
2404
2405 # cd /etc
2406 myhost:/etc #
2407 |--------------------
2408
2409 ==== Create /etc/bash.bashrc.local ====
2410 Create a file called bash.bashrc.local in the /etc directory:
2411 |--------------------
2412 myhost:/etc # vim /etc/bash.bashrc.local
2413 |--------------------
2414 add these 2 lines in the file:
2415 |--------------------
2416 export KOHA_CONF=/etc/koha/koha-conf.xml
2417 export PERL5LIB=/usr/share/koha/lib
2418 |--------------------
2419
2420 - EXIT THE SHELL AND LOG BACK IN.
2421 |--------------------
2422 myhost:/etc # exit
2423 |--------------------
2424 After logging back in, type the following commands to check if 
2425 the KOHA_CONF and PERL5LIB environment variables have been correctly set:
2426 |--------------------
2427 myhost:~ # env | grep KOHA
2428 KOHA_CONF=/etc/koha/koha-conf.xml
2429
2430 myhost:~ # env | grep PERL5LIB
2431 PERL5LIB=/usr/share/koha/lib
2432 |--------------------
2433
2434 === Koha's Web Installer ===
2435
2436 Access Koha's web installer at:
2437
2438 http://192.168.0.2:8080/
2439
2440 Your browser will probably say that:
2441 |--------------------
2442 " The server at 192.168.0.2 is taking too long to respond."
2443 |--------------------
2444 OK... It seems that we have to do some things yet.
2445
2446
2447 == Create a symbolic link to /etc/koha/koha-httpd.conf ==
2448
2449 Let's create a symbolic link to the /etc/koha/koha-httpd.conf file in the /etc/apache2/vhosts.d directory:
2450 |--------------------
2451 myhost:~ # cd /etc/apache2/vhosts.d/
2452
2453 myhost:/etc/apache2/vhosts.d # ln -s /etc/koha/koha-httpd.conf koha-httpd.conf
2454 |--------------------
2455
2456   * Restart Apache
2457 |--------------------
2458 myhost:/etc/apache2/conf.d # service apache2 restart
2459 Syntax error on line 28 of /etc/apache2/conf.d/koha-httpd.conf:
2460 Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
2461 |--------------------
2462
2463
2464 == Enable the mod_rewrite Apache module ==
2465
2466 OK... It seems that we need to enable the mod_rewrite Apache module:
2467 |--------------------
2468 myhost:/etc/sysconfig # a2enmod rewrite
2469 |--------------------
2470 [If the above command seems NOT to work, for some reason, do this - edit /etc/sysconfig/apache2 and add rewrite at the end of the APACHE_MODULES line, right before the right quote]
2471 |--------------------
2472 myhost:/etc/sysconfig # service apache2 restart
2473 Syntax OK
2474 Shutting down httpd2 (waiting for all children to terminate)         done
2475 Starting httpd2 (prefork)                                            done
2476 |--------------------
2477
2478
2479 == Change koha-httpd.conf ==
2480
2481 If you browsed again to http://192.168.0.2:8080 you would still get no answer. This is because we still have to do some changes to the koha-httpd.conf file.
2482
2483 First, let's create a backup of this file:
2484 |--------------------
2485 myhost:/etc/apache2/vhosts.d # cp koha-httpd.conf koha-httpd.conf.ORIG
2486
2487
2488 myhost:/etc/koha # vim koha-httpd.conf
2489 |--------------------
2490
2491 At the beginning of the koha-httpd.conf file, under the commented NameVirtualHost line, add the following line:
2492 |--------------------
2493 Listen 8080
2494 |--------------------
2495 In that file, you should find two VirtualHost sections: one for the OPAC area of Koha and the other one for the Intranet. 
2496 If the two virtualHost directives - the lines that start with <nowiki><VirtualHost</nowiki> - in that file are set for the IP Address 127.0.0.2, replace them by the correct IP address of your server.
2497
2498 That file will have 2 ServerName directives (one for each of the 2 VirtualHosts). In those directives, you should have the IP of your server -or- the FQDN of your server (example: ServerName www.koha.test).
2499
2500 Now, restart again Apache:
2501 |--------------------
2502 myhost:/etc/koha # service apache2 restart
2503 Syntax OK
2504 Shutting down httpd2 (waiting for all children to terminate)         done
2505 Starting httpd2 (prefork)                                            done
2506 |--------------------
2507
2508
2509 Try to access the web page:
2510
2511 http://192.168.0.2/
2512
2513 If you get again the "It Works!" web page, you'll probably have to Refresh/Reload the page in your browser (press the F5 key).
2514
2515 After reloading the page, you should get the following error:
2516 |--------------------
2517 Forbidden
2518
2519 You don't have permission to access / on this server.
2520
2521 Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
2522 Apache/2.2.4 (Linux/SUSE) Server at 192.168.0.2 Port 8080
2523 |--------------------
2524
2525 OK. Let's add then the following directive at the end of the koha-httpd.conf file:
2526 |--------------------
2527 <Directory /usr/share/koha>
2528         Order allow,deny
2529         Allow from all
2530 </Directory>
2531 |--------------------
2532
2533 Restart Apache:
2534 |--------------------
2535 myhost:/etc/apache2/vhosts.d # service apache2 restart
2536 Syntax OK
2537 Shutting down httpd2 (waiting for all children to terminate)         done
2538 Starting httpd2 (prefork)                                            done
2539 |--------------------
2540
2541 OK. Load again the following page in your web browser:
2542
2543 http://192.168.0.2
2544
2545 After some seconds you should be redirected to:
2546
2547 http://192.168.0.2/cgi-bin/koha/maintenance.pl
2548
2549
2550 and see a Koha page saying:
2551 |--------------------
2552 "System Maintenance ... we'll be back soon! If you have any questions, please contact the Site Administrator"
2553 |--------------------
2554
2555 This is actually GOOD NEWS!  :)  It's now time to set up Koha in the Intranet interface.
2556
2557
2558 To do that, browse to:
2559
2560
2561 http://192.168.0.2:8080
2562
2563
2564 == Enable port 8080 in the firewall ==
2565
2566 After a while the page will probably time out. This is because we now have to allow the 8080 port in the firewall.
2567
2568 Let's run yast and do that:
2569 |--------------------
2570 myhost:/etc/apache2/vhosts.d # yast
2571 |--------------------
2572 Inside yast, go to "Security and Users" -> "Firewall"
2573
2574 Scroll down to "Allowed Services" on the left side and press ENTER
2575
2576 Press TAB several times until you reach the "Apache2" allowed service on the right side. When you do that, 
2577 press Alt+d to click the "Advanced..." button.
2578
2579 A new window should open. Press Alt+T to go to the "TCP Ports" text box and enter the following values in that box:
2580 80 8080
2581
2582 Press Alt+O to click the OK button. That will send you back to the "Firewall Configuration:Allowed Services" 
2583 screen. Press Alt+N to click the "Next" button. 
2584
2585 You should now be in the "Firewall Configuration: Summary" screen. Press "Alt+F" to Finish.
2586
2587 You should now be again in the "YaST Control Center" screen. Press "Alt+Q" to quit yast.
2588
2589
2590 Go again to:
2591
2592 http://192.168.0.2:8080/
2593
2594 ... you should get redirected to:
2595
2596 http://192.168.0.2:8080/cgi-bin/koha/installer/install.pl
2597
2598 ... and see a page with the Koha Logo and the heading: "Welcome to the Koha Web Installer"!  :)
2599
2600
2601 You may now login with your koha administrator username and password and reply to the several questions you will be asked.