Compiling Wine is just a pain.
Libraries and dependencies will keep popping whenever you hit ./configure
but there is a trick to install all dependencies in a single knock-out combo!
The trick is simple, you add the package to your apt-source repositories (whatever package manager you are using).
Then install the dependencies, download the repository and configure wine with --enable-win64. Finally compile it.
- Follow the wine pacakge installation until you add the repositories. Here is the ubuntu guide
- STOP AT:
sudo apt update - After adding the source file, you must edit it.
sudo vim /etc/apt/sources.list.d/winehq-<distro>.sources - Change the line
Type: debtoType: deb deb-src - Run
sudo apt update
- STOP AT:
- Install the dependencies/libraries:
sudo apt build-dep wine-stable - Clone the wine repository.
- Configure wine files (x64 version first):
./configure --enable-win64 - Build/Compile the codebase:
make