1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Make command not found in Mac os

Discussion in 'Mac Programming' started by sunilkumarg, Apr 11, 2012.

  1. sunilkumarg, Apr 11, 2012
    Last edited by a moderator: Apr 11, 2012

    macrumors newbie

    HI All ,

    Iam very newbi to Mac os.I am having makefile and source files.I want to build the source files using makefile ,But when Iam trying to run makefile using command make on the terminal, giving "make command not found "

    Plz help me in this and awaiting for reponse for the above problem
    Plz help me
    my mail id sunilcs_bec@yahoo.co.in
  2. macrumors 68030

    You have to install Xcode. Then, in Xcode, go to downloads, and install the command line tools.
  3. macrumors newbie

    Thanks a lot for ur informaion
  4. macrumors newbie

    "catastrophic error : cannot open source file pthread.h "

    Hi .all

    I have application .Which Iam trying to compile on MAC OS using make file.It is giving error "catastrophic error : cannot open source file pthread.h "

    Note: Iam using intel 64-bit ICC compiler(not GCC for building my application)

    Plz let me know reason and help me in this

    Thanks in advance
  5. macrumors 6502a

    Some code might help?
  6. macrumors regular

    pthread is part of POSIX, which is supported on MAC. try /usr/include dir.

Share This Page