kylemhall / koha

A Fork of Koha 3 with extra updates by me.

This URL has Read+Write access

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