Which would be the required packages to build winehq-stable?

Questions about Wine on Linux
Locked
fresh_orange_0
Level 1
Level 1
Posts: 6
Joined: Tue May 25, 2021 12:17 pm

Which would be the required packages to build winehq-stable?

Post by fresh_orange_0 »

The output of ./configure:

Code: Select all

configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
fresh_orange_0
Level 1
Level 1
Posts: 6
Joined: Tue May 25, 2021 12:17 pm

Re: Which would be the required packages to build winehq-stable?

Post by fresh_orange_0 »

Yes, I already read that page. Wasn't very useful

Isn't there a official list of dependencies? (these 32-bit development libraries)
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Which would be the required packages to build winehq-stable?

Post by dimesio »

Package names vary by distro, so no, there is no way to have single list of the specific packages needed. What I can tell you from what you posted is that you are missing the packages needed for the basic 32 bit build environment needed to build any 32 bit program, not just Wine. Ask on your distro's forum what packages to install. Once you have that, run configure again, and it will return a list of Wine's dependencies that are missing. You will have to figure out yourself the specific distro packages that will provide them.
fresh_orange_0
Level 1
Level 1
Posts: 6
Joined: Tue May 25, 2021 12:17 pm

Re: Which would be the required packages to build winehq-stable?

Post by fresh_orange_0 »

dimesio wrote: Thu May 27, 2021 7:17 am Package names vary by distro, so no, there is no way to have single list of the specific packages needed. What I can tell you from what you posted is that you are missing the packages needed for the basic 32 bit build environment needed to build any 32 bit program, not just Wine. Ask on your distro's forum what packages to install. Once you have that, run configure again, and it will return a list of Wine's dependencies that are missing. You will have to figure out yourself the specific distro packages that will provide them.
What if the distro is Debian 10?
andrew.smart
Level 2
Level 2
Posts: 33
Joined: Thu Dec 15, 2016 3:08 am

Re: Which would be the required packages to build winehq-stable?

Post by andrew.smart »

fresh_orange_0 wrote: Thu May 27, 2021 11:14 am What if the distro is Debian 10?
Read about building packages in the man page for apt-get:

Code: Select all

$ man apt-get
Use the #debian channel, https://wiki.debian.org/IRC
Or Debian forum http://forums.debian.net/
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Which would be the required packages to build winehq-stable?

Post by jkfloris »

Read about building packages in the man page for apt-get:
An easy way to install (almost) all packages on Debian is:

Code: Select all

sudo apt-get build-dep wine-development
fresh_orange_0
Level 1
Level 1
Posts: 6
Joined: Tue May 25, 2021 12:17 pm

Re: Which would be the required packages to build winehq-stable?

Post by fresh_orange_0 »

jkfloris wrote: Thu May 27, 2021 3:20 pm
Read about building packages in the man page for apt-get:
An easy way to install (almost) all packages on Debian is:

Code: Select all

sudo apt-get build-dep wine-development
Thanks, although it looks like that this doesn't work on MX Linux (but it should, it is debian-based)
Locked