dovrei installare monitorix nel mio sistema, dal sito SBo ho scaricato ed installato tutte le sue dipendenze e le sottodipendenze di quest'ultime.
Il problema sorge quando arrivo alla dipendenza perl-http-server-simple, questa ha bisogno della dipendenza perl-CGI, che a sua volta ha bisogno di altre dipendenze (tutte installate) tra cui perl-test-warn (questa da problemi).
perl-http-server-simple si complilerebbe e installarebbe anche senza le sue dipendenze, ma non avrebbe senso in quanto monitorix utilizza la struttura CGI per la gestione html, ergo è indispensabile installare perl-CGI. Come dicevo prima quest'ultima restitusice errore di compilazione perchè appunto ha bisogno di perl-test-warn, ma questa non ne vuole sapere di compilarsi, dandomi anch'essa errore di compilazione, questa ha però anch'essa una sua dipendenza chiamata perl-Sub-Uplevel, che ho scaricato compilato ed installato senza errori, ergo escludo errori dovuti a mancanza di dipendenze per perl-test-warn.
Riepilogo: monitorix -> perl-http-server-simple -> perl-CGI -> perl-test-warn -> perl-Sub-Uplevel
Di seguito incollo il processo di compilazione fino all'output dell'errore di perl-test-warn
Codice: Seleziona tutto
# ./perl-test-warn.SlackBuild
Test-Warn-0.36/
Test-Warn-0.36/MANIFEST
Test-Warn-0.36/Warn.pm
Test-Warn-0.36/Changes
Test-Warn-0.36/META.yml
Test-Warn-0.36/README
Test-Warn-0.36/Makefile.PL
Test-Warn-0.36/META.json
Test-Warn-0.36/t/
Test-Warn-0.36/t/warning_is.t
Test-Warn-0.36/t/warnings_like.t
Test-Warn-0.36/t/warnings_exist.t
Test-Warn-0.36/t/1.t
Test-Warn-0.36/t/carped.t
Test-Warn-0.36/t/warnings_exist1.pl
Test-Warn-0.36/t/warnings_are.t
Test-Warn-0.36/t/warning_like.t
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Test::Warn
Writing MYMETA.yml and MYMETA.json
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
cp Warn.pm blib/lib/Test/Warn.pm
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Manifying 1 pod document
PERL_DL_NONLAZY=1 "/usr/bin/perl5.22.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/1.t ............... perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/1.t ............... ok
t/carped.t .......... perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/carped.t .......... ok
t/warning_is.t ...... perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/warning_is.t ...... ok
t/warning_like.t .... perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/warning_like.t .... ok
t/warnings_are.t .... perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/warnings_are.t .... ok
t/warnings_exist.t .. perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/warnings_exist.t .. 1/?
# Failed test at t/warnings_exist.t line 36.
# got: 'perl: warning: Setting locale failed.'
# expected: 'warn_2 at t/warnings_exist1.pl line 12.'
# Failed test at t/warnings_exist.t line 36.
# got: 'perl: warning: Please check that your locale settings:'
# expected: 'ok 1'
# Failed test at t/warnings_exist.t line 36.
# got: ' LANGUAGE = (unset),'
# expected: 'ok 2'
# Failed test at t/warnings_exist.t line 36.
# got: ' LC_ALL = (unset),'
# expected: 'warn_2 at t/warnings_exist1.pl line 21.'
# Failed test at t/warnings_exist.t line 36.
# got: ' LC_COLLATE = "C",'
# expected: 'not ok 3'
# Failed test at t/warnings_exist.t line 36.
# got: ' LANG = "en_US.UFT-8"'
# expected: 'warn_2 at t/warnings_exist1.pl line 27.'
# Failed test at t/warnings_exist.t line 36.
# got: ' are supported and installed on your system.'
# expected: 'ok 4'
# Failed test at t/warnings_exist.t line 36.
# got: 'perl: warning: Falling back to the standard locale ("C").'
# expected: 'warn_2 at t/warnings_exist1.pl line 31.'
# Failed test at t/warnings_exist.t line 36.
# got: 'warn_2 at t/warnings_exist1.pl line 12.'
# expected: 'not ok 5'
# Failed test at t/warnings_exist.t line 33.
# 'ok 1'
# doesn't match '(?^:^Use of uninitialized value (?:\$a\s+)?in addition \(\+\) at t\/warnings_exist1\.pl line 36\.$)'
# Failed test at t/warnings_exist.t line 36.
# got: 'ok 2'
# expected: 'ok 6'
# Failed test at t/warnings_exist.t line 36.
# got: 'warn_2 at t/warnings_exist1.pl line 21.'
# expected: '1..6'
# Looks like you failed 12 tests of 12.
t/warnings_exist.t .. Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 12/12 subtests
t/warnings_like.t ... perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_COLLATE = "C",
LANG = "en_US.UFT-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/warnings_like.t ... ok
Test Summary Report
-------------------
t/warnings_exist.t (Wstat: 3072 Tests: 12 Failed: 12)
Failed tests: 1-12
Non-zero exit status: 12
Files=7, Tests=841, 20 wallclock secs ( 0.95 usr 0.07 sys + 18.55 cusr 0.20 csys = 19.77 CPU)
Result: FAIL
Failed 1/7 test programs. 12/841 subtests failed.
Makefile:883: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255