Hi, I'm doing a lot of testing, and I was wondering if I can run Wine from within its source tree without having to reinstall it after every build. If it can be done without conflicting with an existing installation of Wine, how do I do it?
Thanks, James
James Liggett wrote:
I'm doing a lot of testing, and I was wondering if I can run Wine from within its source tree without having to reinstall it after every build. If it can be done without conflicting with an existing installation of Wine, how do I do it?
Yes, it can be done. In fact, I don't have Wine installed to make sure that I don't get confused as to which version I'm testing.
I have the attached script (exists at ~/bin/wine_envsetup) to set up my environment (assumes wine in ~/wine), but running ~/wine/wine will also work.
You can set up a ~/.wine from the source tree using:
./tools/wineprefixcreate --use-wine-tree .
Then add an alias to set up your environment to your ~/.bashrc, something like this:
export OLDPATH=$PATH alias winehq='. $HOME/bin/wine_envsetup'
You can then run 'winehq' to setup your environment. I find this configuration useful to because I have multiple wine environments, so multiple ~/bin/*_envsetup scripts. It points everything to the right place so that running 'wine' on the command line will run the wine binary from the setup I'm interested in, not a shell script.
Again, you don't need to go to all this trouble if you're happy to run the ~/wine/wine script in the source directory.
Mike
#!/bin/sh # set up the Wine environment
CVSROOT=:pserver:cvs@cvs.winehq.org:/home/wine PATH=$OLDPATH:$HOME/wine:$HOME/wine/tools/winegcc WINESERVER=$HOME/wine/server/wineserver WINELOADER=$HOME/wine/loader/wineloader WINEPREFIX=$HOME/.cxoffice/default LD_LIBRARY_PATH=$HOME/wine/libs/unicode:$HOME/wine/dlls:$HOME/wine/libs/wine WINEDBG=$HOME/wine/debugger/winedbg WINEDLLPATH=$HOME/wine/dlls:$HOME/wine/programs export CVSROOT PATH WINESERVER WINEPREFIX LD_LIBRARY_PATH WINEDBG WINEDLLPATH WINELOADER
Hi,
On Thu, Sep 22, 2005 at 03:57:24PM +0900, Mike McCormack wrote:
James Liggett wrote:
I'm doing a lot of testing, and I was wondering if I can run Wine from within its source tree without having to reinstall it after every build. If it can be done without conflicting with an existing installation of Wine, how do I do it?
Yes, it can be done. In fact, I don't have Wine installed to make sure that I don't get confused as to which version I'm testing.
This *really* should be in the devel guide. (no, I didn't check whether something like this is in there already, but I'm sure that if there was something like that, then you would have mentioned a URL instead of writing that whole text ;)
Holly? ;)
Andreas
"James" == James Liggett jrliggett@cox.net writes:
James> Hi, I'm doing a lot of testing, and I was wondering if I can run James> Wine from within its source tree without having to reinstall it James> after every build. If it can be done without conflicting with an James> existing installation of Wine, how do I do it?
Try it.
For me it works.
Am Mittwoch, den 21.09.2005, 22:49 -0700 schrieb James Liggett:
I'm doing a lot of testing,
Same for me.
and I was wondering if I can run Wine from within its source tree without having to reinstall it after every build.
I'm running wine out of source-tree within this directories:
~/wine.cvs ~/wine.cvs/bin ~/wine.cvs/docs ~/wine.cvs/src
.. and added some alias in ~/.bashrc => ".bashrc_4_wine"
I also have scripts for "wineprefixcreate" => "_wpc" and for compiling wine => "_makewine"
Replace "wine.cvs" with "wine.6" (w6, w6s, w6b), "wine.7" (w7, w7s, w7b) and so on for running with monthly snapshots.
Have fun.