If you didn’t get an error, or cleared the above errors out, continue here: Sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer Note: if you get an error that looks like this:Ĭonfigure: error: in `/usr/local/src/pcre-8.31':Ĭonfigure: error: no acceptable C compiler found in $PATHĬlick on the Xcode menu (next to the Apple menu in the top left) -> Preferences -> Downloads -> Components -> Click on Command Line Tools and click “Install” Nginx requires PCRE – Perl Compatible Regular Expressions to build, I used PCRE version 8.31.
#YOUTUBE DOWNLOADER FOR MAC OS X MOUNTAIN LION INSTALL#
Variations in your Mac’s specs, and your copy and paste skills may increase the total time to over 2 minutes.įirst, if you do not already have it installed, download and install Xcode from the Mac App Store.
For the DIY folks, I’m breaking down the steps. The “2 minute” compilation that I mention in the title of this article is when using the script that I provide below. This guide will show you how I compiled a basic version of Nginx 1.3.8 on Mac OS X 10.8.2 Mountain Lion. Please note that the included build script will still work on Snow Leopard and Lion if you don’t want to go the DIY (do it yourself) route. You may use newer versions of Nginx and the prerequisite software, but whether you choose to do so, or you stick to the packages outlined in the above article, you will get a working Nginx web server on you Mac. If you are running Mac OS X Lion (version 10.7.x), please refer to this article: Nginx on Mac OS X Lion in 2 Minutes. If you are running Mac OS X Snow Leopard (version 10.6.x), please refer to this article: Nginx on Mac OS X Snow Leopard in 2 Minutes.