Building MacOSX::File on Snow Leopard
Posted August 29th, 2009 @ 09:20am by Erik J. Barzeski
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 DANKOGAI/MacOSX-File-0.71.tar.gz /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.
Posted 30 Aug 2009 at 1:44pm #
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: http://www.mail-archive.com/macosx%40perl.org/msg10289.html
Posted 30 Aug 2009 at 11:00pm #
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.
Posted 05 Sep 2009 at 2:07am #
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....
Posted 05 Sep 2009 at 8:33am #
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
Posted 16 Nov 2009 at 7:48pm #
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!