- This topic has 11 replies, 4 voices, and was last updated 16 years, 4 months ago by
Rusty Myers.
-
AuthorPosts
-
November 24, 2008 at 9:00 pm #374845
Rusty Myers
ParticipantHas anyone been installing keychain minder with a package on a PPC machine? I am. I am also getting errors that it’s not supported on Intel architecture when I test my image on a new iMac.
i’m building on a g5 Powermac, testing on a brand spanking new iMac. My package installs a Launchd item, which calls a script, which calls Keychain Minder. Keychain Minder says:
“You can’t open the application “Keychain Minder” because it is not supported on this architecture.”Anyone else see this, fix this, have a suggestion? Thanks
November 25, 2008 at 3:35 pm #374859Patrick Fergus
ParticipantWhat version of Keychain Minder?
What exact command(s) are you using to launch KM? Maybe you found a unique interpretation of how to launch KM that Joel hasn’t considered.
– Patrick
November 25, 2008 at 3:45 pm #374860Rusty Myers
ParticipantKeychain Minder 1.5, just downloaded yesterday.
I’m using Launchd like this, placed in LaunchAgents:
[code]
Label
edu.psuetc.keychainminder
ProgramArguments
/Library/Scripts/ETC/login-keychainminder.sh
QueueDirectories
RunAtLoad
WatchPaths
[/code]
Here’s the script:[code]#!/bin/bash
#keychain minder scriptopen -a /Library/Managment/Keychain\ Minder.app/
exit 0
[/code]Console says:
[code]
LSOpenFromURLSpec() failed with errror -10661[/code]Thanks again!
November 25, 2008 at 4:09 pm #374864Patrick Fergus
ParticipantWhat happens if you replace KM with a hand-copied version rather than a pkg installed one?
– Patrick
November 25, 2008 at 4:45 pm #374866Rusty Myers
Participant[QUOTE][u]Quote by: Patrick+Fergus[/u][p]What happens if you replace KM with a hand-copied version rather than a pkg installed one?
– Patrick[/p][/QUOTE]
Hand copied (installed after restore) works fine.
November 25, 2008 at 4:45 pm #374867Rusty Myers
Participant[QUOTE][u]Quote by: MacTroll[/u][p]1.5 is still a fat binary for 10.4+ and lipo confirms that.
Have you tried with 1.4?[/p][/QUOTE]
Testing with 1.3 now. Didn’t find a 1.4 dl link.
November 25, 2008 at 7:41 pm #374871Patrick Fergus
Participant1.3 and 1.5 are the public releases. 1.4 was a non-public interim release.
If the hand-copied version works, but the pkg-installed version doesn’t, it seems to point to the pkg. But I’m at a loss as to what the problem might be, since I’d guess you’re only installing KM and nothing else fancy.
To double check, what does the following code report for you?[code]lipo path/to/Keychain\ Minder.app/Contents/MacOS/Keychain\ Minder -info[/code]Mine says:[code]pfergus$ lipo /Applications/Utilities/Keychain\ Minder.app/Contents/MacOS/Keychain\ Minder -info
Architectures in the fat file: /Applications/Utilities/Keychain Minder.app/Contents/MacOS/Keychain Minder are: ppc7400 i386[/code]- PatrickNovember 25, 2008 at 10:19 pm #374877Patrick Gallagher
ParticipantI have had similar problems with applescripts saved as .app’s. Something can get striped from the file (resource fork?) that prevents it from working on Leopard Intel systems. This wasn’t just pkg related, I also had the same thing happen if I had my applescripts hanging out on our NAS which is access via SMB. I resorted to putting my applescript in a disk image. You could do something similar to work around it, zip it up, lay it down with the package like before, then in your script you can unzip it.
November 25, 2008 at 11:16 pm #374878Rusty Myers
Participant[QUOTE][u]Quote by: MacTroll[/u][p]1.4 might not have been officially released, so yes, try with 1.3.
Strange that hand copying it works… I’d diff the binaries between your hand copied version and the one that your pkg installs.[/p][/QUOTE]
Keychain Minder 1.3 works as expected. I built a new package and recycled old scripts and launchd item. I’ll have to check the other suggestions.
Thanks!November 26, 2008 at 12:51 pm #374880Rusty Myers
Participant[QUOTE][u]Quote by: Patrick+Fergus[/u][p]1.3 and 1.5 are the public releases. 1.4 was a non-public interim release.
If the hand-copied version works, but the pkg-installed version doesn’t, it seems to point to the pkg. But I’m at a loss as to what the problem might be, since I’d guess you’re only installing KM and nothing else fancy.
To double check, what does the following code report for you?[code]lipo path/to/Keychain\ Minder.app/Contents/MacOS/Keychain\ Minder -info[/code]Mine says:[code]pfergus$ lipo /Applications/Utilities/Keychain\ Minder.app/Contents/MacOS/Keychain\ Minder -info
Architectures in the fat file: /Applications/Utilities/Keychain Minder.app/Contents/MacOS/Keychain Minder are: ppc7400 i386[/code]- Patrick[/p][/QUOTE]I get the same thing: Architectures in the fat file: MacOS/Keychain Minder are: ppc7400 i386
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed