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

Can't locate File/Next.pm in @INC (you may need to install the File::Next module) #666

Closed
yuchao86 opened this issue Jun 13, 2018 · 5 comments

Comments

@yuchao86
Copy link

yuchao86 commented Jun 13, 2018

yuchao@localhost: ~/Github/ack2 dev
 $ ls                                                                [17:05:11]
Ack.pm            ExtensionGroup.pm MYMETA.yml        dev
CONTRIBUTING.md   Filter.pm         Makefile          garage
Changes           FirstLineMatch.pm Makefile.PL       perlcriticrc
Collection.pm     Inverse.pm        Match.pm          perltidyrc
ConfigDefault.pm  Is.pm             MatchGroup.pm     pm_to_blib
ConfigFinder.pm   IsGroup.pm        README.md         record-options
ConfigLoader.pm   IsPath.pm         Resource.pm       squash
DESIGN.md         IsPathGroup.pm    Resources.pm      t
DEVELOPERS.md     LICENSE.md        ack               tack
Default.pm        MANIFEST          ack-standalone    test-pager
Extension.pm      MYMETA.json       blib              xt

yuchao@localhost: ~/Github/ack2 dev
 $ ./ack                                                             [17:06:22]
Can't locate File/Next.pm in @INC (you may need to install the File::Next module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at ./ack line 12.
BEGIN failed--compilation aborted at ./ack line 12.
FAIL
@petdance
Copy link
Collaborator

petdance commented Jun 13, 2018

Have you done anything to install ack? Or did you just check out the repository? You need to build and install ack before you can use it.

The instructions for installing ack are in the README.md file.

@yuchao86
Copy link
Author

I used the fellow command to build this ack2, but still error..

ack requires Perl 5.8.8 or higher. Perl 5.8.8 was released January 2006.

Required

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

I used the mac OS High Sierra 10.13.4...

@petdance
Copy link
Collaborator

You need to install File::Next before you can install ack. Alternatively, you can download the single-file download of ack at https://beyondgrep.com/install/

@djangohunt
Copy link

I am also getting this issue, ack and File::Next are both installed

@petdance
Copy link
Collaborator

@djangohunt This repo is for ack 2 that is no longer supported. Are you using ack 2 or 3? If 2, please try with 3. If that doesn't work, please open a new ticket over at https://github.com/beyondgrep/ack3 and give details of what you've done and your install process etc.

Thanks.

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