Home Forums Software InstaDMG Building On PPC – Keychian Minder

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #374845
    Rusty Myers
    Participant

    Has 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

    #374859
    Patrick Fergus
    Participant

    What 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

    #374860
    Rusty Myers
    Participant

    Keychain 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 script

    open -a /Library/Managment/Keychain\ Minder.app/

    exit 0
    [/code]

    Console says:
    [code]
    LSOpenFromURLSpec() failed with errror -10661[/code]

    Thanks again!

    #374864
    Patrick Fergus
    Participant

    What happens if you replace KM with a hand-copied version rather than a pkg installed one?

    – Patrick

    #374866
    Rusty 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.

    #374867
    Rusty 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.

    #374871
    Patrick Fergus
    Participant

    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

    #374877
    Patrick Gallagher
    Participant

    I 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.

    #374878
    Rusty 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!

    #374880
    Rusty 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

Comments are closed