On Thu, Feb 24, 2011 at 8:06 PM, Sam Crawley via RT <
bug-App-perlbrew@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=61042 >
>
> It's not true that gnu tar installed on Solaris will always be named
> 'gtar'. For instance, if you've installed the tar package from
> sunfreeware.com, it will be named 'tar' (it's just that it'll be
> installed under /usr/local/bin, and solaris tar will still be there
> under /usr/bin).
>
Blastwave (blastwave.org) installs gnu tar as gtar under /opt/csw/bin. In
general, it seems that they have a preference for prefixing gnu equivalents
to commands already in the Solaris core system distribution with a 'g'.
Show quoted text>
> Ideally both names should be checked for, and possibly even some
> heuristics added to see if a particular tar 'looks like' gnu tar. I
> might rustle up a patch if I get a chance.
>
I submitted a similar patch to Miyagawa for cpanm. App::cpanm does have
iterate through several locations of tar, and verifies that tar --version
includes text from the GNU tar header.