Last 5 comments
31 years ago
Rafael:  Thank you very much, I was having a huge headache to solve the very same problem!
37 years ago
Ray:  Having the same problem. Very frustrating. Luckily, for some reason my released version worked on the iPad itself, but now I can't get it to run in the simulator. Getting no such table, which I'm guessing is an initialization error. Will continue to investigate.
38 years ago
Jeremy:  FYI, I've just tried it with the SQLite 3.7.0 preview and the same problem occurs.
Also, I'm not using any extra third-party libraries with my SQLite, so the problem isn't your Unicode extension.
38 years ago
Jeremy:  I'm having the same problem with compiling SQLite against iOS 4 for the iPad simulator, but in my case it works fine running on an actual iPad (also works in the iPhone simulator and on an iPod Touch).
Same problem with 3.6.23.1, 3.6.23, and at least back to 3.6.21. Compiling against iOS 3.2 makes it work, though that's not really an option for iPhone (as opposed to iPad) apps.
I have no idea what to do about it or how big a problem it really is...
38 years ago
Pascal:  The problem seems to have deep roots, however there is a solution, see the updated post. :)
The archive
March 2011  (1)
July 2010  (1)
July 2009  (1)
March 2009  (1)
July 2008  (3)
June 2008  (1)
May 2008  (3)
March 2008  (1)
July 2007  (1)
June 2007  (3)
May 2007  (1)
April 2007  (1)
July 2006  (2)
June 2006  (6)

Running IE 6 on Mac OS X using wine

Thursday, November 16th 2006 - 22:55
It`s now a week since I have my brand new MacBook Pro, and despite the fact that I`m absolutely happy with it, I tamper it with Installations of various kinds. So, one of the things I – as a spare time webdesigner – had to try was installing the dirty old Internet Explorer 6 through wine. I first did a test install with the 60-day trial of CrossOver Mac, a commercial wine-implementation, and this went just fine. If I could do that myself using wine, I`d get the same, but for free; so read on.
Easiest way to do this was most probably (besides buying CrossOver Mac) through Darwine and the great ies4linux – project, with which I succeeded installing IE 6 and IE 7 (sic!) on Ubuntu. But using Darwine and Mac OS X, the IE would not run. Searching for solutions, I found a thread discussing this subject over at arstechnica, which suggested compiling the latest version of wine from source. Very well, I started and indeed succeeded! Here`s the summary, quite straight after Roner`s guide on arstechnica (thank you m8!):
I used Mac OS X Tiger 10.4.8, latest X11 and XCode installed. My Terminal runs the Bash. You need to be quite familiar with the Terminal to follow this guide. Be careful with those commands, I`m not responsible if you overwrite your own data!

Basic installations
  • Install DarwinPorts if you not already have it. If you do, maybe run a sudo port -d selfupdate to get the latest and greatest.
  • Install the following packages using DarwinPorts: cabextract, wget, freetype, coreutils, fontforge.
Compile wine
  • Get the latest wine-source (which is 0.9.25 as of Nov 11th 2006) from sourceforge and unarchive it; easiest is doubleclicking it in the Finder. ;)
  • Launch X11 and open an Xterm (should open automatically); use this shell to compile wine!
  • (That`s because of the OpenGL-headers which aren`t present from Terminal.app).
  • Time to configure wine:
  • $ cd path/to/wine-0.9.xx $ ./configure
    Watch out for any errors. If there are any, try to eliminate them by installing the appropriate packages using DarwinPorts
  • If you`re set, run the two "make" commands the terminal tells you at the last lines. If that runs well, too, then do it: sudo make install
  • (You may keep the wine-directory to issue a "sudo make uninstall" later if you want to get rid of wine)
Checks and settings
  • Make sure your $PATH-variable contains the needed paths by adding the following to your ~/.profile file (if it`s not already set like that):
  • export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH
    X11 also needs to know these paths, but it doesn`t read your .profile but .bashrc instead. So let`s copy our readjusted .profile: cp ~/.profile ~/.bashrc
  • Now we need to symlink the recently installed freetype-libraries to /usr/local/lib:
  • $ ln -s /opt/local/lib/libfreetype* /usr/local/lib/
    (Mine were already installed since I built GD a week earlier, so I did skip this step)
  • check if your $DISPLAY is set: type echo $DISPLAY from an X11 Xterm. If it is anything but ":0.0", then type export DISPLAY=:0.0. Quit X11 afterwards.
Install ies4linux
  • Very good so far; now let`s fetch the latest ies4linux-package (I used 2.1 beta 3); I got mine from here. Unarchive it and cd to it using the normal Terminal.app
  • Launch the guided ies4linux-installation: ./ies4linux --beta-install-ie7
  • Answer the questions (I did not install the version 5 IEs, but used the default answer for the residual questions)
    (Note: Installation of IE 7 failed for me and I had to cancel the process using CTRL + C; maybe someone else has more luck. However, this did not affect IE 6)
    (Note 2: As gnosis points out at the ars-forum, this is due to a 'bug' in the copying mechanism, which can lead to loss of empty disk space! I suggest not using the --beta-install-ie7 ATM, although nothing happened to me.)
  • If you`re done, launch X11 again, open an Xterm and launch your IE through bin/ie6. There appear some worrying messages, but as long as the IE launches afterwards, everything is fine.

This is where I already was totally happy. However, the fonts looked quite strange, most probably they were missing since we haven`t installed Windows itself, luckily. =) However, CrossOver Mac has those fonts since their IE uses the right fonts, so copy them over from the CrossOver-Installation:
$ cp /Applications/CrossOver.app/Contents/SharedSupport/CrossOver/share/wine/fonts/* ~/.ies4linux/ie6/drive_c/windows/fonts/
If you indeed have Windows installed on another partition, you can instead symlink those fonts after erasing the fonts supplied by ies4linux:
$ rm -r ~/.ies4linux/ie6/drive_c/windows/fonts $ ln -s /Volumes/WINXP/WINDOWS/Fonts ~/.ies4linux/ie6/drive_c/windows/fonts

That is it. Remember all the IE-stuff is (by default) installed to ~/.ies4linux/. All this is perfect for testing websites, now there`s not one single reason I need Windows itself. Thanks again to all the contributors in the arstechnica-forum, especially 'Roner'; thank you!

Update Nov 29, 2007
Since a few days, ies4linux 2.99.0 is available, which has been improved quite a lot for users on the Mac, thanks to Mike Kronenberg. Download this new version and all you need to do is doubleclick the ies4linux-script. The trick with the fonts is still a good one, but all the fuss before actually running ies4linux can now be forgotten. :-)
Since ies4linux (well, ies4mac actually) now install themselves to ~/Applications/IEs 4 Mac/.ies4mac, the code to copy the fonts is slightly different:
$ cp /Applications/CrossOver.app/Contents/SharedSupport/CrossOver/share/wine/fonts/* ~/Applications/IEs\ 4\ Mac/.ies4mac/ie6/drive_c/windows/fonts/

What's even better news: To start an IE, just doubleclick the executable!
rrd at 12.05.2007 16:16

Thx! I managed to do. It took 1 hour, but now it is working. Maybe with the new ie4linux beta someone could get IE7 work. I did not managed to do
Gonzalo at 11.06.2007 05:53

Thanks!
The fonts are working for me!
Turboraketti at 22.10.2007 21:56

Excellent, but still no luck with ie7 installation (ies4linux2.1b3 wine0.9.47).
Concerning ie6
Turboraketti at 22.10.2007 21:58

(cont'd) I learned that css filter property does not work in ies4linux, which messes up some tests I need to do (eg Dean Edwards IE7 patch). Guess I still have to go Parallels to test them, unless someone have a solution (?).
Lee Taylor at 26.01.2008 03:02

Hi there, I'm greatly appreciative of all efforts on this, though it's a bit tricky for me to get going on my Intel MacBook Pro.
I keep getting the error stating "configure: WARNING: FontForge is missing."
I can open up my X11 and open up FontForge under the Applications tab. I'm guessing it's a path issue?
Can anyone throw out some ideas?

Thanks so much...
Lee Taylor at 26.01.2008 03:06

To second that, I ended up going ahead and building Wine - and when I go to run the ./ies4linux, I get the following error message: :IEs4Mac couldn't find wine or darwine:
Thanks again...
Pascal at 01.02.2008 20:19

Yes, sounds like a path-problem to me. Make sure that the path to your wine installation shows up when you enter "echo $PATH".
Comments are disabled