beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 138 forks source link

Make test is failing #648

Closed PezCoder closed 7 years ago

PezCoder commented 7 years ago

What ?

I'm following the instructions specified in this repository to install ack2 i.e

# Required
perl Makefile.PL
make
make test
sudo make install # for a system-wide installation (recommended)

Machine info

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty

perl 5, version 18, subversion 2 (v5.18.2)

Output for make test command

Output logs

I'm assuming that the test has to pass for me to continue with sudo make install i actually tried it with failing tests & it broke everything.

Help 🙏🏽

petdance commented 7 years ago

Is File::Next installed? What is the output from perl Makefile.PL?

PezCoder commented 7 years ago
  1. Is File::Next a dependency for ack2, i'll check if so.
  2. output for perl Makefile.PL
    Warning: prerequisite File::Next 1.16 not found. We have 1.12.
    Writing Makefile for ack
    Writing MYMETA.yml and MYMETA.json
petdance commented 7 years ago

Is File::Next a dependency for ack2, i'll check if so.

That's what this error is saying.

Warning: prerequisite File::Next 1.16 not found. We have 1.12.
PezCoder commented 7 years ago

Yeah, I'll upgrade it & check, Thanks.

petdance commented 7 years ago

Makefile.PL is a little weird. You have to read the output from it. Even though it makes a makefile, and therefore you're able to run make test, that doesn't mean that everything is OK.

PezCoder commented 7 years ago

Thanks for the quick response @petdance After installing your File::Next package it went smoothly.