Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails on Centos7 and macOS #40

Open
tassoman opened this issue Aug 26, 2020 · 2 comments
Open

Installation fails on Centos7 and macOS #40

tassoman opened this issue Aug 26, 2020 · 2 comments

Comments

@tassoman
Copy link
Contributor

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.
@flabrie
Copy link

flabrie commented Sep 1, 2021

Same error here on macOS 10.15.7 and perl 5.18.4.

@tassoman tassoman changed the title Installation fails on Centos7 Installation fails on Centos7 and macOS Sep 3, 2021
@gregoriopellegrino
Copy link

Same error here on macOS 10.15.7 and perl 5.18.4.

Same configuration, same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants