Building WINE from source on Oracle Linux

Questions about Wine on Linux
Post Reply
FlatAssembler
Newbie
Newbie
Posts: 2
Joined: Tue Dec 03, 2019 12:33 am

Building WINE from source on Oracle Linux

Post by FlatAssembler » Tue Dec 03, 2019 12:36 am

Hey, guys!
So, I'd like to be able to run some 32-bit Windows programs on Oracle Linux, which is the primary OS on my laptop. Now, the apps I want to run are primarily FlatAssembler and some console apps, so that I don't need to use a VM to develop my project. FlatAssembler for Windows doesn't have 64-bit version right now, and the WINE package provided by Oracle Linux is 64-bit only.
So, I have decided to try to build WINE from source. So, I have installed the 32-bit glibc from CentOS repository, built GCC 8.3.0 from source with "multilib" enabled, and now "-m32" works.
Now, when I run "configure", I get those warnings:

Code: Select all

configure: libxcursor 32-bit development files not found, the Xcursor extension won't be supported.
configure: libxi 32-bit development files not found, the Xinput extension won't be supported.
configure: XShm 32-bit development files not found, X Shared Memory won't be supported.
configure: XShape 32-bit development files not found, XShape won't be supported.
configure: libXxf86vm 32-bit development files not found, XFree86 Vidmode won't be supported.
configure: libxrandr 32-bit development files not found, XRandr won't be supported.
configure: libxfixes 32-bit development files not found, Xfixes won't be supported.
configure: libxinerama 32-bit development files not found, multi-monitor setups won't be supported.
configure: libxcomposite 32-bit development files not found, Xcomposite won't be supported.
configure: libGLU 32-bit development files not found, GLU won't be supported.
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: pcap 32-bit development files not found, wpcap won't be supported.
configure: libdbus 32-bit development files not found, no dynamic device support.
configure: lib(n)curses 32-bit development files not found, curses won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libv4l 32-bit development files not found.
configure: libgphoto2 32-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected.
configure: liblcms2 32-bit development files not found, Color Management won't be supported.
configure: libz 32-bit development files not found, data compression won't be supported.
configure: libpulse 32-bit development files not found or too old, Pulse won't be supported.
configure: gstreamer-1.0 base plugins 32-bit development files not found, GStreamer won't be supported.
configure: libudev 32-bit development files not found, plug and play won't be supported.
configure: libSDL2 32-bit development files not found, SDL2 won't be supported.
configure: libcapi20 32-bit development files not found, ISDN won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: fontconfig 32-bit development files not found, fontconfig won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: libkrb5 32-bit development files not found (or too old), Kerberos won't be supported.
configure: libgssapi_krb5 32-bit development files not found (or too old), no Kerberos SSP support.
configure: libtiff 32-bit development files not found, TIFF won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.
configure: openal-soft 32-bit development files not found (or too old), XAudio2 won't be supported.
configure: libvulkan and libMoltenVK 32-bit development files not found, Vulkan won't be supported.
configure: vkd3d 32-bit development files not found, Direct3D 12 won't be supported.
configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.

configure: WARNING: libxrender 32-bit development files not found, XRender won't be supported.

configure: WARNING: libxml2 32-bit development files not found (or too old), XML won't be supported.

configure: WARNING: libxslt 32-bit development files not found, xslt won't be supported.

configure: WARNING: libgnutls 32-bit development files not found, no schannel support.

configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.

configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.
Now, correct me if I am wrong, but I don't need any of those stuff for running FlatAssembler or simple console apps. I also only have 5.6 GB of disk space left on my hard drive.
However, when I try to run "make", I get a bunch of errors such as this one:

Code: Select all

/usr/local/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/teo.samarzija/wine-build/server/../../wine-4.0.3/server/fd.c:1177: undefined reference to `fcntl64'
I've read on StackOverflow that then I should install libxml2. However, if I try to install it from the CentOS packages respository, I get this:

Code: Select all

libxml2-2.9.1-6.el7_2.3.i686.rpm: does not update installed package.
So, any idea what I am doing wrong?

FlatAssembler
Newbie
Newbie
Posts: 2
Joined: Tue Dec 03, 2019 12:33 am

Re: Building WINE from source on Oracle Linux

Post by FlatAssembler » Fri Dec 06, 2019 1:05 am

In other words, what do you think

Code: Select all

undefined reference to `fcntl64'
is supposed to mean? Does that mean my 32-bit glibc is too old? Should I try to compile it from source (and possibly crash my Linux installation)? Or does it mean something else entirely?

Post Reply