-
All replies
-
Helpful answers
-
Dec 18, 2012 2:38 AM in response to pengyu.utby softwater,OK, a bit of research suggests that this error occurs when you try to open Macport package on machines running in 32bit mode.
Have you somehow changed either this app or your startup disk to 32 bit mode? Again, I can't help wondering whether these two accounts that you are talking about are really on the same startup disk (you still haven't confirmed that). Perhaps, you changed from 64 to 32 bit between changing accounts. Did you restart and hold down the 3 and 2 keys, for example?
In any case, ensure your machine starts up in 64 bit mode by running this command in Terminal or restart and hold down the '6' and '4' keys when powering on.
sudo systemsetup -setkernelbootarchitecture x86_64
Further info see http://support.apple.com/kb/HT3773
-
Dec 18, 2012 8:19 AM in response to softwaterby pengyu.ut,softwater wrote:
OK, a bit of research suggests that this error occurs when you try to open Macport package on machines running in 32bit mode.
Have you somehow changed either this app or your startup disk to 32 bit mode? Again, I can't help wondering whether these two accounts that you are talking about are really on the same startup disk (you still haven't confirmed that). Perhaps, you changed from 64 to 32 bit between changing accounts. Did you restart and hold down the 3 and 2 keys, for example?
In any case, ensure your machine starts up in 64 bit mode by running this command in Terminal or restart and hold down the '6' and '4' keys when powering on.
sudo systemsetup -setkernelbootarchitecture x86_64
Further info see http://support.apple.com/kb/HT3773
The two accounts use the same startup disk. I think my machine run on 64bit as I can see all my 8 GB memory. But I tried the following command (I restarted the machine after running 'systemsetup'). And it did not solve the problem.
~$ sudo systemsetup -setkernelbootarchitecture x86_64
Password:
setting kernel architecture to: x86_64
changes to kernel architecture have been saved.
~$ open ~/archive/software/MacPorts-2.1.2-10.8-MountainLion.pkg
The application cannot be opened because it has an incorrect executable format.
-
Dec 19, 2012 5:13 AM in response to pengyu.utby softwater,'fraid I'm a bit stumped. I thought I'd reply to bump this back up. Maybe it'll get noticed by someone more knowledegable who'll have an answer for you.
I'll keep an eye on this thread as I'd like to know the answer myself.
Good luck.
-
Dec 19, 2012 7:24 AM in response to softwaterby andyBall_uk,Does a Finder-Get Info on the this file show a checkbox for open in 32 bit on ML ?
/System/Library/CoreServices/Installer.app/
-
-
by Ralph Johns (UK),Dec 19, 2012 12:14 PM in response to pengyu.ut
Ralph Johns (UK)
Dec 19, 2012 12:14 PM
in response to pengyu.ut
Level 9 (73,336 points)
ApplicationsHI,
Mine does have the 32bit option
However some of the dates on yours are different to mine.
The Created and Modified Dates are different.
I would be tempted to Download and Install the COMBO version of the OS X 10.8.2 update over what you have.

8:14 PM Wednesday; December 19, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat" iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Dec 20, 2012 9:42 PM in response to Ralph Johns (UK)by pengyu.ut,Ralph Johns (UK) wrote:
HI,
Mine does have the 32bit option
However some of the dates on yours are different to mine.
The Created and Modified Dates are different.
I would be tempted to Download and Install the COMBO version of the OS X 10.8.2 update over what you have.

8:14 PM Wednesday; December 19, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat" iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images." No, SeriouslyI already have 10.8.2. Is the combo something different?
-
Dec 21, 2012 4:13 AM in response to pengyu.utby Barney-15E,If you don't have the option for starting an app in 32-bit, my guess would be you are somehow running in 32-bit. I didn't know that was possible on Mountain Lion. A Mac in 32-bit can see 8 GB of memory (It ain't Windows).
In the Terminal, copy and paste this command and post the results:
uname -a
Just running the command posted by softwater will not switch your Mac to 64-bit mode. You must restart after setting that preference. However, I didn't think it was possible to run ML in 32-bit mode.
-
Dec 21, 2012 4:22 AM in response to Barney-15Eby softwater,softwater wrote:
ensure your machine starts up in 64 bit mode by running this command in Terminal or restart and hold down the '6' and '4' keys when powering on.
sudo systemsetup -setkernelbootarchitecture x86_64
Barney-15E wrote:
Just running the command posted by softwater will not switch your Mac to 64-bit mode. You must restart after setting that preference. However, I didn't think it was possible to run ML in 32-bit mode.
I thought that was clearly implied by the 'ensure your machine starts up' part of my post.
But you're quite right. It always pays to be explicit.
-
Dec 21, 2012 6:38 AM in response to Barney-15Eby pengyu.ut,Barney-15E wrote:
If you don't have the option for starting an app in 32-bit, my guess would be you are somehow running in 32-bit. I didn't know that was possible on Mountain Lion. A Mac in 32-bit can see 8 GB of memory (It ain't Windows).
In the Terminal, copy and paste this command and post the results:
uname -a
Just running the command posted by softwater will not switch your Mac to 64-bit mode. You must restart after setting that preference. However, I didn't think it was possible to run ML in 32-bit mode.
Here is what I have.
~$ uname -a
Darwin helium.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64 x86_64 i386 MacBookPro9,1 Darwin
-
by Ralph Johns (UK),Dec 21, 2012 12:47 PM in response to pengyu.ut
Ralph Johns (UK)
Dec 21, 2012 12:47 PM
in response to pengyu.ut
Level 9 (73,336 points)
ApplicationsHI,
COMBO Updates include everything that has been updated since the first General Release of that level of the OS
So in OS X 10.8.2 you would have both the OS X 10.8.1 update stuff and the OS X 10.8.2 stuff.
"Running the COMBO" so to speak can often correct hard to trace items.
It also useful if you had a working (Apple) app before an update and "Restored" it as the Current Version via Time Machine as in most cases the app would need updating before trying to run it. Quite often for some Apple Apps their updates come in the OS Updates and they need to "match" as it were.

8:46 PM Friday; December 21, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat" iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Dec 21, 2012 12:49 PM in response to pengyu.utby Barney-15E,Please startup in Safe Mode and see if you still have the problem in that account.
-
May 22, 2013 11:13 AM in response to pengyu.utby drurychef,Hi, I am no good at all this crap. I have had my mac for a few years and probably know about 10 percent of what I could be using it for. Anyway, I just updated my itunes (the software update prompt told me too...I did as commanded) and I got the very same message you did when I tried to use my itunes.
I freaked out! Anyway, after following all this mumbo jumbe you guys are trying I tried another link on apple here....someone else was having the same problem as me.
Some one suggested going to the apple site and reinstalling the itunes.
I tried it, restarted my comp and now it works a treat!
Hope this helps
-
Feb 5, 2014 8:13 AM in response to pengyu.utby mayack,Hi,
I had exactly the same problem — it wasn't working on my user but worked fine on a guest user.
Here is how I solved this:
- Booted computer in a safe mode
- Launched problematic apps
- Restarted my computer (Make sure you've ticked option "Reopen windows when logging back")
Good luck and have fun!
-
May 12, 2014 10:42 AM in response to pengyu.utby krspond,Let's try something a bit simpler. Open the Mac App Store and go to "Purchases". Make sure you're logged in. If you aren't, log in and install the programs that will not open for you.

