Mac Compiling Applications?

TheKomputerGeek

macrumors newbie
Original poster
Aug 22, 2010
18
0
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?
 

jiminaus

macrumors 65816
Dec 16, 2010
1,449
1
Sydney
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.
 

johnhurley

macrumors 6502a
Aug 29, 2011
777
55
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?
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.
 

jiminaus

macrumors 65816
Dec 16, 2010
1,449
1
Sydney
I was trying compile Kino. And I tried the code in the readme file but it didn't work for me.
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.
 

TheKomputerGeek

macrumors newbie
Original poster
Aug 22, 2010
18
0
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.
 

Sydde

macrumors 68020
Aug 17, 2009
2,145
4,060
IOKWARDI
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
[B][COLOR="Red"]checking for gcc... no[/COLOR][/B]
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.
Umm...
Do you have XCode installed?
 

firewood

macrumors 604
Jul 29, 2003
7,813
1,053
Silicon Valley
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.