S
S
samokiller2022-01-08 21:33:32
linux
samokiller, 2022-01-08 21:33:32

How to understand what the system is missing when building wine?

Operating System: Astra Linux (Orel 2.12.43)
Kernel: Linux 5.10.0-1038.40-generic
Architecture: x86-64

Trying to build and install wine 5.0 from here: https://github.com/wine-mirror/wine/tree/ oldstable

[email protected]:~/wine$ ls
aclocal.m4  config.log    COPYING.LIB    fonts    LICENSE      MAINTAINERS  programs  tools
ANNOUNCE    configure     dlls           include  LICENSE.OLD  nls          README    VERSION
AUTHORS     configure.ac  documentation  libs     loader       po           server
[email protected]:~/wine$ ./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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for clang++... no
checking whether the compiler supports GNU C++... no
checking whether g++ accepts -g... no
checking for g++ option to enable C++11 features... none needed
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.


ia32-libs and ia32-libs-dev are installed. After installation - rebooted.

How to understand what exactly is missing and how to find it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
W
Wexter, 2022-01-08
@Wexter

checking whether gcc -m32 works... no

That's how everything is written
Operating System: Astra Linux (Orel 2.12.43)

sadomaso club?

R
rPman, 2022-01-08
@rPman

astra-linux is based on debian,
try to install the necessary dependencies using apt
apt-get build-dep wine
, you can also first try to build wine from the repository, everything should go automatically there

J
jcmvbkbc, 2022-01-09
@jcmvbkbc

How to understand what exactly is missing

if the error message in the console is not enough, then the config.log file remains in the directory where configure was executed with a detailed log of actions, the text of the program that generated the error, the compiler command line and its error message. You can look there.

V
Valdemar Smorman, 2022-01-09
@smorman

Do not deal with garbage, but go to the office. the Wine resource and everything is written there, how to install, on which platform you need.
Section 2 Getting Wine/Installation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question