Installing Qemu on MacOS Yosemite

So, today I tried downloading/building Qemu on my MacBook running Yosemite (OSX 10.10). Here's what I had to do to make it happen....

  • Install MacPorts: https://guide.macports.org/#installing.macports
  • Update MacPorts
    sudo port selfupdate
  • Accept the Xcode license:
    sudo xcodebuild -license
  • Install Xcode command line utils:
    xcode-select --install
  • Install the following 'port' packages
    sudo port
    install libtool
    install autoconf
    install automake
    install glib2
    install pkgconfig
    install libpixman
  • Run configure
    ./configure --target-list=ppcemb-softmmu,ppc-softmmu
  • Run make
    make
    • While trying to build the qemu binaries, the link failed for a couple of the test applications. These (probably) aren't needed, so we can just ignore them. To resolve that, use the workaround here:
      https://virtuallyfun.superglobalmegacorp.com/2015/05/03/qemu/
      touch /pixman/test/region-testtouch /pixman/test/scaling-helpers-test
    • Then, run make again
  • Install Qemu (optional)
    sudo make install
Now, if you did the 'make install' step, you should be able to run the qemu tools from the command line.

Reference links:

  • Qemu Mac build/install instructions: http://wiki.qemu.org/Hosts/Mac

Popular posts from this blog

Running Bare Metal PowerPC e500 Hello World

First Attempt at Retrobrite - Keyboard and Mouse