/[webpac]/branches/hidra/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 /branches/hidra/INSTALL

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

revision 242 by dpavlin, Mon Mar 8 18:07:37 2004 UTC revision 248 by dpavlin, Mon Mar 8 20:32:36 2004 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
                                 use the one which came with distribution  
                                 (e.g. libdbd-pg-perl on Debian)  
54          CGI::Application          CGI::Application
55          HTML::Pager          HTML::Pager
56          HTML::Template          HTML::Template
57          HTML::FillInForm          HTML::FillInForm
58          SWISH          SWISH
59          SWISH::Fork             and of course, swish-e executable          SWISH::Fork             and of course, swish-e executable
                                 (e.g. swish-e package on Debian)  
60          XML::Simple          XML::Simple
61    
62     CPAN shell will also download some more modules to satisfy dependencies.     CPAN shell will also download some more modules to satisfy dependencies.
63    
64    
65     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:
66    
67          Spreadsheet::ParseExcel          Spreadsheet::ParseExcel
# Line 72  don't work for you. Line 70  don't work for you.
70    
71          MARC          MARC
72    
73    
74    2.1 Installation on Debian GNU/Linux
75    
76       You will need following packages to get started:
77    
78            perl
79            swish-e
80    
81       and all additional packages which are dependencies.
82    
83       You also don't have to install all CPAN modules manually. Just use
84       following Debian packages:
85    
86            libtext-unaccent-perl
87            libconfig-inifiles-perl
88            libdbd-pg-perl
89            libhtml-template-perl
90            libxml-simple-perl
91    
92       and install following packages by hand from CPAN
93       because they are not part of Debian distribution:
94    
95            CGI::Application
96            HTML::Pager
97            HTML::FillInForm
98            SWISH
99            SWISH::Fork
100    
101       and optionally some of those modules:
102    
103            Spreadsheet::ParseExcel
104            MARC
105    
106       For compilation of OpenIsis in next step, you will also need following
107       packages:
108    
109            make
110            gcc
111            libc-dev
112    
113  3. You will need OpenIsis if you are using ISIS as an import format.  3. You will need OpenIsis if you are using ISIS as an import format.
114     Currently, WebPAC uses OpenIsis 0.9.0 which *HAVE TO BE PATCHED*     Currently, WebPAC uses OpenIsis 0.9.0 which *HAVE TO BE PATCHED*
115     with special patch so that perl module OpenIsis.pm have close call     with special patch so that perl module OpenIsis.pm have close call
116     (because there is hard-limit of 32 ISIS files in OpenIsis.pm, and that     (because there is hard-limit of 32 ISIS files in OpenIsis.pm, and that
117     is too low for our use).     is too low for our use).
118    
119     Get OpenIsis from:     You can do that yourself, or if you did checkout of our subversion repository
120       you will already have latest OpenIsis in webpac/openisis/ directory.
121    
122       If you want to do it yourself, first get OpenIsis from:
123          http://openisis.org/Doc/GetIt          http://openisis.org/Doc/GetIt
124    
125     Get patch for close from:     Then get patch for close from:
126          http://www.rot13.org/~dpavlin/projects/openisis-0.9.0-perl_close.diff          http://www.rot13.org/~dpavlin/projects/openisis-0.9.0-perl_close.diff
127    
128     Unpack OpenIsis archive and apply patch -p0 to source tree. Type make, and     Unpack OpenIsis archive and apply patch -p0 to source tree.
129     than:  
130       Eater way, now you got OpenIsis 0.9.0 with close support for perl. So,
131       first compile C parts:
132    
133            make
134    
135       And then compile perl module and install it:
136    
137            make perl
138          cd perl          cd perl
         perl Makefile.PL  
         make  
139          sudo make install          sudo make install
140    
141       Since you need development tools on target machine to compile OpenIsis,
142       you might want to compile it on another machine and just copy perl module.
143    
144  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
145     those files should help get you started.     those files should help get you started.
146    

Legend:
Removed from v.242  
changed lines
  Added in v.248

  ViewVC Help
Powered by ViewVC 1.1.26