4/6/2023 0 Comments Openssl for mac yosemiteLaunch Terminal (in /Applications/Utilities).Sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia -volume /Volumes/Untitled -applicationpath /Applications/Install OS X Yosemite.app -nointeraction Select the text of this Terminal command and copy it:. ![]() This means that if you moved it before installing Yosemite, you need to move it back before making your installer disk. (The Terminal command used here assumes the drive is named Untitled.) Also, make sure the Yosemite installer, called Install OS X Yosemite.app, is in its default location in your main Applications folder (/Applications). Connect to your Mac a properly formatted 8GB (or larger) drive, and rename the drive Untitled.Using the createinstallmedia command in Terminal Here are the required steps: (Follow this tutorial to properly format the drive.) Your OS X user account must also have administrator privileges. That drive must also be formatted with a GUID Partition Table. Whichever method you use, you need a Mac-formatted drive (a hard drive, solid-state drive, thumb drive, or USB stick) that’s big enough to hold the installer and all its data-I recommend at least an 8GB flash drive. The Disk Utility-via-Terminal approach is for the shell junkies out there. The Disk Utility method is the way to go for people who are more comfortable in the Finder (though it does require a couple Terminal commands), and it works under Snow Leopard, Lion, Mountain Lion, Mavericks, and Yosemite. (Note that the createinstallmedia tool doesn’t work under OS X 10.6 Snow Leopard-it requires OS X 10.7 Lion or later.) ![]() The createinstallmedia method is the easiest if you’re at all comfortable using Terminal, it’s the approach that I recommend you try first. I’ve come up with three ways you can create a bootable OS X install drive for the Yosemite: using the installer’s built-in createinstallmedia tool using Disk Utility or performing the Disk Utility procedure using Terminal. The command "make" with the option " -stdlib=libstdc++" compiles and links nginx to correct platform target.Create the Yosemite install drive: The options Then you are ready to run nginx from /opt/nginx/sbin configure -prefix=/opt/nginx -with-http_ssl_module -with-ipv6 -with-openssl= Go into the directory where you just extract the file, run the following command. You have to manually create the directory ".openssl" there, and copy the needed files from "/opt/openssl" that you already build above. The nginx compiling process expect that there will be "include" and "lib" with include files and lib files in /.openssl So I document it here.ĭownload the latest file from nginx site: Īfter you down load nginx, you also need to download openssl source from , extract the file, build openssl, and keep the source directory for further use, when you build nginx./config -prefix=/opt/openssl I really have hard time when I compile nginx with openssl on Mac OS X, both El Capitan and macSierra. ![]() It looks like Tim Cook tries to alienate all professional developers from using Mac. Yosemite marked the worst debacle of Mac OS X to date, but in term of compiling C native code, El Capitan and macSierra are not much better either. From Snow Leopard until now, it becomes worse and worse with each new version of Mac OS X. It used to be very convenient to compile native C code on Mac OS X, until Snow Leopard. Mac OS X's kernel is based on Mach and Open BSD, which is a Unix-based system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |