koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/misc Install.pm [rel_2_2]


From: paul poulain
Subject: [Koha-cvs] koha/misc Install.pm [rel_2_2]
Date: Wed, 13 Sep 2006 14:17:25 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <tipaul>   06/09/13 14:17:25

Modified files:
        misc           : Install.pm 

Log message:
        changing some requirements :
        - removing useless packages
        - adding new packages (like Date::Calc, ZOOM... which are mandatory)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/misc/Install.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.88.2.14&r2=1.88.2.15

Patches:
Index: Install.pm
===================================================================
RCS file: /cvsroot/koha/koha/misc/Install.pm,v
retrieving revision 1.88.2.14
retrieving revision 1.88.2.15
diff -u -b -r1.88.2.14 -r1.88.2.15
--- Install.pm  12 Sep 2006 09:28:22 -0000      1.88.2.14
+++ Install.pm  13 Sep 2006 14:17:24 -0000      1.88.2.15
@@ -178,30 +178,6 @@
 
 |;
 
-$messages->{'NETZ3950Missing'}->{en}=qq|
-
-The Net::Z3950 module is missing.  This module is necessary if you want to use
-Koha's Z39.50 client to download bibliographic records from other libraries.
-
-To install this module, you will need the yaz client installed from
-http://www.indexdata.dk/yaz/ and then you can install the perl module with the
-command:
-
-perl -MCPAN -e 'install Net::Z3950'
-
-...or by installing packages for your distribution, if available.
-
-IMPORTANT NOTE : If you use Perl 5.8.0, you might need to 
-edit NET::Z3950's Makefile.PL and yazwrap/Makefile.PL to include:
-
-    'DEFINE' => '-D_GNU_SOURCE',
-
-Also note that some installations of Perl on Red Hat will generate a lot of
-"'my_perl' undeclared" errors when running make in Net-Z3950.  This is fixed by
-inserting in yazwrap/ywpriv.h a line saying #include "XSUB.h"
-
-Press the <ENTER> key to continue: |;  #'
-
 $messages->{'CheckingPerlModules'}->{en} = heading('PERL MODULES') . qq|
 Checking perl modules ...
 |;
@@ -861,6 +837,11 @@
        unless (eval {require Mail::Sendmail})   { push 
@missing,"Mail::Sendmail" };
        unless (eval {require MARC::Charset})   { push @missing,"MARC::Charset" 
};
        unless (eval {require MARC::File::XML})   { push 
@missing,"MARC::File::XML" };
+       unless (eval {require MARC::File::XML})   { push @missing,"LWP::Simple" 
};
+       unless (eval {require MARC::File::XML})   { push @missing,"XML::Simple" 
};
+       unless (eval {require MARC::File::XML})   { push @missing,"Date::Calc" 
};
+       unless (eval {require MARC::File::XML})   { push 
@missing,"MARC::File::XML" };
+       unless (eval {require ZOOM})   { push @missing,"ZOOM" };
 # The following modules are not mandatory, depends on how the library want to 
use Koha
        unless (eval {require PDF::API2})   { 
                        if ($#missing>=0) { # only when $#missing >= 0 so this 
isn't fatal
@@ -884,7 +865,7 @@
        }
        unless (eval {require Net::LDAP})       {
                if ($#missing>=0) { # only when $#missing >= 0 so this isn't 
fatal
-                               push @missing, "Net::LDAP";
+                               push @missing, "You will need Net::LDAP if you 
want to authentify patrons through a LDAP";
                        }
         }
         unless (eval {require Text::Wrap})       {
@@ -892,32 +873,6 @@
                                 push @missing, "You will need Text::Wrap if 
you want to use Spine-label printing";
                         }
         }
-       unless (eval {require Event})       {
-               if ($#missing>=0) { # only when $#missing >= 0 so this isn't 
fatal
-                               push @missing, "Event";
-                       }
-    }
-    unless (eval {require Net::Z3950})       {
-               showmessage(getmessage('NETZ3950Missing'), 'PressEnter', '', 1);
-               if ($#missing>=0) { # see above note
-                       push @missing, "Net::Z3950";
-               }
-    }
-    unless (eval {require LWP::Simple})       {
-               if ($#missing>=0) { # see above note
-                       push @missing, "LWP::Simple";
-               }
-    }
-    unless (eval {require XML::Simple})       {
-               if ($#missing>=0) { # see above note
-                       push @missing, "XML::Simple";
-               }
-    unless (eval {require Date::Calc})       {
-               if ($#missing>=0) { # see above note
-                       push @missing, "Date::Calc";
-               }
-    }
-
 #
 # Print out a list of any missing modules
 #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]