Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Missing shell extension... or something...

  • 28-03-2007 11:48am
    #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,335 ✭✭✭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