Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8adb211a

Von Wulf vor etwa 12 Jahren hinzugefügt

  • ID 8adb211a4983c297ce4b9b6e59136ffb141a5421
  • Vorgänger d474d344
  • Nachfolger ecf1e7ec

Bessere Fehlermeldung fuer nicht-Techniker

scipts/installation_check.pl benotigt Config::Std als != core Modul
wenn dies Fehlt laesst sich der installationscheck nicht ausfuehren
-> Henne/Ei

Unterschiede anzeigen:

SL/InstallationCheck.pm
15 15
  { name => "Config::Std",                         url => "http://search.cpan.org/~dconway/",   debian => 'libconfig-std-perl' },
16 16
  { name => "DateTime",                            url => "http://search.cpan.org/~drolsky/",   debian => 'libdatetime-perl' },
17 17
  { name => "DBI",             version => '1.50',  url => "http://search.cpan.org/~timb/",      debian => 'libdbi-perl' },
18
  { name => "DBD::Pg",         version => '1.49',  url => "http://search.cpan.org/~dbdpg/",     debian => 'libdbd-pg' },
18
  { name => "DBD::Pg",         version => '1.49',  url => "http://search.cpan.org/~dbdpg/",     debian => 'libdbd-pg-perl' },
19 19
  { name => "Email::Address",                      url => "http://search.cpan.org/~rjbs/",      debian => 'libemail-address-perl' },
20 20
  { name => "FCGI",            version => '0.72',  url => "http://search.cpan.org/~mstrout/",   debian => 'libfcgi-perl' },
21 21
  { name => "JSON",                                url => "http://search.cpan.org/~makamaka",   debian => 'libjson-perl' },
scripts/installation_check.pl
13 13
  $master_templates = './templates/print/';
14 14
}
15 15

  
16
unless (eval { require Config::Std; 1 }){
17
  print STDERR <<EOL ;
18
+------------------------------------------------------------------------------+
19
  Perl Modul Config::Std could not be loaded.
20

  
21
  Debian: you may install the needed *.deb package with:
22
    apt-get install libconfig-std-perl
23

  
24
  RPM: There is a rpm package "perl-Config-Std"
25

  
26
  Suse: you may install the needed *.rpm package with:
27
    zypper install perl-Config-Std
28

  
29
+------------------------------------------------------------------------------+
30
EOL
31

  
32
  exit 72;
33
}
34

  
16 35
use SL::InstallationCheck;
17 36
use SL::LxOfficeConf;
18 37

  
38

  
19 39
my %check;
20 40
Getopt::Long::Configure ("bundling");
21 41
GetOptions(

Auch abrufbar als: Unified diff