How to install IE6 on Mac OS X (Intel) ====================================== With the advent of my gorgeous new MacBook Pro, I obviously want to take advantage of having an Intel-based machine. One of those advantages is executing Windows binaries using Wine. Now, I've got Parallels set up with Windows XP and Ubuntu Linux, allowing me to test things in foreign browsrs like IE and Konqueror quite easily. However, those VMs are on an external hard drive (due to their size) and may not always be required if you're just checking whether something renders correctly in IE or not. The approach discussed here only needs approximatly 150 MiB and integrates IE6 as an X11 window. Here's how I got IE6 running "natively" on OS X: 1. Install prerequisites: * XCode **including** the X11 SDK (which didn't seem to be installed with a default XCode installation). Both are on the DVD that came with the machine. Oh, and you need X11 itself as well, of course. * MacPorts_ (formerly known as DarwinPorts_) 2. Install necessary ports (using ``sudo port install ``): * ``freetype`` (needed by WINE) * ``fontforge`` (needed by WINE) * ``wget`` (needed by ies4linux) * ``cabextract`` (needed by ies4linux) 3. Get WINE_ sources and compiled them: * I know there's Darwine_ which aims at integrating WINE nicely into OSX (you can double click on an .exe), but it's not sufficient for ies4linux_. * Add ``/usr/X11R6/bin`` to your ``PATH``, without it the ``configure`` script doesn't seem to find the OpenGL headers (yeah, it sounds weird, but trust me):: export PATH=$PATH:/usr/X11R6/bin * Execute the ``configure`` script. If it complains about any libraries missing even though you installed the corresponding ports, try pointing it to the right library and include paths manually:: export CPPFLAGS=-I/opt/local/include export LDFLAGS=-L/opt/local/lib * When there are no complaints about missing stuff from ``configure``, execute ``make depend``, ``make`` and finally ``sudo make install``. * Try out WINE by executing one of the simple Windows programs like ``NOTEPAD.EXE``:: wine NOTEPAD.EXE If it complaints about freetype not being available, try symlinking the libraries to a place where WINE can find them, e.g.:: sudo ln -s /opt/local/lib/libfreetype.* /usr/local/lib 4. Get ies4linux_ and install it by simply executing the ``ies4linux`` script. It will guide you through the setup and automatically download IE6 and set it up. Note that I did not try installing IE7 yet. .. _MacPorts: http://macports.org .. _DarwinPorts: http://darwinports.opendarwin.org/ .. _WINE: http://winehq.com .. _Darwine: http://darwine.opendarwin.org .. _ies4linux: http://www.tatanka.com.br/ies4linux/page/Main_Page **Update: Screenshot** .. image:: http://worldcookery.com/Private/ie6osx.png :width: 274 :height: 236