Questions about git and building wine
-
- Level 1
- Posts: 5
- Joined: Sat Aug 16, 2008 9:36 pm
Questions about git and building wine
I was asked to try a regression test to see if the bug I am seeing now is not present when I revert to a previous version of wine.
So, my first question is, how do I revert to a previous version of wine? I'm on Ubuntu 8.04, so it would be nice if there was an apt-get command I could use. I've tried "apt-get install wine-0.9.59", but that doesn't work. No longer in the repo I guess.
I presumed that I was supposed to build 0.9.59 from git. But I don't know how to do that, and I haven't found any specific instructions on how to do that.
I tried to interpolate from various other instructions and came up with:
git clone git://source.winehq.org/git/wine.git wine-git
cd wine-git
git checkout wine-0.9.59
git reset --hard wine-0.9.59
So I do the above commands and cat the file VERSION and it tells me:
Wine version 0.9.59
That looks like what I want. I don't want to overwrite my current wine install, so I add the option "--prefix=/usr/local/wine" to configure, and I do the configure and make depend and make and make install. Everything builds and installs fine.
I run /usr/local/wine/bin/wine --version and it prints out 1.1.2. I was expecting 0.9.59. Clearly I've screwed up, but I'm lost at this point.
I'm pretty unfamiliar with git. I have passing familiarity with all the configure and make stuff.
It would really help me if someone could give an easy recipe to follow to build and install multiple older versions of wine so I could do testing.
Thanks!
So, my first question is, how do I revert to a previous version of wine? I'm on Ubuntu 8.04, so it would be nice if there was an apt-get command I could use. I've tried "apt-get install wine-0.9.59", but that doesn't work. No longer in the repo I guess.
I presumed that I was supposed to build 0.9.59 from git. But I don't know how to do that, and I haven't found any specific instructions on how to do that.
I tried to interpolate from various other instructions and came up with:
git clone git://source.winehq.org/git/wine.git wine-git
cd wine-git
git checkout wine-0.9.59
git reset --hard wine-0.9.59
So I do the above commands and cat the file VERSION and it tells me:
Wine version 0.9.59
That looks like what I want. I don't want to overwrite my current wine install, so I add the option "--prefix=/usr/local/wine" to configure, and I do the configure and make depend and make and make install. Everything builds and installs fine.
I run /usr/local/wine/bin/wine --version and it prints out 1.1.2. I was expecting 0.9.59. Clearly I've screwed up, but I'm lost at this point.
I'm pretty unfamiliar with git. I have passing familiarity with all the configure and make stuff.
It would really help me if someone could give an easy recipe to follow to build and install multiple older versions of wine so I could do testing.
Thanks!
Questions about git and building wine
On Sat, Aug 16, 2008 at 11:18 PM, john.moonsugar
<[email protected]> wrote:
version. Just run wine from the git directory.
<[email protected]> wrote:
You don't need to do a make install, that'll overwrite your previousI was asked to try a regression test (http://wiki.winehq.org/RegressionTesting) to see if the bug I am seeing now is not present when I revert to a previous version of wine.
So, my first question is, how do I revert to a previous version of wine? I'm on Ubuntu 8.04, so it would be nice if there was an apt-get command I could use. I've tried "apt-get install wine-0.9.59", but that doesn't work. No longer in the repo I guess.
I presumed that I was supposed to build 0.9.59 from git. But I don't know how to do that, and I haven't found any specific instructions on how to do that.
I tried to interpolate from various other instructions and came up with:
git clone git://source.winehq.org/git/wine.git wine-git
cd wine-git
git checkout wine-0.9.59
git reset --hard wine-0.9.59
So I do the above commands and cat the file VERSION and it tells me:
Wine version 0.9.59
That looks like what I want. I don't want to overwrite my current wine install, so I add the option "--prefix=/usr/local/wine" to configure, and I do the configure and make depend and make and make install. Everything builds and installs fine.
I run /usr/local/wine/bin/wine --version and it prints out 1.1.2. I was expecting 0.9.59. Clearly I've screwed up, but I'm lost at this point.
I'm pretty unfamiliar with git. I have passing familiarity with all the configure and make stuff.
It would really help me if someone could give an easy recipe to follow to build and install multiple older versions of wine so I could do testing.
Thanks!
version. Just run wine from the git directory.
Follow these instructions: http://wiki.winehq.org/RegressionTesting
Re: Questions about git and building wine
Both commands with do the same in your case.john.moonsugar wrote:git clone git://source.winehq.org/git/wine.git wine-git
cd wine-git
git checkout wine-0.9.59
git reset --hard wine-0.9.59
The best way to no not overwrite your current version is to not install your compiled version at all. But rather running it from the compile dir. The only side affect is you have to specify fill path to "wine".john.moonsugar wrote:That looks like what I want. I don't want to overwrite my current wine install, so I add the option "--prefix=/usr/local/wine" to configure,
-
- Level 1
- Posts: 5
- Joined: Sat Aug 16, 2008 9:36 pm
Thanks, I'm well aware of those instructions, as you can see, I linked to them in my postdimesio wrote:Follow these instructions: http://wiki.winehq.org/RegressionTesting

Those instructions do not seem to me to address my particular problem: how to checkout the source for a specific wine release.
I need to verify that the bug does not exist in an older version before I start the bisect procedure that the regression test page describes.
Last edited by john.moonsugar on Sun Aug 17, 2008 8:35 am, edited 1 time in total.
-
- Level 1
- Posts: 5
- Joined: Sat Aug 16, 2008 9:36 pm
Re: Questions about git and building wine
Ah! Thank you. I thought that might be the case, as I wasn't making any changes, but it wasn't clear to me if the reset was necessary too.vitamin wrote:Both commands with do the same in your case.john.moonsugar wrote:git clone git://source.winehq.org/git/wine.git wine-git
cd wine-git
git checkout wine-0.9.59
git reset --hard wine-0.9.59
That's very handy to know, and it does seem to solve the problem I was having where the command "/usr/local/wine/bin/wine --version" returned 1.1.2 after I'd built and installed 0.9.59. Now when I execute "$HOME/wine/src/wine-git/wine --version" I get 0.9.59, which is what I was expecting. Apparently trying to use a different configure --prefix sent me off on a wild goose chase. It doesn't seem to work the way I've seen all other applications work when --prefix is specified, perhaps that is a build bug? I would like to be able to build and install multiple versions of wine, is there any way to do this so it works?The best way to no not overwrite your current version is to not install your compiled version at all. But rather running it from the compile dir. The only side affect is you have to specify fill path to "wine".john.moonsugar wrote:That looks like what I want. I don't want to overwrite my current wine install, so I add the option "--prefix=/usr/local/wine" to configure,
Anyway, it would be great if someone could set up instructions for how to do this specifically oriented towards people who just need to test. All the instructions I've found so far are much more oriented towards people who want to make changes or do patches. If I just overlooked (and I have looked) such instructions, please do point them out. Thanks!
-
- Level 1
- Posts: 5
- Joined: Sat Aug 16, 2008 9:36 pm
I'd just like to reiterate my original question: "how do I build and install multiple older versions of wine"? It seems to have gotten lost in the shuffle.
It is important to me, and it seems like it would be important to other testers, to be able to install multiple versions of wine at the same time. Most applications that use configure allow you to do this with "configure --prefix". Wine apparently doesn't work when I do this, as I related from my experience above.
Can anyone help me get it to work?
Thanks.
It is important to me, and it seems like it would be important to other testers, to be able to install multiple versions of wine at the same time. Most applications that use configure allow you to do this with "configure --prefix". Wine apparently doesn't work when I do this, as I related from my experience above.
Can anyone help me get it to work?
Thanks.
This question has come up a couple of times:john.moonsugar wrote:I'd just like to reiterate my original question: "how do I build and install multiple older versions of wine"? It seems to have gotten lost in the shuffle.
It is important to me, and it seems like it would be important to other testers, to be able to install multiple versions of wine at the same time. Most applications that use configure allow you to do this with "configure --prefix". Wine apparently doesn't work when I do this, as I related from my experience above.
Can anyone help me get it to work?
Thanks.
http://forum.winehq.org/viewtopic.php?t=653
http://forum.winehq.org/viewtopic.php?t=872
BTW, older Wine packages for Ubuntu are in the archives: http://wine.budgetdedicated.com/archive/index.html
Name disadvantage
Just tried to do a search for "Compiling wine on solaris" from my work computer. Received a message saying I could not access this - "Search: Alcohol". Recursive naming can have some disadvantages...
.
Colin.

Colin.
-
- Level 1
- Posts: 5
- Joined: Sat Aug 16, 2008 9:36 pm
Well, it's good to know that it should be possible, and I believe I'm doing what others are doing with configure --prefix and setting my PATH, yet I still get the results like I said above: executing "./wine --version" from the source tree gives the correct version number, but "<prefix>/bin/wine --version" does not.dimesio wrote: This question has come up a couple of times:
http://forum.winehq.org/viewtopic.php?t=653
http://forum.winehq.org/viewtopic.php?t=872
Thanks! I'll try those.BTW, older Wine packages for Ubuntu are in the archives: http://wine.budgetdedicated.com/archive/index.html