[Wine] Re: wine apt no logner add-able

James_Huk wineforum-user at winehq.org
Fri Jul 2 04:14:06 CDT 2010


You know - you can compile wine yourself, don't you? It is not difficult process (although on your PC it make take up to 2-3 hours). I suggest you try it:

First:
sudo apt-get build-dep wine (this should download and install most of wine dependencies)
and
sudo apt-get install checkinstall (this will help you create a .deb package)

Then download wine source from winehq download page, unpack it,and cd to it in the terminal. Then (while in wine source dir) type in terminal:

./configure (now wait to see if there are any errors or warnings - there may be some complains about headers not found - you can post them here or simply try to find the correct package in synaptic - for example if configure complains that it cannot find libmpg123, that means that you have to install libmpg123-dev, if you already have libmpg123-dev then it may be simply too old - then just ignore this warning)

Now if there were no errors type:

make

And wait - on old PC it will take some time thought...

After compilation is finished you will see:

"Wine build complete"

That is it - well almost, you can use this wine like this:

(while in the directory) ./wine start /Unix /path/to/your/application.exe

Or you can create normal deb package (and I recommend that you do):

(still in wine source dir) type:

sudo checkinstall

and follow instructions (you may need to change name from wine-1.2 to wine - or whatever the name of wine package in Ubuntu is - so it is replaced properly)

This may also take some time (on your PC 10-30 minutes, maybe more)

After that you will end up with wine deb package - if it wasn't installed already - install it:

sudo dpkg -i wine_something.deb

That is it.







More information about the wine-users mailing list