can't build wine from sources

Questions about Wine on Linux
Locked
oboroqoru
Newbie
Newbie
Posts: 2
Joined: Thu May 10, 2018 4:27 pm

can't build wine from sources

Post by oboroqoru »

Hello, I've been trying to build wine 3.7 from sources following this guide https://wiki.winehq.org/Building_Wine#Shared_WoW64
The problem is that when I run the configure script it fails creating include/config.h
Here's the output of the configure script:
https://pastebin.com/UB7pghaK
Please pay attenton to the lines having to do with awk...I have absolutely no idea what that is.
Could you please help me? I'm running Void Linux x86_64, if it makes difference.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't build wine from sources

Post by dimesio »

Post the entire config.log, not just the part you think is important.
oboroqoru
Newbie
Newbie
Posts: 2
Joined: Thu May 10, 2018 4:27 pm

Re: can't build wine from sources

Post by oboroqoru »

Allright here's the contents of the config.log file:
https://pastebin.com/ZgmCDAu1
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't build wine from sources

Post by dimesio »

Code: Select all

configure:5297: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
That's one problem you have to fix.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: can't build wine from sources

Post by Bob Wya »

oboroqoru wrote:Hello, I've been trying to build wine 3.7 from sources following this guide https://wiki.winehq.org/Building_Wine#Shared_WoW64
The problem is that when I run the configure script it fails creating include/config.h
Here's the output of the configure script:
https://pastebin.com/UB7pghaK
Please pay attenton to the lines having to do with awk...I have absolutely no idea what that is.
Could you please help me? I'm running Void Linux x86_64, if it makes difference.
Lets rewind, to establish what you are actually doing...

First of there are 2 ways described in this section to build Wine:
  1. Host system build: when full multilib development support is available
    Compile the 64-bit version of Wine first with the --enable-win64 configure flag, in a separate build directory of course ;)
    When you build the 32-bit version next (again in a fresh build directory), point configure to the 64-bit build directory by using --with-wine64= and the relative path
  2. Chroot / Container build: when full multilib development support is not available
    Enter your 32-bit chroot or container (see above about setting a chroot or container up)
    Do a completely normal 32-bit build of wine
    Do a second 32-bit build, still in the chroot, with both your 64-bit build and the tools from your first 32-bit build
You haven't even stated which of these 2 guides your are following... :roll:

Your example configure commands don't appear right for either of these techniques...

Bob
Locked