Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Module make problems caused by Mac OS metadata files

by Thilosophy (Curate)
on Jun 18, 2005 at 02:30 UTC ( #467927=note: print w/ replies, xml ) Need Help??


in reply to Re: Module make problems caused by Mac OS metadata files
in thread Module make problems caused by Mac OS metadata files

I think my MANIFEST file is working. The only files that end up in the archive are the files specified in MANIFEST, plus their metadata. Interestingly, these metadata files do not really exist before making the archive, they are somehow created in the process:

$ ls -la | grep Makefile.PL -rw-r--r-- 1 planz planz 577 Jun 15 18:53 Makefile.PL $ tar cf test.tar Makefile.PL $ tar tf test.tar ./._Makefile.PL Makefile.PL

So, I think if I want to stop having these metadata files in the archive, I need to pass some Mac-specific flag to the tar program. But tar --help did not reveal anything useful (just the regular GNU tar description).

My current work-around is to make the bundle on a Linux machine. Using a pre-Tiger OS X should also work, as the metadata-preservation seems to be a new feature.


Comment on Re^2: Module make problems caused by Mac OS metadata files
Download Code
Re^3: Module make problems caused by Mac OS metadata files
by davidrw (Prior) on Jun 18, 2005 at 03:30 UTC
    hmm.. no flag, eh? could it be as simple as just removing (note: i didn't test my --delete syntax) the files from the archive? was does this show as the list?
    tar cvf test.tar Makefile.PL tar --delete -vf test.tar ._Makefile.PL # any error?? tar tf test.tar # is it still there?
      Thanks, that works. So my improved workaround now becomes to "clean" the tar file before shipping it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://467927]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2014-08-28 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (260 votes), past polls