How to Compile and install Wine Source!

First, you must download the source for Wine, do the following command:
wget http://downloads.sourceforge.net/wine/wine-1.0.tar.bz2
As shown on:
winedl.png
Once it is finish, do the following command to decompress it:
bunzip2 -dv wine-1.0.tar.bz2
As shown on:
unzipbz2.png
Next, use tar to unzip it:
tar xvf wine-1.0.tar
As shown on:
unziptar.png
Now, in order to compile anything, you must have a compiler, so we install gcc:
sudo apt-get install gcc
As shown on:
gccinstall.png
Now we need to use the command make in order to run the command "make depend && make" later on, which is basically telling it to compile and link everything, so in order to use the command "make", we need to install it:
sudo apt-get install make
As shown on:
makeinstall.png
Now, for all of the full features and mostly stuff that wine uses, we need to install the developement "dev" of that feature/function/part.
So We Install Dependecies:
sudo apt-get install lib64ncurses5-dev libcupsys2-dev libXxf86vm-dev libxcomposite-dev libhal-dev libsane-dev libgphoto2-dev libldap-dev libcapi20-dev libxml2-dev libxslt-dev libcurl3-openssl-dev libqt3-mt-dev xlibs-dev bison flex libc6-dev
As shown on:
installdep.png
When that is done change to the directory where configure script is:
cd wine-1.0
Finally, we configure the installer with the following command and wait for it to finish:
./configure
As shown on:
configure.png
Now we know that we need to do the following command:
make depend && make
because it tells us to after running the configure script:
As shown on:
make depend && make_after_cfg.png
Which basically compiles wine, and gets it ready to install.
Note: this step "make depend && make" does take a very long to complete, I recommend playing a game or doing something else while it completes, as seen on the pictures below it can take a very long time, it look me around an hour to finish
this step!
As shown on:
make depend make_after_cfg_etc_blah2.png
make_after_cfg_omfg_hurry_up3.png
winemake depend make_finish.png

Finally, the final step to compiling/installing wine, we run the wine installer, in order to do so, do the following commands:
cd tools
./wineinstall

As shown on:
wineinstall.png
When prompted type "yes" and hit the enter key, now it may take you a long time, it says "Compiling Wine. Grab a lunch or two, rent a video, or whatever,
in the meantime...", which it didn't take nearly as long as "make depend && make" did, atleast for me, anyway when its halfway finish it will create the binaries.
As shown on:
result of make binaries.png
Congratulations, you are now finish installing/compiling wine, to see wine's version and to make sure it worked correctly do this:
wine --version
Now you can test it out like I did, I ran XFire, a windows instant messenger, and it worked, of course but not to perfection, I can use it and see the names when I hover my mouse over it, but it does work though : ) happy compiling!.....MORE TO COME VERY SOON!
P.S....There is a Terminal way, and Synaptic Package Manager way as shown in:
terminalwine.png
and
synapticwine.png

Test Left

Test

User login