Hello,
is it possible somehow to run Wine from the build tree? I mean without 'make install'? It's too lengthy to install after every one line change during printf-debugging...
Feri.
On January 30, 2003 08:34 am, Ferenc Wagner wrote:
Hello,
is it possible somehow to run Wine from the build tree? I mean without 'make install'? It's too lengthy to install after every one line change during printf-debugging...
Short answer: Yes, you can run out of the tree, but you can't compile winelib apps. If you just want to run a program like so: wine <myprog> than there's no problem. You just need to set the env right. This is what I use:
WINEHOME=/home/dimi/dev/wine/wine export LD_LIBRARY_PATH="$WINEHOME" export WINEDLLPATH="$WINEHOME/dlls:$WINEHOME/programs" alias wine="/home/dimi/dev/wine/wine/wine"
"Dimitrie" == Dimitrie O Paun dpaun@rogers.com writes:
Dimitrie> On January 30, 2003 08:34 am, Ferenc Wagner wrote: >> Hello, >> >> is it possible somehow to run Wine from the build tree? I mean >> without 'make install'? It's too lengthy to install after every one >> line change during printf-debugging...
Dimitrie> Short answer: Yes, you can run out of the tree, but you can't Dimitrie> compile winelib apps. If you just want to run a program like Dimitrie> so: wine <myprog> than there's no problem. You just need to Dimitrie> set the env right. This is what I use:
Dimitrie> WINEHOME=/home/dimi/dev/wine/wine export Dimitrie> LD_LIBRARY_PATH="$WINEHOME" export Dimitrie> WINEDLLPATH="$WINEHOME/dlls:$WINEHOME/programs" alias Dimitrie> wine="/home/dimi/dev/wine/wine/wine"
Isn't already wine a script that takes care of setting all those variables?
Bye
On Thursday 30 January 2003 14:54, Uwe Bonnes wrote:
"Dimitrie" == Dimitrie O Paun dpaun@rogers.com writes:
Dimitrie> On January 30, 2003 08:34 am, Ferenc Wagner wrote: >> Hello, >> >> is it possible somehow to run Wine from the build tree? I mean >> without 'make install'? It's too lengthy to install after every one >> line change during printf-debugging... Dimitrie> Short answer: Yes, you can run out of the tree, but you can't Dimitrie> compile winelib apps. If you just want to run a program like Dimitrie> so: wine <myprog> than there's no problem. You just need to Dimitrie> set the env right. This is what I use: Dimitrie> WINEHOME=/home/dimi/dev/wine/wine export Dimitrie> LD_LIBRARY_PATH="$WINEHOME" export Dimitrie> WINEDLLPATH="$WINEHOME/dlls:$WINEHOME/programs" alias Dimitrie> wine="/home/dimi/dev/wine/wine/wine"
Isn't already wine a script that takes care of setting all those variables?
There is. Look at tools/winewrapper. There is even a symlink (named 'wine') to it in the base dir.
Regards Zsolt
is it possible somehow to run Wine from the build tree? I mean without 'make install'? It's too lengthy to install after every one line change during printf-debugging...
Huh ? Doing 'make install' from the DLL directory where you did the change is too slow ?
Lionel
Lionel Ulmer lionel.ulmer@free.fr writes:
Huh ? Doing 'make install' from the DLL directory where you did the change is too slow ?
Not the 'make install' alone, but the administration to keep my distribution's package management happy.
Thanks for the answers, everyone, I'm going for it.
Feri.
Ferenc Wagner a écrit:
Lionel Ulmer lionel.ulmer@free.fr writes:
Huh ? Doing 'make install' from the DLL directory where you did the change is too slow ?
Not the 'make install' alone, but the administration to keep my distribution's package management happy.
If it's just that, the easiest is to install in a user's subdir (eg, /home/vincent/wine/usr). Under the main one you have lib, bin, etc.
That's what I do for wine and other rapidly evolving projects, or to test a new package before properly packaging it for systemwide deployment.
Of course, wine let's you use it inside it's build dir, so it may be easier to just do that.
Vincent
Vincent Béron vberon@mecano.gme.usherb.ca writes:
Of course, wine let's you use it inside it's build dir, so it may be easier to just do that.
Yes, it seems to work now. One catchup: I had to define a new drive for /usr/local/src/wine/programs to be able to use the debugger. What a deal...
Feri.
"Ferenc" == Ferenc Wagner wferi@tba.elte.hu writes:
Ferenc> Hello, is it possible somehow to run Wine from Ferenc> the build tree? I mean without 'make install'? It's too Ferenc> lengthy to install after every one line change during Ferenc> printf-debugging...
I call wine with explicit path, and have the build wine directory in my /etc/ld.so.conf. This works for me.
Bye