How to install Wine 6 on Rocky Linux?

Hi All,
How to install Wine 6 on Rocky Linux?

Best regards,
Marben

Good morning Marben,

the easiest way is to compile Wine yourself.

First you update your system with
sudo dnf update

Next you install the Dev Tools with
sudo dnf groupinstall 'Development Tools'

As a third step, you add the epel repos, if you haven’t already done so
sudo dnf install epel-release

That’s done, you activate the powertools
sudo dnf config-manager --set-enabled

Before you get to the actual installation, a few dependencies are still missing. You will bring it with: sudo dnf install libxslt-devel libpng-devel libX11-devel zlib-devel libtiff-devel freetype-devel libxcb-devel libxml2-devel libgcrypt-devel dbus-devel libjpeg-turbo-devel fontconfig-devel gnutls-devel gstreamer1-devel libXcursor-devel libXi-devel libXrandr-devel libXfixes-devel libXinerama-devel libXcomposite-devel mesa-libOSMesa-devel libpcap-devel libusb-devel libv4l-devel libgphoto2-devel gstreamer1-devel libgudev SDL2-devel gsm-devel libvkd3d-devel libudev-devel

Download the Wine 6 archive now
wget https://dl.winehq.org/wine/source/6.0/wine-6.0.tar.xz

Now just unzip the archive and off you go.
tar xvf wine-6.0.tar.xz

Last but not least, the installation of Wine
cd wine-6.0/ ./configure --enable-win64 make sudo make install

That’s it, we’re done. Wine 6 should now be running with you :slight_smile:

To ask? No problem then just get in touch.

Greeting
SebbyMichaelis

1 Like

Good morning too SebbyMichaelis,
Thank you very much for your reply.

Best regards,
Marben

1 Like

Hi SebbyMichaelis,
Actually, I want to install Wine 32 bit in Rocky Linux.
How to install Wine 32 bit in Rocky Linux?
Because I want to install 32 bit windows application in
Rocky Linux.

Please help.

Besat regards,
Marben

do you only want 32 bit support or multilib support?

Hi SebbyMichaelis,
I want 32 bitsupport, but if there
is multi lib support its ok. As long
as I can install windows 32 bit exe files
in Rocky linux.

Please help.

Best regards,
Marben

Ez. Then follow the instructions as described. With the difference that you ./configure without the --enable-win64 run.

Hi SebbyMichaelis,
It works.
Thank you very much.

Best regards,
Marben

1 Like

Hey marben,

Thanks. Glad to hear it worked.

Greetings
SebbyMichaelis

Hi SebbyMichaelis,
I tried to install wine in newly installed Rocky Linux,
and after I command ./configure, now, I got this weird
error,
“configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.”

Please help.

Best regards,
Marben

Good evening marben,

please post the full error message so that I can determine the missing dependencies.

Greetings
SebbyMichaelis

1 Like

Hi SebbyMichaelis,

[root@localhost wine-6.0]# ./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

Best regards,
Marben

Installing libgcc.i686 should solve his problem.
sudo dnf install libgcc.i686

Hi,
I installed libgcc.i686, but same problem exist after ./configure.

Running transaction
Preparing : 1/1
Installing : libgcc-8.4.1-1.el8.i686 1/1
Running scriptlet: libgcc-8.4.1-1.el8.i686 1/1
Verifying : libgcc-8.4.1-1.el8.i686 1/1
Installed products updated.

Installed:
libgcc-8.4.1-1.el8.i686

Complete!
[root@localhost wine-6.0]# ./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.
[root@localhost wine-6.0]#

Please help.
Best regards,
Marben

Sorry I’m a little tired. Now I have written my last answer in German.

In that case add glibc-devel.i686.
sudo dnf install glibc-devel.i686

A little tip: If you don’t know the exact name of a package, you can often find it with dnf search. As an example: dnf search gcc

Hi SebbyMichaelis,
Let’s just continue this tomorrow,
Please take a rest.

Best regards,
Marben

Did my last answer help you?

Hi,
No, I have new error message after ./configure.

configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn’t what you want. You will need
to install 32-bit development packages of Xlib at the very least.
Use the --without-x option if you really want this.
[root@localhost wine-6.0]# yum -y install glibc-devel.i686
Last metadata expiration check: 8:16:38 ago on Tue 15 Jun 2021 08:21:22 AM EDT.
Package glibc-devel-2.28-151.el8.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Best regards,
Marben

That would solve the problem with the gcc libs. Apparently, you still have other liberties errors. If I’m correct, you are still missing the 32bit xorg libertys. Maybe they could help you.
sudo dnf install libX11.i686

Hi,
Same error still exist.

[root@localhost wine-6.0]# yum -y install libX11.i686
Last metadata expiration check: 8:42:03 ago on Tue 15 Jun 2021 08:21:22 AM EDT.
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
libX11 i686 1.6.8-4.el8 appstream 638 k
Installing dependencies:
libXau i686 1.0.9-3.el8 appstream 37 k
libxcb i686 1.13.1-1.el8 appstream 246 k

Transaction Summary

Install 3 Packages

Total download size: 921 k
Installed size: 2.5 M
Downloading Packages:
(1/3): libXau-1.0.9-3.el8.i686.rpm 39 kB/s | 37 kB 00:00
(2/3): libxcb-1.13.1-1.el8.i686.rpm 154 kB/s | 246 kB 00:01
(3/3): libX11-1.6.8-4.el8.i686.rpm 271 kB/s | 638 kB 00:02

Total 264 kB/s | 921 kB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libXau-1.0.9-3.el8.i686 1/3
Installing : libxcb-1.13.1-1.el8.i686 2/3
Installing : libX11-1.6.8-4.el8.i686 3/3
Running scriptlet: libX11-1.6.8-4.el8.i686 3/3
Verifying : libX11-1.6.8-4.el8.i686 1/3
Verifying : libXau-1.0.9-3.el8.i686 2/3
Verifying : libxcb-1.13.1-1.el8.i686 3/3
Installed products updated.

Installed:
libX11-1.6.8-4.el8.i686 libXau-1.0.9-3.el8.i686 libxcb-1.13.1-1.el8.i686

Complete!
[root@localhost wine-6.0]# ./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… yes
checking for the directory containing the Wine tools…
checking for flex… flex
checking whether flex is recent enough… yes
checking for bison… bison
checking whether bison is recent enough… yes
checking for ar… ar
checking for strip… strip
checking for ranlib… ranlib
checking whether ln -s works… yes
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for ldconfig… /sbin/ldconfig
checking for msgfmt… msgfmt
checking for pkg-config… pkg-config
checking whether msgfmt supports contexts… yes
checking for i386_set_ldt in -li386… no
checking for special C compiler options needed for large files… no
checking for _FILE_OFFSET_BITS value needed for large files… 64
checking how to run the C preprocessor… gcc -m32 -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking AL/al.h usability… no
checking AL/al.h presence… no
checking for AL/al.h… no
checking ApplicationServices/ApplicationServices.h usability… no
checking ApplicationServices/ApplicationServices.h presence… no
checking for ApplicationServices/ApplicationServices.h… no
checking AudioToolbox/AudioConverter.h usability… no
checking AudioToolbox/AudioConverter.h presence… no
checking for AudioToolbox/AudioConverter.h… no
checking AudioUnit/AudioUnit.h usability… no
checking AudioUnit/AudioUnit.h presence… no
checking for AudioUnit/AudioUnit.h… no
checking AudioUnit/AudioComponent.h usability… no
checking AudioUnit/AudioComponent.h presence… no
checking for AudioUnit/AudioComponent.h… no
checking CL/cl.h usability… no
checking CL/cl.h presence… no
checking for CL/cl.h… no
checking Carbon/Carbon.h usability… no
checking Carbon/Carbon.h presence… no
checking for Carbon/Carbon.h… no
checking CommonCrypto/CommonCryptor.h usability… no
checking CommonCrypto/CommonCryptor.h presence… no
checking for CommonCrypto/CommonCryptor.h… no
checking CoreAudio/CoreAudio.h usability… no
checking CoreAudio/CoreAudio.h presence… no
checking for CoreAudio/CoreAudio.h… no
checking DiskArbitration/DiskArbitration.h usability… no
checking DiskArbitration/DiskArbitration.h presence… no
checking for DiskArbitration/DiskArbitration.h… no
checking EGL/egl.h usability… yes
checking EGL/egl.h presence… yes
checking for EGL/egl.h… yes
checking IOKit/IOKitLib.h usability… no
checking IOKit/IOKitLib.h presence… no
checking for IOKit/IOKitLib.h… no
checking IOKit/hid/IOHIDLib.h usability… no
checking IOKit/hid/IOHIDLib.h presence… no
checking for IOKit/hid/IOHIDLib.h… no
checking OpenAL/al.h usability… no
checking OpenAL/al.h presence… no
checking for OpenAL/al.h… no
checking OpenCL/opencl.h usability… no
checking OpenCL/opencl.h presence… no
checking for OpenCL/opencl.h… no
checking QuickTime/ImageCompression.h usability… no
checking QuickTime/ImageCompression.h presence… no
checking for QuickTime/ImageCompression.h… no
checking Security/Security.h usability… no
checking Security/Security.h presence… no
checking for Security/Security.h… no
checking SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h usability… no
checking SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h presence… no
checking for SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h… no
checking SystemConfiguration/SCNetworkConfiguration.h usability… no
checking SystemConfiguration/SCNetworkConfiguration.h presence… no
checking for SystemConfiguration/SCNetworkConfiguration.h… no
checking alias.h usability… no
checking alias.h presence… no
checking for alias.h… no
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking arpa/nameser.h usability… yes
checking arpa/nameser.h presence… yes
checking for arpa/nameser.h… yes
checking asm/types.h usability… yes
checking asm/types.h presence… yes
checking for asm/types.h… yes
checking asm/user.h usability… no
checking asm/user.h presence… no
checking for asm/user.h… no
checking dirent.h usability… yes
checking dirent.h presence… yes
checking for dirent.h… yes
checking dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking elf.h usability… yes
checking elf.h presence… yes
checking for elf.h… yes
checking float.h usability… yes
checking float.h presence… yes
checking for float.h… yes
checking fnmatch.h usability… yes
checking fnmatch.h presence… yes
checking for fnmatch.h… yes
checking getopt.h usability… yes
checking getopt.h presence… yes
checking for getopt.h… yes
checking gettext-po.h usability… yes
checking gettext-po.h presence… yes
checking for gettext-po.h… yes
checking grp.h usability… yes
checking grp.h presence… yes
checking for grp.h… yes
checking gsm.h usability… yes
checking gsm.h presence… yes
checking for gsm.h… yes
checking gsm/gsm.h usability… yes
checking gsm/gsm.h presence… yes
checking for gsm/gsm.h… yes
checking ieeefp.h usability… no
checking ieeefp.h presence… no
checking for ieeefp.h… no
checking inet/mib2.h usability… no
checking inet/mib2.h presence… no
checking for inet/mib2.h… no
checking kstat.h usability… no
checking kstat.h presence… no
checking for kstat.h… no
checking libproc.h usability… no
checking libproc.h presence… no
checking for libproc.h… no
checking link.h usability… yes
checking link.h presence… yes
checking for link.h… yes
checking linux/cdrom.h usability… yes
checking linux/cdrom.h presence… yes
checking for linux/cdrom.h… yes
checking linux/filter.h usability… yes
checking linux/filter.h presence… yes
checking for linux/filter.h… yes
checking linux/hdreg.h usability… yes
checking linux/hdreg.h presence… yes
checking for linux/hdreg.h… yes
checking linux/hidraw.h usability… yes
checking linux/hidraw.h presence… yes
checking for linux/hidraw.h… yes
checking linux/input.h usability… yes
checking linux/input.h presence… yes
checking for linux/input.h… yes
checking linux/ioctl.h usability… yes
checking linux/ioctl.h presence… yes
checking for linux/ioctl.h… yes
checking linux/joystick.h usability… yes
checking linux/joystick.h presence… yes
checking for linux/joystick.h… yes
checking linux/major.h usability… yes
checking linux/major.h presence… yes
checking for linux/major.h… yes
checking linux/param.h usability… yes
checking linux/param.h presence… yes
checking for linux/param.h… yes
checking linux/serial.h usability… yes
checking linux/serial.h presence… yes
checking for linux/serial.h… yes
checking linux/types.h usability… yes
checking linux/types.h presence… yes
checking for linux/types.h… yes
checking linux/ucdrom.h usability… no
checking linux/ucdrom.h presence… no
checking for linux/ucdrom.h… no
checking lwp.h usability… no
checking lwp.h presence… no
checking for lwp.h… no
checking mach-o/loader.h usability… no
checking mach-o/loader.h presence… no
checking for mach-o/loader.h… no
checking mach/mach.h usability… no
checking mach/mach.h presence… no
checking for mach/mach.h… no
checking machine/cpu.h usability… no
checking machine/cpu.h presence… no
checking for machine/cpu.h… no
checking machine/sysarch.h usability… no
checking machine/sysarch.h presence… no
checking for machine/sysarch.h… no
checking mntent.h usability… yes
checking mntent.h presence… yes
checking for mntent.h… yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking netinet/in_systm.h usability… yes
checking netinet/in_systm.h presence… yes
checking for netinet/in_systm.h… yes
checking netinet/tcp.h usability… yes
checking netinet/tcp.h presence… yes
checking for netinet/tcp.h… yes
checking netinet/tcp_fsm.h usability… no
checking netinet/tcp_fsm.h presence… no
checking for netinet/tcp_fsm.h… no
checking pcap/pcap.h usability… yes
checking pcap/pcap.h presence… yes
checking for pcap/pcap.h… yes
checking poll.h usability… yes
checking poll.h presence… yes
checking for poll.h… yes
checking port.h usability… no
checking port.h presence… no
checking for port.h… no
checking pthread.h usability… yes
checking pthread.h presence… yes
checking for pthread.h… yes
checking pwd.h usability… yes
checking pwd.h presence… yes
checking for pwd.h… yes
checking sasl/sasl.h usability… no
checking sasl/sasl.h presence… no
checking for sasl/sasl.h… no
checking sched.h usability… yes
checking sched.h presence… yes
checking for sched.h… yes
checking scsi/scsi.h usability… yes
checking scsi/scsi.h presence… yes
checking for scsi/scsi.h… yes
checking scsi/scsi_ioctl.h usability… yes
checking scsi/scsi_ioctl.h presence… yes
checking for scsi/scsi_ioctl.h… yes
checking scsi/sg.h usability… yes
checking scsi/sg.h presence… yes
checking for scsi/sg.h… yes
checking for stdint.h… (cached) yes
checking stropts.h usability… no
checking stropts.h presence… no
checking for stropts.h… no
checking sys/attr.h usability… no
checking sys/attr.h presence… no
checking for sys/attr.h… no
checking sys/auxv.h usability… yes
checking sys/auxv.h presence… yes
checking for sys/auxv.h… yes
checking sys/cdio.h usability… no
checking sys/cdio.h presence… no
checking for sys/cdio.h… no
checking sys/epoll.h usability… yes
checking sys/epoll.h presence… yes
checking for sys/epoll.h… yes
checking sys/event.h usability… no
checking sys/event.h presence… no
checking for sys/event.h… no
checking sys/filio.h usability… no
checking sys/filio.h presence… no
checking for sys/filio.h… no
checking sys/ioctl.h usability… yes
checking sys/ioctl.h presence… yes
checking for sys/ioctl.h… yes
checking sys/ipc.h usability… yes
checking sys/ipc.h presence… yes
checking for sys/ipc.h… yes
checking sys/link.h usability… no
checking sys/link.h presence… no
checking for sys/link.h… no
checking sys/mman.h usability… yes
checking sys/mman.h presence… yes
checking for sys/mman.h… yes
checking sys/modem.h usability… no
checking sys/modem.h presence… no
checking for sys/modem.h… no
checking sys/msg.h usability… yes
checking sys/msg.h presence… yes
checking for sys/msg.h… yes
checking sys/mtio.h usability… yes
checking sys/mtio.h presence… yes
checking for sys/mtio.h… yes
checking sys/param.h usability… yes
checking sys/param.h presence… yes
checking for sys/param.h… yes
checking sys/poll.h usability… yes
checking sys/poll.h presence… yes
checking for sys/poll.h… yes
checking sys/prctl.h usability… yes
checking sys/prctl.h presence… yes
checking for sys/prctl.h… yes
checking sys/protosw.h usability… no
checking sys/protosw.h presence… no
checking for sys/protosw.h… no
checking sys/ptrace.h usability… yes
checking sys/ptrace.h presence… yes
checking for sys/ptrace.h… yes
checking sys/queue.h usability… yes
checking sys/queue.h presence… yes
checking for sys/queue.h… yes
checking sys/random.h usability… yes
checking sys/random.h presence… yes
checking for sys/random.h… yes
checking sys/resource.h usability… yes
checking sys/resource.h presence… yes
checking for sys/resource.h… yes
checking sys/scsiio.h usability… no
checking sys/scsiio.h presence… no
checking for sys/scsiio.h… no
checking sys/shm.h usability… yes
checking sys/shm.h presence… yes
checking for sys/shm.h… yes
checking sys/signal.h usability… yes
checking sys/signal.h presence… yes
checking for sys/signal.h… yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking sys/socketvar.h usability… yes
checking sys/socketvar.h presence… yes
checking for sys/socketvar.h… yes
checking sys/sockio.h usability… no
checking sys/sockio.h presence… no
checking for sys/sockio.h… no
checking sys/statvfs.h usability… yes
checking sys/statvfs.h presence… yes
checking for sys/statvfs.h… yes
checking sys/strtio.h usability… no
checking sys/strtio.h presence… no
checking for sys/strtio.h… no
checking sys/syscall.h usability… yes
checking sys/syscall.h presence… yes
checking for sys/syscall.h… yes
checking sys/sysinfo.h usability… yes
checking sys/sysinfo.h presence… yes
checking for sys/sysinfo.h… yes
checking sys/tihdr.h usability… no
checking sys/tihdr.h presence… no
checking for sys/tihdr.h… no
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking sys/timeout.h usability… no
checking sys/timeout.h presence… no
checking for sys/timeout.h… no
checking sys/times.h usability… yes
checking sys/times.h presence… yes
checking for sys/times.h… yes
checking sys/uio.h usability… yes
checking sys/uio.h presence… yes
checking for sys/uio.h… yes
checking sys/user.h usability… yes
checking sys/user.h presence… yes
checking for sys/user.h… yes
checking sys/utsname.h usability… yes
checking sys/utsname.h presence… yes
checking for sys/utsname.h… yes
checking sys/vnode.h usability… no
checking sys/vnode.h presence… no
checking for sys/vnode.h… no
checking sys/wait.h usability… yes
checking sys/wait.h presence… yes
checking for sys/wait.h… yes
checking syscall.h usability… yes
checking syscall.h presence… yes
checking for syscall.h… yes
checking termios.h usability… yes
checking termios.h presence… yes
checking for termios.h… yes
checking for unistd.h… (cached) yes
checking utime.h usability… yes
checking utime.h presence… yes
checking for utime.h… yes
checking valgrind/memcheck.h usability… yes
checking valgrind/memcheck.h presence… yes
checking for valgrind/memcheck.h… yes
checking valgrind/valgrind.h usability… yes
checking valgrind/valgrind.h presence… yes
checking for valgrind/valgrind.h… yes
checking sys/mkdev.h usability… no
checking sys/mkdev.h presence… no
checking for sys/mkdev.h… no
checking sys/sysmacros.h usability… yes
checking sys/sysmacros.h presence… yes
checking for sys/sysmacros.h… yes
checking whether stat file-mode macros are broken… no
checking for sys/conf.h… no
checking for sys/mount.h… yes
checking for sys/statfs.h… yes
checking for sys/user.h… (cached) yes
checking for sys/vfs.h… yes
checking for sys/sysctl.h… yes
checking for netinet/ip.h… yes
checking for net/if.h… yes
checking for net/if_arp.h… yes
checking for net/if_dl.h… no
checking for net/if_types.h… no
checking for net/route.h… yes
checking for netinet/if_ether.h… yes
checking for netinet/if_inarp.h… no
checking for netinet/in_pcb.h… no
checking for netinet/ip_icmp.h… yes
checking for netinet/ip_var.h… no
checking for netinet/udp.h… yes
checking for netipx/ipx.h… yes
checking for sys/un.h… yes
checking for netinet/tcp_timer.h… no
checking for netinet/udp_var.h… no
checking for netinet/icmp_var.h… no
checking for netinet/tcp_var.h… no
checking for linux/ipx.h… yes
checking for linux/irda.h… no
checking for linux/rtnetlink.h… yes
checking for resolv.h… yes
checking for ifaddrs.h… yes
checking for sys/ucontext.h… yes
checking for sys/thr.h… no
checking for pthread_np.h… no
checking for linux/videodev2.h… yes
checking for libprocstat.h… no
checking for ldd… /usr/bin/ldd
checking for otool… no
checking for readelf… readelf
checking whether we can build a GNU style ELF dll… yes
checking whether the compiler supports -shared -Wl,-soname,confest.so.1… yes
checking whether the compiler supports -shared -Wl,–version-script=conftest.map… yes
checking whether the compiler supports -Wl,–export-dynamic… yes
checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000… yes
checking whether the compiler supports -Wl,-z,max-page-size=0x1000… yes
checking for i686-w64-mingw32-gcc… no
checking for i586-w64-mingw32-gcc… no
checking for i486-w64-mingw32-gcc… no
checking for i386-w64-mingw32-gcc… no
checking for i686-pc-mingw32-gcc… no
checking for i586-pc-mingw32-gcc… no
checking for i486-pc-mingw32-gcc… no
checking for i386-pc-mingw32-gcc… no
checking for i686-mingw32msvc-gcc… no
checking for i586-mingw32msvc-gcc… no
checking for i486-mingw32msvc-gcc… no
checking for i386-mingw32msvc-gcc… no
checking for i686-mingw32-gcc… no
checking for i586-mingw32-gcc… no
checking for i486-mingw32-gcc… no
checking for i386-mingw32-gcc… no
checking for i686-w64-mingw32-clang… no
checking for i586-w64-mingw32-clang… no
checking for i486-w64-mingw32-clang… no
checking for i386-w64-mingw32-clang… no
checking for mingw32-gcc… no
checking for pthread_create… no
checking for pthread_create in -lpthread… yes
checking for X… no
configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn’t what you want. You will need
to install 32-bit development packages of Xlib at the very least.
Use the --without-x option if you really want this.
[root@localhost wine-6.0]#

Best regards,
Marben