You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following installation instructions on a Centos7 machine, while at make test the process gave back an error, then runinng the binary checklink gave me also errors.
Perl version is v5.16.3
Any help is appreciated. Looks like it was missing some dependencies?
[root@localhost link-checker]# cpanm --installdeps .
--> Working on .
Configuring W3C-LinkChecker-4.81 ... OK
==> Found dependencies: Net::IP, CGI, Locale::Country, Config::General, CGI::Carp, CGI::Cookie, Locale::Language
make test result:
[root@localhost link-checker]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00compile.t .. syntax error at bin/checklink line 1278, near "$lines{"
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1280.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1281.
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1286.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1287.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1292.
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1292.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1298.
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1298.
Global symbol "%hostlinks" requires explicit package name at bin/checklink line 1305.
Global symbol "%hostlinks" requires explicit package name at bin/checklink line 1306.
Global symbol "%links" requires explicit package name at bin/checklink line 1319.
Global symbol "$result_anchor" requires explicit package name at bin/checklink line 1331.
Global symbol "$check_mixed_content" requires explicit package name at bin/checklink line 1339.
syntax error at bin/checklink line 1339, near "$ulinks{"
bin/checklink has too many errors.
t/00compile.t .. 1/2
# Failed test at t/00compile.t line 4.
# Looks like you failed 1 test of 2.
t/00compile.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Test Summary Report
-------------------
t/00compile.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=2, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.08 cusr 0.01 csys = 0.10 CPU)
Result: FAIL
Failed 1/1 test programs. 1/2 subtests failed.
make: *** [test_dynamic] Errore 1
make install result
[root@localhost link-checker]# make install
Manifying blib/man3/W3C::LinkChecker.3pm
Installing /usr/local/share/man/man3/W3C::LinkChecker.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
checklink output
[root@localhost link-checker]# bin/checklink
syntax error at bin/checklink line 1278, near "$lines{"
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1280.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1281.
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1286.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1287.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1292.
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1292.
Global symbol "$line_num" requires explicit package name at bin/checklink line 1298.
Global symbol "@mixedcontent" requires explicit package name at bin/checklink line 1298.
Global symbol "%hostlinks" requires explicit package name at bin/checklink line 1305.
Global symbol "%hostlinks" requires explicit package name at bin/checklink line 1306.
Global symbol "%links" requires explicit package name at bin/checklink line 1319.
Global symbol "$result_anchor" requires explicit package name at bin/checklink line 1331.
Global symbol "$check_mixed_content" requires explicit package name at bin/checklink line 1339.
syntax error at bin/checklink line 1339, near "$ulinks{"
bin/checklink has too many errors.
The text was updated successfully, but these errors were encountered:
I was following installation instructions on a Centos7 machine, while at
make test
the process gave back an error, then runinng the binarychecklink
gave me also errors.Perl version is v5.16.3
Any help is appreciated. Looks like it was missing some dependencies?
make test result:
make install result
checklink output
The text was updated successfully, but these errors were encountered: