wine
Guides and documentation
Wine will now run Dreamweaver 4 -- even the free Wine -- but it reportedly
runs a bit slowly.
Software
cvs -d:pserver:cvs@cvs.winehq.com:/home/wine login
cvs -z 3 -d:pserver:cvs@cvs.winehq.com:/home/wine co wine
The -z 3 sets compression level.
Examples of other useful options (see the CVS documentation for details):
- cvs update -A (update from the head of the tree, and ignore tags)
- cvs -n update (test only, don't make changes)
- cvs update -r Wine-YYMMDD (get the revision with the tag for a Wine
snapshot)
- cvs update -D date (get the revision associated with an arbitrary
date)
Ideas
Put a native version of msvcrt.dll in Wine's system directory and start
Dreamweaver with:
'wine -dll msvcrt=n dreamweaver.exe'
Installation history
15 March 2007
To run mplayer and other programs in 32-bit (and thus in wine if you want to), issue as root,
chmod 4755 /usr/bin/chroot
so you can chroot as a non-root user. Then cd to your home directory
and source .bashrc -- you now have a 32-bit command prompt, and can run
mplayer from the cli for instance. And wine.
27 September 2006
Finally returned to wine, installed 0.9.19-1 in chroot on
trevi and then installed the Win Firefox version, and flash and
shockwave -- all fine. Dreamweaver 4 still fails, but no big deal. At
least you can now view web pages in Windows if you want to. Make a
symlink in /usr/local/bin so that wine can be run from the commandline
in 64-bit space. The good news: cutting and pasting works both ways!
Some time in 2002
Wine configured really well -- I added gl.h and glx.h, and the cups-devel.
There are a few other things that perhaps should be added. The compilation
went without a hitch. I get the sense that I have a fairly stable and
complete Linux installation now, one that the various installers like.
Wine takes ages to compile. The interesting thing is that while it compiles,
even though it uses 100% of CPU resources, it doesn't slow down typing
at all.
This is the joy of Linux: the rapid download from cvs, the configuration
that finds nearly everything it looks for and hopefully everything it
needs, the compilation -- a long one. The make install puts wine into
/usr/local -- into lib, include, and so on. I somehow expected a windows
emulator, but of course this is not what this is - it's a straightforward
Linux program.
Still, after doing ./configure, make, and make install, I discovered
that I should have followed very different instrutions and run ./tools/wineinstall.
That also ran fine -- much the same thing -- but when I tried to run a
program in wine, I got this:
steen@gubbio:/windows/C/windows> wine notepad
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/desktop.ini"
err = 55
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/tbm3002.tmp"
err = 55
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/tbm3025.tmp"
err = 55
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/tbm3030.tmp"
err = 55
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/tbm3051.tmp"
err = 55
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/tbm3043.tmp"
err = 55
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/tbm3044.tmp"
err = 55
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/modern.fon"
err = 2
err:font:AddFontFileToList Unable to load font file "/windows/C/windows/fonts/spssms__.fot"
err = 2wine: Unhandled exception, starting debugger...
err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags
0 addr 0x402a0587
So basically it can't handle fonts; there is likely a workaround.
22 August 2002 someone wrote (not me):
I finally got Dreamweaver 4 running under Linux. I just did it after
3 hours of putzing around. If all goes well this should take you 20-30
minutes (if you have Debian...).
Here's how I did it:
First, a little about my system:
I'm running the latest unstable version of Debian, sid (which will
most likely be 3.2, it doesn't have an 'official' version number yet.)
I installed wine using apt.... "sudo apt-get install wine". I also had
to install winesetuptk... "sudo apt-get install winesetuptk". I'm also
running KDE 3 if that is important, I doubt it though. The version of
wine I ended up with is 20020605.
Ok, so here's how I installed Dreamweaver under Linux, step-by-step
(although these need not be done in order, i think):
STEP 1: Set up wine.
After I installed wine, I ran "wine" at my command prompt and hit "Configure
Wine." I clicked on "~/.wine/config" for the location of my wine config
file... Here's what I have under each menu:
-Basic Look and Feel: Windows Version: Win95 -Basic Window Mode: Managed
(The first time I got it to run though, it was unmanaged) -Advanced
Drives: (These were the default settings...)
-C HD ${HOME}/.wine/c
-D CD-ROM /cdrom
-E Network ${HOME}
-F Network /
-Advanced Paths: (These were the default settings...)
-Windows c:\windows
-System c:\windows\system
-Profile c:\windows\Profiles\Administrator
-Temp: c:\windows\temp
-Path: c:\windows;c:\windows\system;e:\
-Advanced Look and Feel: (These were the default settings...)
-Use DGA: checked
-Use X shared memory: checked
-the other two are unchecked
-DLLS:
I downloaded 4 different DLL's to make this work. They are Win 9x
versions of the dlls... apparently win2k versions don't work. The dll's
in questionare commctrl.dll, comctl32.dll, imm32.dll and wininet.dll.
I found them all by using google: http://dll-files.com/ had most of
them... i had trouble finding imm32.dll but found it quickly when just
typing imm32.dll in google.
Anyway, I have both ~/.wine/c/Windows/System and a ~/.wine/fake_windows/Windows/System
directories. I don't know if this is because of something i did (I downloaded
Wine tools (http://www.franksworld.net/wine/pages/winetools.html) at
one point and fooled around with that which may be why the two dirs
are there) but wine seems to be using ~/.wine/c/. I did copy all four
of the dll's to both system directories, however.
Finally... you should copy those dlls into the system folders, and
then hit "add" at the bottom of the dll's tab in wine's configuration
and type their names in, also designating them as "native" dll files.
-I didn't fool with any of the other tabs. Ok, so now hit finish.
STEP 2: Update wine's registry:
I found winedefault.reg by typing "locate winedefault.reg" at
the command prompt. It came up with something like /lib/docs/wine/winedefault.reg.gz
so I copied that over to ~/.wine, gunzip'd it (gunzip winedefault.reg.gz),
and left it in the .wine directory while removing the gz file. I then
ran "regapi setValue < winedefault.reg".
STEP 3: stdole32.tlb
I located stdole32.tlb at one of those windows missing files sites
(found it through google) and copied it into both system directories.
I didn't need to add it into any wine config entries.
STEP 4: Install DCOM
I installed both dcom95 and dcom98. I don't know if I need both or
one or which one or whatever. It works, so I smile, nod, and don't ask
questions. :-) Dcom95 is located here: http://www.microsoft.com/com/dcom/dcom95/download.asp
Dcom98 is located here: http://www.microsoft.com/com/dcom/dcom98/download.asp
Download them. Install them by typing "wine dcom95.exe" and "wine dcom98.exe"
in the directory to which you downloaded them.
Ok, so after I did all of this in some order, I kept running "wine
dreamweaversetup.exe" over and over and it crashed and I tweaked and
it crashed and I tweaked until all my settings and files were set up
as they are above. So hopefully you will be able to run "wine dreamweaverwhatever.exe"
and the install screen will successfully pop up, run, and install. Then,
you need to go to ~/.wine/c/ Program\ Files/Macromedia/Dreamweaver\
4/ and in that directory run "wine dreamweaver.exe" (or whatever the
exe is called). And, viola, it *should* work.
Yay! So, hopefully my blood, sweat, and tears have helped you and it
works for you. If not, well, I'll try to help but I'm no expert on anything
so I don't know how well I can help. I did a lot of tweaking and screwing
around so maybe I forgot some key step or file or something.
Here are some of the documents that helped me along in my journey:
http://franksworld.net/wine/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=4&page=1
http://franksworld.net/wine/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=3&page=1
http://www.winehq.org/cgi-bin/fom?_recurse=1&file=168#file_601
http://www.winehq.org/cgi-bin/fom?amp=&auth=none&file=314
http://www.winehq.org/cgi-bin/fom?_recurse=1&file=168
Some sites for the dlls and tlb file: http://www.dll-files.com/
http://www.webattack.com/help/missingfiles.html (their version of commctrl.dll
is the wrong one, btw.. but it's where i got the tlb file)
http://www.dllstorage.com.ua/dll/I.html (imm32.dll is here)
http://pacosdrivers.com/dllresults.asp http://dll.yaroslavl.ru/index.php3?
download=imm32.dll&ver=2 http://www.uforesources.com/ dlldownload.html
Good luck, ~mo:-)
I hope this helps somebody out.
Notes
If you use client side font rendering, there are no more cached font
metrics. That hassle goes away. Client side rendering does require very
recent versions of libfreetype and libxrender, though. And fonts look
better, as a nice bonus.
Frank's Place -- with install instructions: http://www.franksworld.net/wineguide/
This WINE configuration will not use an existing Windows installation,
doing so can corrupt some directory names on your Windows partition causing
Windows not to work properly anymore. It is safer to create a fake Windows
installation on your Linux partition
|