Recompiling UNIX and Linux software for OSX

Depends on the application. Generally, source code that you download comes with a README file that describes the build process. Usually it is as simple as executing the following three terminal commands

./configure
make
sudo make install

from the source directory. Some apps may also require source code or makefile modifications to work with Darwin/OS X.


Note: I've edited this with Lethe's corrections. Thanks! I was typing faster than I was thinking.
 
Do note that it's not all fun and games. You could probably get a text only linux app to compile in this way but I've tried many programs such as Gaim and BZflag which didn't ever work because libraries were missing. We may well have those libraries but it was too time consuming to find what they do and ln -s to them. Good luck to you tho!
 
Back
Top