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