Opened 14 years ago

Closed 14 years ago

#24211 closed defect (invalid)

macports installation fails on leopard

Reported by: sebastian.sulger@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.2
Keywords: Cc:
Port:

Description

hello macports support,

i am trying to get macports to work on my macbook. i tried several dmg packages (1.7.0, 1.8.0, 1.8.2), of course after uninstalling any previously installed versions of macports.

specifications of my macbook: running mac os 10.5.8 2 ghz intel core 2 duo 2 gb 667 mhz ddr2 sdram

none of the packages seem to install properly. here is the message i get (after getting a 'succeed' message in the installation dialog):

[udp01961uds:~] ssulger% port
no suitable image found.  Did find:
	/Library/Tcl/macports1.0/MacPorts.dylib: no matching architecture in universal wrapper
NSCreateObjectFileImageFromFile() error: not a Mach-O MH_BUNDLE file
    while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
    ("package ifneeded" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 39)

i notice there are problems after updating to snow leopard, but i did not do so - what could be the problem here?

thanks a lot, sebastian

Change History (4)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Component: portsbase
Keywords: macports installation package 1.8.2 no suitable image found removed
Priority: HighNormal

Show output of these commands please:

file /Library/Tcl/macports1.0/MacPorts.dylib
lipo -info /Library/Tcl/macports1.0/MacPorts.dylib

comment:2 Changed 14 years ago by sebastian.sulger@…

output of file /Library/Tcl/macports1.0/MacPorts.dylib:

[udp01961uds:Irish/standard/irish-120709] ssulger% file /Library/Tcl/macports1.0/MacPorts.dylib
/Library/Tcl/macports1.0/MacPorts.dylib: Mach-O universal binary with 2 architectures
/Library/Tcl/macports1.0/MacPorts.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library ppc
/Library/Tcl/macports1.0/MacPorts.dylib (for architecture i386):	Mach-O dynamically linked shared library i386

output of lipo -info /Library/Tcl/macports1.0/MacPorts.dylib:

[udp01961uds:Irish/standard/irish-120709] ssulger% lipo -info /Library/Tcl/macports1.0/MacPorts.dylib
Architectures in the fat file: /Library/Tcl/macports1.0/MacPorts.dylib are: ppc7400 i386 
[udp01961uds:Irish/standard/irish-120709] ssulger% 

comment:3 Changed 14 years ago by jmroot (Joshua Root)

That's exactly what it's meant to look like, which means your tclsh is not running as i386, which means it's not the version that Apple ships with Leopard.

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.