Compiling Applications?

Discussion in 'Mac Programming' started by TheKomputerGeek, Nov 14, 2011.

  1. TheKomputerGeek macrumors newbie

    Joined:
    Aug 22, 2010
    #1
    I recently downloaded an application, and found out it was in a tar.gz file. When I expanded that file, I found out it contained only source code. How do I compile this?
     
  2. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    Do you have XCode installed?

    Do you know how to use Terminal and the command line?

    Is there a README or INSTALL file or something similar. It will have instructions on how to compile.
     
  3. johnhurley macrumors 6502a

    johnhurley

    Joined:
    Aug 29, 2011
    #3
    Typically the make command ... what application?

    Most open source apps have not only source code available but typically also a pre-compiled version so check to see what is available from where you obtained it.

    If only in source code usually there are directions on compiling it and setting it up.
     
  4. TheKomputerGeek thread starter macrumors newbie

    Joined:
    Aug 22, 2010
    #4
    I was trying compile Kino. And I tried the code in the readme file but it didn't work for me.
     
  5. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #5
    Perhaps the instructions need to be tweaked for Mac OS X. What did you try? How didn't it work? What error message(s) did you get? The more precise your answers are, the more precise our answers can be.
     
  6. TheKomputerGeek thread starter macrumors newbie

    Joined:
    Aug 22, 2010
    #6
    When I run the configure command this is what it displays:

    Code:
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... ./install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... no
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/Users/bradkidd/Downloads/kino-1.3.4':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
     
  7. Sydde macrumors 68020

    Sydde

    Joined:
    Aug 17, 2009
    #7
    Umm...
     
  8. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #8
    The easiest way to install a compiler is to download or buy Xcode. Or for pre snow lion systems, it came on one of the system install CDs/DVDs.
     
  9. TheKomputerGeek thread starter macrumors newbie

    Joined:
    Aug 22, 2010

Share This Page