shell script makefile problem

Discussion in 'Mac Programming' started by debug, Nov 18, 2009.

  1. debug macrumors newbie

    Joined:
    Nov 18, 2009
    #1
    Hello-

    I've been trying to compile a plugin for nuke, it comes shipped with a makefile however it doesn't appear to work, i've no idea about shell scripting but I've checked all the paths and they are all correct, any ideas what might be going wrong?


    and this is what the terminal outputs when i double click on the makefile:

    any help in getting this to work would be great, thanks!
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    How are you executing this? You are running make, not trying to execute the Makefile right?
     
  3. debug thread starter macrumors newbie

    Joined:
    Nov 18, 2009
    #3
    I've been running makefile.. that was wrong wasn't it :p

    I ran make as root and its working now, thanks!

    dom
     
  4. ChrisA macrumors G4

    Joined:
    Jan 5, 2006
    Location:
    Redondo Beach, California
    #4
    That's not a very good thing to do.

    The problem is likely the $PATH not being set up in the user account but being corect in the root account.
     
  5. debug thread starter macrumors newbie

    Joined:
    Nov 18, 2009
    #5
    What would be the best way to link this to an xcode project?

    thanks again
     

Share This Page