I too just received my shiny new Mac Book Pro today and am upgrading from a Powerbook G4 as well. I used Apple's "firewire upgrade method" where I connected my old laptop to my new one with a firewire cable and it automagically sucked everything over. It worked amazingly well. Everything works. I expected broken binaries and heartache but it all "just works" including all my ports. I assume my ports are running with that Rosetta translation module. Will they run faster if I do a clean re-compile? I wonder if there might be some way to add an option to similar to selfupdate that is a an"arch-migrate" target that recompiles all targets for the new architecture. David
On 5 jan 2007, at 05.24, David Smoot wrote:
I assume my ports are running with that Rosetta translation module. Will they run faster if I do a clean re-compile?
Yes as well as using less memory for bytecode caching.
I wonder if there might be some way to add an option to similar to selfupdate that is a an"arch-migrate" target that recompiles all targets for the new architecture.
Presumably a force upgrade of all installed ports will recompile them for i386. sudo port -f upgrade installed I myself would take the opportunity to clean out stuff and start with a fresh /opt in a move from a PB to a Macbook. - Daniel
Well, in an interesting twist, all my installed ports themselves work but the port command is broken. I need to fix this but it is too late tonight to tackle and I see great potential for hosing my port system. Should I just re-download port and rebuild for the intel architecture? Thanks, David Error message: SmootPowerbook:~ dsmoot$ port no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture while executing "load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded" script) invoked from within "package_native require Pextlib 1.0" ("eval" body line 1) invoked from within "eval package_native $args" (procedure "package" line 14) invoked from within "package require Pextlib 1.0" (procedure "dportinit" line 311) invoked from within "dportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/loc On 1/4/07, Daniel Ericsson <deric@caveo.se> wrote:
Presumably a force upgrade of all installed ports will recompile them for i386.
sudo port -f upgrade installed
I myself would take the opportunity to clean out stuff and start with a fresh /opt in a move from a PB to a Macbook.
- Daniel
On Jan 7, 2007, at 12:15 AM, David Smoot wrote:
Well, in an interesting twist, all my installed ports themselves work but the port command is broken.
I need to fix this but it is too late tonight to tackle and I see great potential for hosing my port system.
Should I just re-download port and rebuild for the intel architecture?
That's what I would do. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
participants (3)
-
Daniel Ericsson
-
Daniel J. Luke
-
David Smoot