Hi
I have seem to fixed this issues that was reported.
Here is how to install qemu on 10.6
Prerequisites is to have apple xcode installed on your machine please download this from apple https://developer.apple.com/technologies/tools/There are many instructions around but just follow
http://blog.gns3.net/2009/10/olive-juniper/2/ under
Qemu compilation and patching on Mac OS Xwhen you get to this point and downloaded the macosx.patchwget
http://downloads.sourceforge.net/gns-3/ ... h?downloadthen do
- go to the qemu-0.11.0 folder and rename the qemu-0.11.0-macosx.patch?download to qemu-0.11.0-macosx.patch
then in terminal again patch -p1 -i qemu-0.11.0-macosx.patch
when you get to this point and downloaded the qemu-0.11.0-olive.patchwget
http://downloads.sourceforge.net/gns-3/ ... h?downloadthen do
- go to the qemu-0.11.0 folder and rename the qemu-0.11.0-olive.patch?download to qemu-0.11.0-olive.patch
then in terminal againpatch -p1 -i qemu-0.11.0-olive.patch
./configure --disable-aio --disable-kvm --disable-kqemu --disable-sdl --target-list=i386-softmmu
make
If you get an issues with compiling and get the following CC vnc-tls.o
In file included from vnc.h:80,
from vnc-tls.c:27:
vnc-tls.h:31:27: warning: gnutls/gnutls.h: No such file or directory
vnc-tls.h:32:25: warning: gnutls/x509.h: No such file or directory
In file included from vnc.h:80,
from vnc-tls.c:27:
vnc-tls.h:60: error: expected specifier-qualifier-list before ‘gnutls_session_t’
vnc-tls.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dh_params’
vnc-tls.c: In function ‘vnc_tls_initialize’:
vnc-tls.c:48: warning: implicit declaration of function ‘gnutls_global_init’
vnc-tls.c:52: warning: implicit declaration of function ‘gnutls_dh_params_init’
vnc-tls.c:52: error: ‘dh_params’ undeclared (first use in this function)
vnc-tls.c:52: error: (Each undeclared identifier is reported only once
vnc-tls.c:52: error: for each function it appears in.)
vnc-tls.c:54: warning: implicit declaration of function ‘gnutls_dh_params_generate2’
vnc-tls.c: At top level:
vnc-tls.c:67: error: expected ‘)’ before ‘transport’
vnc-tls.c:84: error: expected ‘)’ before ‘transport’
then copy the gnutls folder located in opt/local/include/ into the qemu-011.0 folder
make
sudo make install
this should then install qemu when clicking on the test button

as you can see from the picture qemu and qemu-img is set
/usr/local/bin/
now that you have done this you must run qemuwrapper first before you start gns3Assuming that you have gns3 in your applications folder go to terminal and run the following
python /Applications/GNS3.app/Contents/Resources/qemuwrapper.py
you will see terminal say
Qemu Emulator Wrapper (version 0.8.2)
Copyright (c) 2007-2011 Thomas Pani & Jeremy Grossmann
Qemu path (qemu) is valid
Qemu-img path (qemu-img) is valid
Qemu TCP control server started (port 10525).
Listening on all network interfaces
leave it running
Start gns3
when you place an ASA, Juniper etc image you will get the following warning

just click OK and ignore
I setup a ASA and router just to show connectivity

Hope this helps
10.7 InstallTo get 10.7 working this is a little different. I followed the following post
https://sites.google.com/a/ovnetworks.com/index/blog/qemujunosonosx1073I have to admit alot of this stuff I did not follow. I did the following
Then, download Qemu 0.14.1 from this page :
http://download.savannah.gnu.org/releases/qemu/and patch it with 0.14.1 patches on this link
download/file.php?id=859sudo tar xjf qemu-0.14.1.tar.gz
sudo rm xjf qemu-0.14.1-gns3_patches.tgz
sudo mv qemu-0.14.1_* qemu-0.14.1
cd qemu-0.14.1
sudo patch -p1 -i qemu-0.14.1_hw_e1000_c.patch
sudo patch -p1 -i qemu-0.14.1_block_raw-win32_c.patch
sudo patch -p1 -i qemu-0.14.1_Makefile_objs.patch
sudo patch -p1 -i qemu-0.14.1_net_c.patch
sudo patch -p1 -i qemu-0.14.1_net_h.patch
sudo patch -p1 -i qemu-0.14.1_net_udp_c.patch
sudo patch -p1 -i qemu-0.14.1_net_udp_h.patch
You have also to copy the "gnutls" folder in your Qemu folder :
/opt/local/include/gnutls
Now, configure Qemu with the following options :
sudo ./configure --prefix=/usr/local --disable-sdl --enable-cocoa --disable-docs --target-list="i386-softmmu x86_64-softmmu" --cc=/usr/bin/gcc-4.2 --host-cc=/usr/bin/gcc-4.2
Compile and Install :
sudo make
sudo make install
After that, you can check that Qemu works and loads a Junos image :
sudo qemu -L . -m 512 -hda junos.img -serial telnet:127.0.0.1:1001,server,nowait,nodelay -localtime
he also mentioned about the JUNOS image which I was unable to get to work. If anyone was able to be a working bios.bin image if you could PM or paste a link to download that would be great :)
Jeremy NOTE
I think it might be a good idea to update the
http://blog.gns3.net/2009/10/olive-juniper/2/ and add these extra steps for people that are having issues