On 8 Oct 2005, at 01:38, Joel Rees wrote:

If you leave the system tar(1) alone, and install GNU tar elsewhere (eg in /sw if you use fink) *and* if you don't edit any system config stuff
like $PATHs, just edit your own $PATH in your .bash_whatever files to
put GNU tar first in your $PATH, then you *should* be OK. Treat it as
you would perl, where you would install your own perl build and leave
Apple's own perl well alone.

This is the correct approach if you must have a standard tar, as opposed to what the blog you linked (minus the trailing paren) suggests.

As it turns out, apple actually supply gnu tar as well as their own version. There's a /usr/bin/gnutar, anyway, but oddly it too leaves ._files in the archive.

The version of tar I already had (blush) in /sw/bin/tar works as expected, though. Which means the answer to building a compatible distribution tarball under tiger is just to add this to the WriteMakefile call:

    dist => {
        TAR => "/sw/bin/tar",
    }

It works for me, anyway.

best,

will

Reply via email to