Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Missing shell extension... or something...

  • 28-03-2007 12:48PM
    #1
    Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭


    This could go in the Mac forum but I'm sure I'd get more help here ;)

    As I'm sure ye know OS X is based on a Linux kernel. I'm a Mac developer (only just learning, mind) and I'm doing a lot of command-line based stuff. Apple's PackageMaker is supposed to be accessible from the command line but it doesn't seem to be installed here... It has a manual entry alright but thats about it.

    Can anyone tell me how to go about installing its shell extension or whatevermajiggy? Thanks!


Comments

  • Registered Users, Registered Users 2 Posts: 5,333 ✭✭✭Cake Fiend


    cornbb wrote:
    As I'm sure ye know OS X is based on a Linux kernel

    Nope, BSD kernel. Can you run the package manager from the GUI OK? Check where the icon points to - it's possible that whatever it runs isn't in your path when you use the CLI.

    It's also possible (probable, I would have thought) that you can't run the package manager as a regular user - the GUI link probably gets you to enter your root password (or uses something similar to 'sudo').


  • Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭cornbb


    Oh, ok. Yep, it runs fine in the GUI - the icon points to the PackageMaker.app application in /Volumes/Macintosh HD/Developer/Applications/Utilities

    The GUI link lets me run as a regular user so I don't think thats it. Humm, I'll keep trying


  • Registered Users, Registered Users 2 Posts: 1,287 ✭✭✭joe_chicken


    ??
    /Developer/Applications/PackageMaker.app/Contents/MacOS/PackageMaker
    

    That any good?


  • Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭cornbb


    Thats where the application is alright... but launching it from there just opens PackageMaker with its usual GUI. I need to be able to run it completely from the command line as I need to manipulate packages using shell scripts. The man page for packagemaker looks something like this:
    PackageMaker(1)           BSD General Commands Manual          PackageMaker(1)
    
    NAME
         PackageMaker, packagemaker -- Installation-package creation tool
    
    SYNOPSIS
         PackageMaker -build -p destination-path -f root-path [-b build-dir] [-s]
                      [-ds] [-v] [-u] [-r resources-path] [-i info-file]
                      [-d description-file]
    
         PackageMaker -build -mi | -ms | -mc pkg-dir -p destination-path [-v]
                      [-r resources-path] [-i info-file] [-d description-file]
    
         PackageMaker -build -proj project-path -p destination-path [-v]
    
         PackageMaker -build -snapshot snapshot-path [-b build-dir] [-s] [-ds]
                      [-v] [-u] [-r resources-path] [-i info-file]
                      [-d description-file] [-v]
    
         PackageMaker --snapshot root-path destination-path
    
         PackageMaker -help
    
    DESCRIPTION
         PackageMaker allows you to package files in a way that makes it easy for
         end users to install them on their computers.
    ...
    


  • Registered Users, Registered Users 2 Posts: 1,287 ✭✭✭joe_chicken


    What happens when you run it with all the args?:
    PackageMaker -build -p destination-path -f root-path [-b build-dir] [-s]
             [-ds] [-v] [-u] [-r resources-path] [-i info-file] [-d description-file]
    


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭cornbb


    Ah! Ok, we're getting somewhere now. Still not running perfectly but I just have to figure out which args to use and what to do with em. Cheers...


Advertisement