Post HOWTO: Compiling and Installing WineCVS with WineTools
发表于 : 2005-06-11 22:11
Alright, well, i've tried the latest Wine CVS and winetools and I have to say i'm impressed, wine is not too far behind Cedega and I think in the next year Wine might take the step ahead of them. Granted, they deserve to be ahead, they are the creators and Transgaming kind of stole their project and are hogging it for themselves.
So I present to you all, a howto on how to install the latest Wine CVS, installing wine tools and getting everything you'll need for the road.
1) Getting The Development Libraries to compile wine:
We also need a few development libs to compliment this:
xlibs-dev will allow you to compile wine with x support, the reason behind why most compilations of wine fail under Ubuntu.
If you want OpenGL support, don't forget to get these libs here:
Heres two other packages that will make it so wine compiles, and are required during the wine compilation, these are the bison and flex packages.
This package here is for winetools, i'll explain this later on.
And lastly, we need to get the cvs package to even be able to grab the cvs streight from winehq.
2) Getting the Wine CVS
Now we need to pop up a terminal, and lets make a cvs directory. You can do this wherever, but I strongly recommend having one for organization purposes.
Lets go to it now.
Now, that we are in our cvs directory, and have the right packages, lets connect to the wine cvs now.
There are two servers, a US server, and a Europe server, if you are in the U.S. follow the U.S. howto under here on how to connect to the cvs, if you are in Europe, then do the same for the Europe connection.
To be able to connect, you must type these on your command line and when you connect, it will not say anything, do not be worried
How to Connect to the Wine U.S. CVS Server:
How to Connect to the Wine Europe Server:
Now that we have connected to it, now its time to login
the password has and always will be cvs for their cvs login.
Now that you are logged in, its time to download the wine cvs.
Now it will start downloading a bunch of stuff, depending on your connection will depend on how long it will take, this is about 40 megabytes.
3) Compiling and installing Wine
Now that we have our wine cvs here now, we need to compile it, lets go to your new wine directory inside your cvs directory.
Now, we need to compile this baby, this is the longest part but the easiest hehe..
Now it will start the configure script and will ask you a question at the end of the script about logging into root to install wine, just say yes, and let it rock. It will take quite a while, i'm running a AMD 64 3200+ overclocked at 2.3 ghz and it took me about 20 minutes. On my 900 mhz AMD Athlon it took me approx. 50 minutes. So be patient, watch some tv or something.
Ahh, we have the latest version of wine cvs now compiled, but to install it, ahh wait, it says here to login to root, lets say yes
Now it will install the stuff, does not take long a minute or two, and then it will ask you a question about adding in the default wine config at .wine/config
Lets say no. We are going to do something more interesting today kids.
4) Installing Winetools
Now, for the fun stuff, finally! right? hehe , lets go download winetools, here is the url:
But Before I give you the url, we should just get all linuxy and use wget, screw the browsers , in your home directory just make a temp directory since this directory won't be here very long....
Lets go to it now.
And finally, lets download the winetools.
This you may notice is off my personal webstorage, why did I do this? Because my links will never die , anyways lets start on installing this beast.
Lets extract the new tar.gz file now.
It should had created a new directory called winetools, lets go to it now
To install it, its simple.
Now its in, thank god right? hehe, lets get out of this temp directory, if you followed my step, just do this.
One more time.
And now, its time to remove the temp directory to cleanup our mess.
Cleaned, just like that, hehe, well anyway lets rock n roll with winetools.
On your command line, just type wt2 and it should come right up saying something about you using a different version of wine that is not recommended, just click ok, don't worry about that
The GPL License for the software, and the creator, email him if you want and tell him how awesome his winetools are
Just click ok after the intro and now you should see the menu with base setup and all the good stuff we want. Lets start with base setup.
Since we did not create a wine config through the wine install script, which I told you to do this for a reason , and if you didn't follow my instructions, no big deal, we can remove it here, just pop up a terminal and type:
Done, but if you did follow my instructions, lets continue.
Create a fake windows drive is the first one
It should create everything for you, and don't worry if you see any errors through your time in winetools don't worry about it.
Next up is DCOM98 and you're probably asking me, why not install the fonts? Reason why, is because the links are dead to the fonts from winetools, it will just hang, try it if you do not believe me hehe, anyways, install DCOM98.
After DCOM98 is installed, it'll go through its regular routine of shutting down wine after its installed and doing a simulated windows reboot. Next up is Internet Explorer 6.0 SP1, just download it for the language you want. And it will install.
After its done, go back to the main menu.
Now lets install windows system software, install it in this order:
Windows Installer
Microsoft Foundation Classes 4.0
Visual Basic 5 Runtime
Visual Basic 6 Runtime
Visual C++ run-time English -- or german if you are german.
MDAC 2.8 English -- or german if you once again german
Jet 4.0 SP8 English -- Or german if you have german blood!
Windows Script 5.6 English -- Or German if you can drink 50 gallons of beer and still not pass out.
HTML Help Update Package
Common Controls 5.0
Now that you have them all installed, lets go back to the main menu.
Lets exit...
Now what!? What about our great fonts? Yeah yeah... Lets move onto fonts...
5) Installing Windows Fonts
Now that we have our wine pretty much setup now, we need fonts. I have all the windows fonts you will need uploaded to my storage. I recommend doing this from the command line.
Lets make another temp directory first.
Now go there.
Download the fonts.
Now extract the fonts
time to install them all one by one. I also want to remind everyone, do not install the andale32.exe it fails on wine for some reason, but you can try it if you want.
To install them you will need to do this:
That will come up with a menu, just click ok then it will install it then it will say the font has been successfully installed. Do this with the rest of them.
wine then the name of the font executable.
When you are done, I am proud to say, you have a full blown wine install with the latest cvs, was it that hard? No, just time consuming and it looks longer than it really is because I talked too much on the HOWT
So I present to you all, a howto on how to install the latest Wine CVS, installing wine tools and getting everything you'll need for the road.
1) Getting The Development Libraries to compile wine:
We also need a few development libs to compliment this:
xlibs-dev will allow you to compile wine with x support, the reason behind why most compilations of wine fail under Ubuntu.
代码: 全选
sudo apt-get install xlibs-dev
代码: 全选
sudo apt-get install xlibmesa-glu-dev
代码: 全选
sudo apt-get install bison flex
代码: 全选
sudo apt-get install libgtk-1.2 libgtk-1.2-common
代码: 全选
sudo apt-get install cvs
Now we need to pop up a terminal, and lets make a cvs directory. You can do this wherever, but I strongly recommend having one for organization purposes.
代码: 全选
mkdir cvs
代码: 全选
cd cvs
There are two servers, a US server, and a Europe server, if you are in the U.S. follow the U.S. howto under here on how to connect to the cvs, if you are in Europe, then do the same for the Europe connection.
To be able to connect, you must type these on your command line and when you connect, it will not say anything, do not be worried
How to Connect to the Wine U.S. CVS Server:
代码: 全选
export CVSROOT=:pserver:cvs@cvs.winehq.org:/home/wine
代码: 全选
export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine
代码: 全选
cvs login
Now that you are logged in, its time to download the wine cvs.
代码: 全选
cvs -z 0 checkout wine
3) Compiling and installing Wine
Now that we have our wine cvs here now, we need to compile it, lets go to your new wine directory inside your cvs directory.
代码: 全选
cd wine
代码: 全选
./tools/wineinstall
Ahh, we have the latest version of wine cvs now compiled, but to install it, ahh wait, it says here to login to root, lets say yes
Now it will install the stuff, does not take long a minute or two, and then it will ask you a question about adding in the default wine config at .wine/config
Lets say no. We are going to do something more interesting today kids.
4) Installing Winetools
Now, for the fun stuff, finally! right? hehe , lets go download winetools, here is the url:
But Before I give you the url, we should just get all linuxy and use wget, screw the browsers , in your home directory just make a temp directory since this directory won't be here very long....
代码: 全选
mkdir temp
代码: 全选
cd ./temp
代码: 全选
wget http://home.comcast.net/~bloodsport/wine/winetools/winetools-211jo.tar.gz
Lets extract the new tar.gz file now.
代码: 全选
tar -xzf winetools-211jo.tar.gz
代码: 全选
cd winetools
代码: 全选
sudo sh install.sh
代码: 全选
cd ..
代码: 全选
cd ..
代码: 全选
rm -rf temp
On your command line, just type wt2 and it should come right up saying something about you using a different version of wine that is not recommended, just click ok, don't worry about that
The GPL License for the software, and the creator, email him if you want and tell him how awesome his winetools are
Just click ok after the intro and now you should see the menu with base setup and all the good stuff we want. Lets start with base setup.
Since we did not create a wine config through the wine install script, which I told you to do this for a reason , and if you didn't follow my instructions, no big deal, we can remove it here, just pop up a terminal and type:
代码: 全选
rm -rf .wine
Create a fake windows drive is the first one
It should create everything for you, and don't worry if you see any errors through your time in winetools don't worry about it.
Next up is DCOM98 and you're probably asking me, why not install the fonts? Reason why, is because the links are dead to the fonts from winetools, it will just hang, try it if you do not believe me hehe, anyways, install DCOM98.
After DCOM98 is installed, it'll go through its regular routine of shutting down wine after its installed and doing a simulated windows reboot. Next up is Internet Explorer 6.0 SP1, just download it for the language you want. And it will install.
After its done, go back to the main menu.
Now lets install windows system software, install it in this order:
Windows Installer
Microsoft Foundation Classes 4.0
Visual Basic 5 Runtime
Visual Basic 6 Runtime
Visual C++ run-time English -- or german if you are german.
MDAC 2.8 English -- or german if you once again german
Jet 4.0 SP8 English -- Or german if you have german blood!
Windows Script 5.6 English -- Or German if you can drink 50 gallons of beer and still not pass out.
HTML Help Update Package
Common Controls 5.0
Now that you have them all installed, lets go back to the main menu.
Lets exit...
Now what!? What about our great fonts? Yeah yeah... Lets move onto fonts...
5) Installing Windows Fonts
Now that we have our wine pretty much setup now, we need fonts. I have all the windows fonts you will need uploaded to my storage. I recommend doing this from the command line.
Lets make another temp directory first.
代码: 全选
mkdir temp
代码: 全选
cd temp
代码: 全选
wget http://home.comcast.net/~bloodsport/wine/fonts/winfonts.tar.gz
代码: 全选
tar -xzf winfonts.tar.gz
To install them you will need to do this:
代码: 全选
wine arial32.exe
wine then the name of the font executable.
When you are done, I am proud to say, you have a full blown wine install with the latest cvs, was it that hard? No, just time consuming and it looks longer than it really is because I talked too much on the HOWT