Self Compile Wine - I need help

Well, I would like to compile wine, but I don’t really know where to start. I do not want to just install wine from the RPM file Index of /repositories/Education/openSUSE_11.0
I use to compile Wine through git clone, but can I do that on OpenSUSE or is there a better way of compile Wine through OpenSUSE?

Also, is there a script to install all the lib require for compiling wine? I had a script in my last distro it was a walk in the park.

Thanks

I note that you want to compile, and I also note you mention you do not want to use Index of /repositories/Education/openSUSE_11.0 as a repos. Did you consider the following repos:

http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.0/ 

I’ve never tried to compile wine myself, so I doubt that I can help with compilation efforts.

The package wine-1.1.7-2.1.i586.rpm in Index of /repositories/Emulators:/Wine/openSUSE_11.0 should be the same as the package in Index of /repositories/Education/openSUSE_11.0

But yea, I would prefer to compile it as in test new games and keep things sorted out.

Generally you need the packages:
kernel-source
make
gcc

Then you should be able to download the tar snapshot and compile from the using the make, make install commands.

Is that what you mean to do?

If it’s really from source you want to compile have a look in the WINE manual, starting here : Wine HQ - Getting Wine

As oldcpu already mentioned, if you add the community repo for WINE you will be able to get the latest stable version of WINE.

Cheers,
Wj

I’ve compiled wine before on other platforms in order to find regressions, fix mismatched library versions, and have the latest version. I’ve not had to build wine at all on opensuse 11.0 as the manager of the opensuse wine repository seems to make the newest version available quickly, there has been no library mismatch, and the only regressions I’ve seen are fixes to more severe problems.

Magic31, I use git clone to get the source files and then ./configure, make depend, and make. Then I’m set, but the only problem with that is. I need the libs and deps to configure and make wine.

If I went down the route of tar snapshot and compile it, what steps would I need?
download snapshot wine version
tar -ivh snapshot.tar
cd spapshot folder
./configure
make depend
make
(^something like that? Would that do? Or am I missing a step?)

The reason I would like to have wine compiled on my computer, because I will have multiple games and they usually require different versions of wine.

I meant
tar xvf snapshot.tar

not tar -ivf snapshot.tar (I know it’s not a rpm, I just wasn’t thinking :p)

Hi Ocha,

The last time I complied WINE was when using SUSE 10.1 as the repos work for my needs… As I remember the readme included in the snapshot should give the install details. I’ll check to see if I can find some old notes on what I did and post back.

To install all the needed libs to compile wine you can just use “zypper source-install”.

But the easiest way to have different wine versions available is to use the openSUSE Build Service. Create a personal repository and copy the wine package from the wine repo with “osc copypac”.
Even if you don’t know how to create RPMs… the spec file is already done, probably you will just need to change the Version tag in 99,99% of cases.
From here, upload all the versions of wine you need and the Build Service will build them for you.