What are those 32-bit development libraries required to build winehq-stable? [Solved]  [Solved]

Message
Author
fresh_orange_0
Posts: 10
Joined: Tue May 25, 2021 4:02 pm

What are those 32-bit development libraries required to build winehq-stable? [Solved]

#1 Post by fresh_orange_0 »

What are those 32-bit development libraries required to build winehq-stable?

Code: Select all

git clone --branch stable git://source.winehq.org/git/wine.git

Code: Select all

$ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for ld... ld
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
Last edited by fresh_orange_0 on Wed May 26, 2021 9:36 am, edited 1 time in total.

User avatar
AVLinux
Posts: 3189
Joined: Wed Jul 15, 2020 1:15 am

Re: What are those 32-bit development libraries required to build winehq-stable?

#2 Post by AVLinux »

Hi,

Because usually people want Wine to support both 64 and older 32bit Windows programs/games etc....

tony37
Posts: 1306
Joined: Sat Jul 18, 2020 12:34 pm

Re: What are those 32-bit development libraries required to build winehq-stable?

#3 Post by tony37 »

this topic may be useful: viewtopic.php?f=108&t=63796
but why do you want to build wine in the first place?

fresh_orange_0
Posts: 10
Joined: Tue May 25, 2021 4:02 pm

Re: What are those 32-bit development libraries required to build winehq-stable?

#4 Post by fresh_orange_0 »

tony37 wrote: Tue May 25, 2021 5:30 pm this topic may be useful: viewtopic.php?f=108&t=63796
but why do you want to build wine in the first place?
NOTE: I'm running the MX Linux 19.4.1 KDE version

Tried installing winehq-staging packages but if I do that, while playing gta san andreas in windowed mode, if I alt+tab, the mouse keeps clicking in the paused game menu while I click around on other programs

And if I try to install winehq-stable package I get the following output:

Code: Select all

$ sudo apt-get install winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 6.0.0~buster-1)
E: Unable to correct problems, you have held broken packages.

fresh_orange_0
Posts: 10
Joined: Tue May 25, 2021 4:02 pm

Re: What are those 32-bit development libraries required to build winehq-stable?

#5 Post by fresh_orange_0 »

AVLinux wrote: Tue May 25, 2021 5:19 pm Hi,

Because usually people want Wine to support both 64 and older 32bit Windows programs/games etc....
I mean which would these packages be, to install these so I can compile the program

tony37
Posts: 1306
Joined: Sat Jul 18, 2020 12:34 pm

Re: What are those 32-bit development libraries required to build winehq-stable?

#6 Post by tony37 »

fresh_orange_0 wrote: Tue May 25, 2021 5:42 pm And if I try to install winehq-stable package I get the following output:

Code: Select all

$ sudo apt-get install winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 6.0.0~buster-1)
E: Unable to correct problems, you have held broken packages.
the problem is likely that you need libfaudio0 (both 64-bit and 32-bit), which is in the mx test repo and in buster-backports
so what you can do is enable the backports repo, do 'sudo update-grub' and try again

btw, a full guide is at viewtopic.php?p=608765#p608765

fresh_orange_0
Posts: 10
Joined: Tue May 25, 2021 4:02 pm

Re: What are those 32-bit development libraries required to build winehq-stable?  [Solved]

#7 Post by fresh_orange_0 »

tony37 wrote: Tue May 25, 2021 6:52 pm
fresh_orange_0 wrote: Tue May 25, 2021 5:42 pm And if I try to install winehq-stable package I get the following output:

Code: Select all

$ sudo apt-get install winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 6.0.0~buster-1)
E: Unable to correct problems, you have held broken packages.
the problem is likely that you need libfaudio0 (both 64-bit and 32-bit), which is in the mx test repo and in buster-backports
so what you can do is enable the backports repo, do 'sudo update-grub' and try again

btw, a full guide is at viewtopic.php?p=608765#p608765
Thanks, the backports thing solved the problem!

User avatar
Stevo
Developer
Posts: 14878
Joined: Fri Dec 15, 2006 7:07 pm

Re: What are those 32-bit development libraries required to build winehq-stable?

#8 Post by Stevo »

To get back to the original question about the build-depends, you should be able to get the debian.tar.xz for wine by surfing into the repository where the finished packages are. The Build-Depends for i386 should be listed in the debian/control file once the tarball is extracted.

If I remember correctly, Wine has a permissive configure system: if you are missing some optional build-depend, it won't error out, but just disable the feature that depends on the BD, and carry on--only printing a note of what wasn't found before commencing the build. Since a lot of people ignore the jibber-jabber that's being output, they won't see that notification.

Post Reply

Return to “Software / Configuration”