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

Can't locate File/Next.pm in @INC #459

Closed manuelmeurer closed 10 years ago

manuelmeurer commented 10 years ago

I tried to build ack from the faster-g branch but already when running perl Makefile.PL it complains Warning: prerequisite File::Next 1.10 not found. make ack-standalone then fails with Can't locate File/Next.pm in @INC

https://gist.github.com/manuelmeurer/270548a2a4939d8d986a

I am on OS X 10.9.2 with Perl v5.16.2 installed.

hoelzro commented 10 years ago

@manuelmeurer You need to install File::Next. Try this:

curl -o cpanminus -L http://cpanmin.us
chmod 755 cpanminus
./cpanminus -l extlib File::Next
export PERL5LIB=extlib/lib/perl5
perl Makefile.PL
make ack-standalone

ack-standalone will then contain a bundled up version of ack that you can try.

manuelmeurer commented 10 years ago

Thanks, that worked!

jakezhaojb commented 9 years ago

Thanks! This works well!