Most functionality as listed here works well (exceptions are listed below)
* I recommend only installing the base files + Embedded Mozilla Browser *
What does not
What was not tested
I tested most of what I use daily:
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Ubuntu 7.10 "Gutsy" i386 (+ variants like Kubuntu)||Dec 02 2007||0.9.49.||Yes||Yes||Silver||an anonymous user|
|Current||Mac OS X 10.4 "Tiger"||Nov 26 2007||0.9.49.||Yes||Yes||Silver||an anonymous user|
jessebacon at gmail dot com
NOTES IN RED ARE TO BE RUN IN
2.16 ghz Core2Duo
2 gb ram
OS X 10.4.11
MAMP (Mac, Apache, MySql, Php)
Xcode tools from OS X installation disk
X11 from OS X installation disk.
Make sure to run Mac "Software Updates" after you install this.
Download MacPorts 1.5 (this is essentially a package management application)
Run the .pkg to install MacPorts
After MacPorts is installed you need to update it (in terminal):
sudo port -d selfupdate
After MacPorts has bee updated you can install WINE (in terminal):
sudo port install wine
This step take a fair amount of time because you are downloading the source and building it.
Everything is stored under the /opt/local directory
the WINE program can be found under /opt/local/bin after everything is installed
Brief primer on WINE:
creates ".wine" under your home directory where everything resides. In there you'll find;
reg files where Registry information is retained
"drive_c" folder where the main Windows "C:" drive is mimicked
To use wine, you must do it from inside an X11 terminal
Start X11 which is under /Applications/Utilities
path/to/wine /path/to/windows/executable inside an X11 terminal
you can easily configure wine by typing in an X11 terminal:
Before installing anything I suggest making sure there are additional fonts in the "~/.wine/drive_c/windows/fonts" directory (otherwise some fonts are garbled and unreadable)
provides a good tutorial on installing additional fonts. I
started with step 4 (the first three steps should not be
necessary because macports has already installed some necessary
dependencies - like fontforge).
Open an X11 terminal
In the terminal navigate to where WINE program isw
Technically, you can add this to your path
Run the installer using wine
I ONLY chose to install:
The main program files and
The embedded mozilla browser
The "help" does NOT work and will cause PHPEd to crash
After the installation is complete you can start phped.exe using wine
./wine ~/.wine/drive_c/Program\ Files/nusphere/phped/php.exe
Start by setting the default debugger run mode to "HTTP mode"
Under IDE Section
Run & Debug - Default Run Mode
While under "Run & Debug" check "Use custom port and host"
Under "Debugger host" enter "localhost"
I left the port the same
When starting a new project:
Wine creates mapped drive for you to use be default:
C: maps to "~/.wine/drive_c"
Z: maps to "/"
I added an additional drive for my htdocs folder using the wine configuration utility
H: which maps to "/Applications/MAMP/htdocs"
The root directory for a new project should be H:< project root >
essentially "/Applications/MAMP/htdocs/< project root >"
Run Mode -> "HTTP mode" //should be default
Root URL -> "http://localhost/< project root >"
Remote root directory -> Mac path to root
"Applications/MAMP/htdocs/< project root >"
Make sure that the debugger is installed on you web server
You can undock a tool window but you cannot resize IF you allow the window
manager to control the windows
When the auto-complete code window pops up - its content is offset and not totally viewable
In the terminal:
sudo rm -rf \
Please note that this command removes all software installed using MacPorts as well as MacPorts itself. This includes configuration files for any ports which were installed; if you need to keep them, back them up before the rm (they should be in /opt/local/etc).
This command does not remove files installed to locations outside the agreed directory tree. Thus ports that write in other places should be removed manually before removing MacPorts altogether. This includes at least xfig and transfig, but probably other X11 ports as well.
sudo port uninstall xfig
sudo port uninstall transfig