X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=INSTALL;h=7da6934abe1ee9a96f6bba1958b44b36c6c0beb6;hb=78a09c5ae3692336e4a1810af151335c3310cf44;hp=973f7b557113a7c4f267cee4acbf823a12bacb3d;hpb=e406e92a931d14949db3f1a6cd37c5f2db0919cb;p=webpac diff --git a/INSTALL b/INSTALL index 973f7b5..7da6934 100644 --- a/INSTALL +++ b/INSTALL @@ -52,11 +52,9 @@ don't work for you. Config::IniFiles DBD::Pg or some other DBD driver like DBD::SQLite CGI::Application - HTML::Pager HTML::Template HTML::FillInForm - SWISH - SWISH::Fork and of course, swish-e executable + SWISH::API XML::Simple Text::Iconv TDB_File @@ -71,7 +69,7 @@ don't work for you. If you plan to use import from MARC files you will also need - MARC + MARC::Record 2.1 Installation on Debian GNU/Linux @@ -100,54 +98,29 @@ don't work for you. because they are not part of Debian distribution: CGI::Application - HTML::Pager HTML::FillInForm - SWISH - SWISH::Fork + SWISH::API and optionally some of those modules: Spreadsheet::ParseExcel - MARC + MARC::Record - For compilation of OpenIsis in next step, you will also need following - packages: +3. You will need also IsisDB module if you are using ISIS as an import format. + Currenlty, this module is available only from development site - make - gcc - libc-dev + http://svn.rot13.org/ -3. You will need OpenIsis if you are using ISIS as an import format. - Currently, WebPAC uses OpenIsis 0.9.0 which *HAVE TO BE PATCHED* - 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). + but, it should be available also through CPAN (meaning that it's stable and + tested). So, just try to install IsisDB using cpan first. - You can do that yourself, or if you did checkout of our subversion repository - you will already have latest OpenIsis in webpac/openisis/ directory. + WebPAC doesn't use OpenIsis anymore. - 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. - -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 those files should help get you started. +5. All perl code will use locale to do sorting. That also include indexes + which, while being RDBMS-based, also use perl sorting (because each + entry has ordinal number created by perl). So, be sure that LC_COLLATE + environment variable is configured for your locale (which also has to + be enabled, check dpkg-reconfigure locales if you are using Debian).