How to compile without installing?

G-Wiz

New Member
Joined
Nov 23, 2021
Messages
13
Reaction score
3
Credits
123
Hi, could someone tell me how to compile an old version of wine without installing it. I just need a custom wine executable for lutris.

Here are the files:

wine-1.4-rc4/dlls
wine-1.4-rc4/documentation
wine-1.4-rc4/fonts
wine-1.4-rc4/include
/wine-1.4-rc4/libs
/wine-1.4-rc4/loader
/wine-1.4-rc4/po
/wine-1.4-rc4/programs
/wine-1.4-rc4/server
/wine-1.4-rc4/tools
/wine-1.4-rc4/.gitignore
/wine-1.4-rc4/aclocal.m4
/wine-1.4-rc4/ANNOUNCE
/wine-1.4-rc4/AUTHORS
/wine-1.4-rc4/configure
/wine-1.4-rc4/configure.ac
/wine-1.4-rc4/COPYING.LIB
/wine-1.4-rc4/LICENSE
/wine-1.4-rc4/LICENSE.OLD
/wine-1.4-rc4/Make.rules.in
/wine-1.4-rc4/Make.vars.in
/wine-1.4-rc4/Makefile.in
/wine-1.4-rc4/Maketest.rules.in
/wine-1.4-rc4/README
/wine-1.4-rc4/VERSION

There is a custom script in the tools folder you're supposed to run, but that script also installs the program.

Any help/advice would be appreciated.
Thanks
 


First you run configure

./configure --prefix=/some/path


This will take a few seconds

then you run make

make


nothing is installed yet, just compiled.

If you want to install it.

make install
 
I was going to answer exactly that. The commong practice is to use .local as the prefix, so all your compiled tools end up in your home directory, free of conflicts with the rest of the system.

After running config --prefix=.local, using make install will install the tool under .local. Also not requiring sudo of course.

And, as a bonus, if you use any home directoy backup tool, you can restore an older compilation if updating one tool ends up breaking it.
 

Members online


Latest posts

Top