52 |
Config::IniFiles |
Config::IniFiles |
53 |
DBD::Pg or some other DBD driver like DBD::SQLite |
DBD::Pg or some other DBD driver like DBD::SQLite |
54 |
CGI::Application |
CGI::Application |
|
HTML::Pager |
|
55 |
HTML::Template |
HTML::Template |
56 |
HTML::FillInForm |
HTML::FillInForm |
57 |
SWISH |
SWISH::API |
|
SWISH::Fork and of course, swish-e executable |
|
58 |
XML::Simple |
XML::Simple |
59 |
Text::Iconv |
Text::Iconv |
60 |
TDB_File |
GDBM_File |
61 |
HTML::Entities (part of HTML::Parser) |
HTML::Entities (part of HTML::Parser) |
62 |
|
|
63 |
CPAN shell will also download some more modules to satisfy dependencies. |
CPAN shell will also download some more modules to satisfy dependencies. |
69 |
|
|
70 |
If you plan to use import from MARC files you will also need |
If you plan to use import from MARC files you will also need |
71 |
|
|
72 |
MARC |
MARC::Record |
73 |
|
|
74 |
|
|
75 |
2.1 Installation on Debian GNU/Linux |
2.1 Installation on Debian GNU/Linux |
91 |
libhtml-template-perl |
libhtml-template-perl |
92 |
libxml-simple-perl |
libxml-simple-perl |
93 |
libtext-iconv-perl |
libtext-iconv-perl |
|
tdb-dev (for TDB_File module later) |
|
94 |
libhtml-parser-perl |
libhtml-parser-perl |
95 |
|
|
96 |
and install following packages by hand from CPAN |
and install following packages by hand from CPAN |
97 |
because they are not part of Debian distribution: |
because they are not part of Debian distribution: |
98 |
|
|
99 |
CGI::Application |
CGI::Application |
|
HTML::Pager |
|
100 |
HTML::FillInForm |
HTML::FillInForm |
101 |
SWISH |
SWISH::API |
|
SWISH::Fork |
|
102 |
|
|
103 |
and optionally some of those modules: |
and optionally some of those modules: |
104 |
|
|
105 |
Spreadsheet::ParseExcel |
Spreadsheet::ParseExcel |
106 |
MARC |
MARC::Record |
107 |
|
|
108 |
For compilation of OpenIsis in next step, you will also need following |
3. You will need also IsisDB module if you are using ISIS as an import format. |
109 |
packages: |
Currenlty, this module is available only from development site |
110 |
|
|
111 |
make |
http://svn.rot13.org/ |
|
gcc |
|
|
libc-dev |
|
112 |
|
|
113 |
3. You will need OpenIsis if you are using ISIS as an import format. |
but, it should be available also through CPAN (meaning that it's stable and |
114 |
Currently, WebPAC uses OpenIsis 0.9.0 which *HAVE TO BE PATCHED* |
tested). So, just try to install IsisDB using cpan first. |
|
with special patch so that perl module OpenIsis.pm have close call |
|
|
(because there is hard-limit of 32 ISIS files in OpenIsis.pm, and that |
|
|
is too low for our use). |
|
115 |
|
|
116 |
You can do that yourself, or if you did checkout of our subversion repository |
WebPAC doesn't use OpenIsis anymore. |
|
you will already have latest OpenIsis in webpac/openisis/ directory. |
|
|
|
|
|
If you want to do it yourself, first get OpenIsis from: |
|
|
http://openisis.org/Doc/GetIt |
|
|
|
|
|
Then get patch for close from: |
|
|
http://www.rot13.org/~dpavlin/projects/openisis-0.9.0-perl_close.diff |
|
|
|
|
|
Unpack OpenIsis archive and apply patch -p0 to source tree. |
|
|
|
|
|
Eater way, now you got OpenIsis 0.9.0 with close support for perl. So, |
|
|
first compile C parts: |
|
|
|
|
|
make |
|
|
|
|
|
And then compile perl module and install it: |
|
|
|
|
|
make perl |
|
|
cd perl |
|
|
sudo make install |
|
|
|
|
|
Since you need development tools on target machine to compile OpenIsis, |
|
|
you might want to compile it on another machine and just copy perl module. |
|
117 |
|
|
118 |
4. Edit global.conf and all2xml.conf to suit your needs. Comments inside |
4. Edit global.conf and all2xml.conf to suit your needs. Comments inside |
119 |
those files should help get you started. |
those files should help get you started. |