Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

schwern (1528)

  (email not shown publicly)
AOL IM: MichaelSchwern (Add Buddy, Send Message)

Schwern can destroy CPAN at his whim.

Journal of schwern (1528)

Monday September 04, 2006
06:38 PM

iBook G4 - Macbook

[ #30886 ]

Jesse just gave me his Macbook. The Hiveminder tests were taking 22 minutes on my iBook G4 1.33 Ghz and about 8 on his Macbook. He didn't want to pay me to sit around waiting for tests to run (and he wanted an excuse to get himself a 17" Macbook Pro). I am astonished how smooth the transition has been.

We wiped the Macbook using the OS X install CD. At the end of the install process it asks if you'd like to pull over your user data, config and applications from your old Mac. It walks you through the process of rebooting the old Mac into firewire drive mode. It takes a few hours to move 38 gigs so I let it run overnight. Come back and my new Macbook has all the stuff that was on the old iBook. Applications. Users. Music. Movies. Configuration. Pretty much everything. And the PowerPC binaries work just fine, even command line stuff (though I'm making sure all my important apps are Intel).

A seemless upgrade to a new computer is impressive enough. But across architectures! Wow!

Here's what was missing:
* /usr/local (apparently /usr just doesn't get copied over at all)
* /var/local (nor /var)
* My desktop background setting (presumably because its a new video device)
* XCode (gcc and the like)

And some Perl specific stuff:
* XS Perl modules did not like the architecture change.

$ perl -MCompress::Zlib -e 1
Can't load '/sw/lib/perl5/5.8.6/darwin-thread-multi-2level/auto/Compress/Zlib/Zlib.bundle' for module Compress::Zlib: dlopen(/sw/lib/perl5/5.8.6/darwin-thread-multi-2level/auto/Compress/Zlib/Zlib.bu ndle, 1): no suitable image found. Did find: /sw/lib/perl5/5.8.6/darwin-thread-multi-2level/auto/Compress/Zlib/Zlib.bundle: mach-o, but wrong architecture at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/ line 230.
  at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.

This seems to be DynaLoader not believing that you could run binaries from one architecture on another. So I'm going to have to recompile my XS code.'s "recompile" command will come in handy.

* Core Perl modules got downgraded to whatever Apple shipped with Perl. This also means I lost my config.

* was displeased that Storable got downgraded when it tried to use my old cache files, but it gracefully continued. After a Storable upgrade everything was fine.

Since I'm going to try switching from fink to darwinports anyway (and from Apple's Perl to darwinports') I'm probably just going to reinstall everything rather than have recompile.

Note: Trying to compile and build software while update_prebindings is running (ie. while doing a system update) causes the linker to be sad.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I'm still counting down the days till I can get a MacBook w/ a new Core 2 Duo + Parallels. It will be nice to be able to test on a few different OSes without having to reboot. :-)
    • Yes, Parallels is on my short list. Finally being able to test MakeMaker on Windows! Not at all for playing EVE []. Nope. ...

      Ya know its supposed to support DirectX soon?
      • That's the rumour. Almost-full speed DirectX. Let's hope that the integrated vid cards in MacBooks don't suck.