Subscribe to
NSLog(); Header Image

Building MacOSX::File on Snow Leopard

For several years I've run psync to clone my drive, each night, to a bootable backup:

/usr/local/bin/psync -d -q / /Volumes/Backup

I ran into some problems compiling psync on Intel Macs initially, but then things went well.

Now I'm having trouble building MacOSX::File on Snow Leopard. The end of the process (whether I just install or force install looks like this:

make[1]: *** [Catalog.o] Error 1
make: *** [subdirs] Error 2
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 DANKOGAI/MacOSX-File-0.71.tar.gz             : make NO

Any tips? Any ideas? Any suggestions? Perl isn't my thing, to put it politely.

P.S. Downloading and building manually also fails.

5 Responses to "Building MacOSX::File on Snow Leopard"

  1. Some thoughts:

    1) Have you tried building on perl5.8.9? (man perl for info). It hasn't been updated since before 5.10.0 came out, and that's the default on Snow Leoaprd.

    2) Perhaps this message (and the rest of the thread) might prove helpful:

  2. I'm thinking now of scrapping my psync-based backup routines and looking at some of the alternatives (paid or not, I don't care - would just like what's best).

    And thanks Geoff - but building on 5.8.9 seemed to work but I don't think I want to run under 5.8.9 for regular play.

    1. Same problem here. After every upgrade since Tiger, I've had to install Dev Tools and reinstall psync (via the PsyncX GUI). And ever since Leopard I've also had to rebuild Bundle::CPAN and MacOSX:: File. But this time it's just plain broken. Here's hoping someone comes to the rescue, 'cause using big, unwieldy tools like Carbon Copy Cloner is a big drag....

    2. Jeff, I've just given up on using psync and now use rsync. The command is similarly easy and rsync has been much faster so far:

      /usr/local/bin/rsync -axq --delete / /Volumes/Roger

  3. I was able to compile MacOSX::File under Snow Leopard by using the perl5.8.9 binary (perl5.8.9 Makefile.PL) and then changing all occurrences of "gcc-4.2" to "gcc-4.0" in the auto-generated Makefiles. Without the gcc change, "make test" would fail.

    It would be nice to have a working copy under perl 5.10.0, but if one only has a few scripts that rely on the module, it's an OK solution.

    Hope this helps someone!