/[webpac]/trunk/INSTALL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 220 by dpavlin, Thu Feb 5 11:04:03 2004 UTC revision 775 by dpavlin, Sun Aug 3 06:31:00 2008 UTC
# Line 1  Line 1 
1  beta-beta-beta INSTALL INSTRUCTIONS  INSTALL INSTRUCTIONS
2    
3  Feel free to contact me via e-mail to dpavlin@rot13.org if those instructions  Feel free to contact me via e-mail to dpavlin@rot13.org if those instructions
4  don't work for you.  don't work for you.
# Line 50  don't work for you. Line 50  don't work for you.
50                                  to get this one from                                  to get this one from
51                                  http://savannah.nongnu.org/projects/unac/                                  http://savannah.nongnu.org/projects/unac/
52          Config::IniFiles          Config::IniFiles
53          DBD::Pg                 or some other DBD driver, you can also          DBD::Pg                 or some other DBD driver like DBD::SQLite
                                 use the one which came with distribution  
                                 (e.g. libdbd-pg-perl on Debian)  
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  
                                 (e.g. swish-e package on Debian)  
58          XML::Simple          XML::Simple
59            Text::Iconv
60            GDBM_File
61            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.
64    
65    
66     If you plan to use M$ Excel files for import (type=excel), you will need:     If you plan to use M$ Excel files for import (type=excel), you will need:
67    
68          Spreadsheet::ParseExcel          Spreadsheet::ParseExcel
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
76    
77       You will need following packages to get started:
78    
79            perl
80            swish-e
81    
82       and all additional packages which are dependencies.
83    
84       You also don't have to install all CPAN modules manually. Just use
85       following Debian packages:
86    
87            libtext-unaccent-perl
88            libconfig-inifiles-perl
89            libdbd-pg-perl          or some other DBD driver
90            libdbd-sqlite-perl      like DBD::SQLite
91            libhtml-template-perl
92            libxml-simple-perl
93            libtext-iconv-perl
94            libhtml-parser-perl
95    
96       and install following packages by hand from CPAN
97       because they are not part of Debian distribution:
98    
99            CGI::Application
100            HTML::FillInForm
101            SWISH::API
102    
103       and optionally some of those modules:
104    
105  3. You will need OpenIsis if you are using ISIS as an import format.          Spreadsheet::ParseExcel
106     Currently, WebPAC uses OpenIsis 0.9.0 which *HAVE TO BE PATCHED*          MARC::Record
    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).  
107    
108     Get OpenIsis from:  3. You will need also IsisDB module if you are using ISIS as an import format.
109          http://openisis.org/Doc/GetIt     Currenlty, this module is available only from development site
110    
111     Get patch for close from:          http://svn.rot13.org/
         http://www.rot13.org/~dpavlin/projects/openisis-0.9.0-perl_close.diff  
112    
113     Unpack OpenIsis archive and apply patch -p0 to source tree. Type make, and     but, it should be available also through CPAN (meaning that it's stable and
114     than:     tested). So, just try to install IsisDB using cpan first.
115    
116          cd perl     WebPAC doesn't use OpenIsis anymore.
         perl Makefile.PL  
         make  
         sudo make install  
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.
120    
121    5. All perl code will use locale to do sorting. That also include indexes
122       which, while being RDBMS-based, also use perl sorting (because each
123       entry has ordinal number created by perl). So, be sure that LC_COLLATE
124       environment variable is configured for your locale (which also has to
125       be enabled, check dpkg-reconfigure locales if you are using Debian).

Legend:
Removed from v.220  
changed lines
  Added in v.775

  ViewVC Help
Powered by ViewVC 1.1.26