
You can manually set the target architecture with -target-arch=x86 or amd64, if some architecture related problems occur.
Change to the root directory of the sources and execute the configure script:. If you are running 10.10 (Yosemite) there is a boot-args option for allowing the loading of unsigned kexts. Loading self-built kernel extensions (kexts) on more recent OS X may require changes to the system config unless you have a kext signing certificate and is running 10.14 (High Sierra) or earlier.įor 10.11 (El Capitan) and later boot to the recovery partition and either enabling loading of unsigned kexts:įor 10.15 (Catalina) and later you also need to disable the reboot requirement (also from recovery partition):. Sudo port install libidl acpica yasm subversion doxygen texlive texlive-latex-extra texlive-fonts-extra x86_64-elf-gccĭoxygen, texlive* and x86_64-elf-gcc are optional (first two for documentation, latter for the validation kit). Until recently the official builds were done using Xcode 6.2 (you may use the tools/darwin.amd64/bin/ script to 'install' the necessary bits on later OS X versions).Īfter installing MacPorts, do not forget to make sure the following two lines are in your ~/.profile or ~/.zprofile file and actually loaded in the shell you're using:Įxport PATH=/opt/local/bin:/opt/local/sbin:$PATHĮxport MANPATH=/opt/local/share/man:$MANPATH Xcode matching your Mac OS X version ( ). 10.10.x (Yosemite) or later running on Intel hardware (PowerPC hardware is not supported nor is building an X11 variant). Next, go where you have downloaded the macOS image file and right click and click on Extract.Mac OS X build instructions Prerequisites on Mac OS X. After the download of the VirtualBox just installs it by clicking some next and install.
Step 2 VirtualBox and macOS image file setup Next, you need to download the macOS image file from these links Download MAC – MEGA or MAC ().We need to install VirtualBox on our computer, then we can download the macOS virtual machine package from Apple Store, and use VirtualBox to run macOS in the virtual environment. VirtualBox is a free x86 virtualization software that allows us to install macOS on a virtual computer. So, you can download it from here Downloads – Oracle VM VirtualBox. So to continue the installation we need the Oracle VirtualBox software if you don’t have already installed.Step 1 Download the VirtualBox and macOS image file Step 2 VirtualBox and macOS image file setup.
Step 1 Download the VirtualBox and macOS image file.