Macports install of ack doesn't create correct executable
- by user1664196
I am trying to install p5-app-ack port from Mac Ports, but it seems it doesn't create a /opt/local/bin/ack binary at the end:
$ sudo port search *app-ack
Password:
p5-app-ack @1.960.0 (perl)
A grep replacement that ignores .svn/CVS/blib directories
p5.8-app-ack @1.960.0 (perl)
A grep replacement that ignores .svn/CVS/blib directories
p5.10-app-ack @1.960.0 (perl)
A grep replacement that ignores .svn/CVS/blib directories
p5.12-app-ack @1.960.0 (perl)
A grep replacement that ignores .svn/CVS/blib directories
p5.14-app-ack @1.960.0 (perl)
A grep replacement that ignores .svn/CVS/blib directories
p5.16-app-ack @1.960.0 (perl)
A grep replacement that ignores .svn/CVS/blib directories
Found 6 ports.
$ perl --version
This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level
Copyright 1987-2010, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
$ sudo port install p5-app-ack
---> Computing dependencies for p5-app-ack
---> Cleaning p5-app-ack
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 35.0%
---> No broken files found.
$
$ ls /opt/local/bin/ac*
/opt/local/bin/ack-5.12 /opt/local/bin/aclocal /opt/local/bin/aclocal-1.12 /opt/local/bin/activation-client /opt/local/bin/acyclic
$ which ack
$ ack
-bash: ack: command not found
Update
If I then try to install p5.12-app-ack afterwards, I get
$ sudo port install p5.12-app-ack
Password:
---> Computing dependencies for p5.12-app-ack
---> Cleaning p5.12-app-ack
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
$