QEMU is an open source computer emulator. Here I describe how I installed QEMU on Mac OS X Yosemite.
My goal was to learn more about building QEMU, and to boot Linux on QEMU.
Qemu Mac Os Guest
I downloaded and unpacked QEMU 2.3.0 (this was the latest stable release at the date I did the download), by doing
wget http://wiki.qemu-project.org/download/qemu-2.3.0.tar.bz2
tar xvjf qemu-2.3.0.tar.bz2
cd qemu-2.3.0
Then, based on my earlier experiences, I used the configure command
./configure --enable-cocoa --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu --disable-vnc
This command generated an error, telling me that
ERROR: glib-2.22 gthread-2.0 is required to compile QEMU
I tried my previous approach, where I installed the required glib version using sudo port install. I used the command
sudo port install glib-2.2
which resulted in
Warning: port definitions are more than two weeks old, consider using selfupdate
Error: Port glib-2.2 not found
I followed this advice, and did
sudo port selfupdate
but that led me into new troubles, with error messages telling me that my Xcode Command Line Tools were most likely not installed. I tried to install these tools but without luck
I was about to give up when I stumbled upon rudix. This turned out to be an attractive solution! I read at the rudix page that I should do
sudo python rudix.py install rudix
Then, from the rudix glib page, I learned that I should do
sudo rudix install glib
I did as told, and now the configure command
./configure --enable-cocoa --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu --disable-vnc
succeeded. I followed it up by building, using make, but that did not succeed.
Qemu Mac Os
I looked at the build errors, which led me to this page with advice, which told me to add make targets, resulting in lines like
scaling_helpers_test_OBJECTS = scaling-helpers-test.$(OBJEXT) utils.$(OBJEXT)
in the file
./pixman/test/Makefile
where the last target had to be added by me. A similar change, in the same Makefile, was required, and resulted in the modified line
region_test_OBJECTS = region-test.$(OBJEXT) utils.$(OBJEXT)
The errors went away, but a new link error remained. The error printout was
LINK qemu-ga
ld: library not found for -lintl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [qemu-ga] Error 1
I found this page with advice on how to solve it using brew (which was not applicable to my problem).
However, since I now had my rudix package, I chose instead to do
sudo rudix install gettext
This resulted in a successful build, and I could then also do make install to install my new QEMU.
Qemu Download Windows 10
Now I wanted to boot Linux! I looked at the QEMU Testing page, and decided to download and unpack a Linux image by doing
wget http://wiki.qemu.org/download/linux-0.2.img.bz2
bzip2 -d linux-0.2.img.bz2
A Linux boot could then be done, by starting QEMU with the downloaded Linux image as argument, as
qemu-system-i386 -hda linux-0.2.img
Mysql Mac Download
Mac OS 9 (9.0, 9.1, 9.2) Description. Mac OS 9 is the last of the 'classic' Mac operating systems. It was initially released in 1999 and discontinued in 2002. Suggested command-line qemu-system-ppc -hda 'Mac OS 9.2 HD.qcow2' -boot c -netdev user,id=mynet0 -device sungem,netdev=mynet0 -m 512 -rtc base=localtime -M mac99,via=pmu USB flash drive. Step 1: Install QEMU with Homebrew. If you're not using macOS, visit QEMU's download page to install it for your operating system. If you're using a Mac, you can use Homebrew to install QEMU. If you don't have Homebrew yet, Matthew Broberg's introduction to Homebrew will help you install and configure it. QEMU without the headache. Under the hood of UTM is QEMU, a decades old, free and open source emulation software that is widely used and actively maintained.While QEMU is powerful, it can be difficult to set up and configure with its plethora of command line options and flags. This video will show how to install Mac OS 9 - the ninth and last major release of Apple's classic Mac OS operating system on your Mac using a Virtual Machin.