I'm a little late to catch this, but while once again working on getting HomeSite+ 5.5 and Dreamweaver MX 2004 to run under WINE on Fedora Core 1 Linux (see previous blog), I came across a very interesting news article from the recent Flash Forward conference regarding WINE.

Two articles from Linux World and CNET this month cite Kevin Lynch to have reported that Macromedia will be taking a serious look at porting their products to Linux by way of WINE (Wine Is Not an Emulator).

Personally, I can't wait for it because I've been rather frustrated trying to get HomeSite and DWMX installed on Fedora. It worked well on RedHat 9, as discussed earlier, but I get this error on FC1 when installing either one:

err:virtual:map_image Standard load address for a Win32 program (0x00400000) not available - security-patched kernel ?
wine: could not load L"C:\Program Files\Common Files\InstallShield\Engine\6\Intel 32\IKernel.exe" as Win32 binary


Googling this returned an exact match on the WineHQ mailing list. The developer comments,

"For now the Fedora RPMs contain a hack to keep things rolling along, I suggest people who encounter this error use them."

I haven't quite figured out what hack he's refering to. I first tried building WINE from source (took over an hour), and then after HS and DWMX failed, I backed out with make uninstall, but I then also tried the latest RPM for FC1 as listed on the WineHQ website. But no luck.

Following that thread further, I found that someone recommended writing a wrapper script to call wine where you set LD_ASSUME_KERNEL as an environmental parameter first. This worked, and I got past the IKernel Win32 warning. The script I used to install an .exe file is this:

#!/bin/bash
LD_ASSUME_KERNEL=2.2.5 setarch i386 wine $*
export LD_ASSUME_KERNEL
WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine $1


Using the installer that I copied to the fake C drive under my local directory, ~/.wine/c/ , I ran the script and passed it a path to the installer executable, ./runwine.sh HomeSite+5.5.exe

Before attempting to install HomeSite or DWMX, I followed the recommendations from Frank's Corner including installing DCOM95, and then adding a stanza for HS and for DWMX to wine's config file.

Unfortunately, somewhere near the end of the installation sequence, it crapped out with this error in the console:

fixme:ole:MSFT_ReadValue BSTR length = 0? wine: Unhandled exception (thread 0037), starting debugger... WineDbg starting on pid 36 No debug information in ELF 'wine-kthread' ((nil)) Breakpoint 1 at 0x00a0cea0 No debug information in ELF '/usr/lib/libwine.so.1' {{many more lines like that here}} Unhandled exception: page fault on write access to 0x008de4d4 in 32-bit code In 32-bit mod. 0x401ce6ff (_aullrem+0xfbf in NTDLL.DLL): mov1 %ecx,0x0(%eax) Wine-dbg&>

There was another comment about prelink in that matching thread, so I'll try that later. Until then, I'm still hosed.

Update 3/30: I've also reproduced the same error with Homesite+ 5.5 and DreamweaverMX 2004 on Red Hat Enterprise Linux 3.0.

Checking the CodeWeavers website (they make the commercial version of Wine), the Macromedia Products page does list Dreameaver MX and Flash MX at the Bronze level (some issues remain), but Dreamweaver MX 2004 and Flash MX 2004 are listed as "known not to work". Although, I have heard additional rumblings that the MX 2004 products may work on Wine in the not too distant future, especially as Linux evolves into a primary computing platform for the Desktop.