LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing 32-bit WINE on Oracle Linux - complains about a lack of 'fcntl64' (https://www.linuxquestions.org/questions/linux-software-2/installing-32-bit-wine-on-oracle-linux-complains-about-a-lack-of-fcntl64-4175665349/)

FlatAssembler 12-03-2019 01:05 PM

Installing 32-bit WINE on Oracle Linux - complains about a lack of 'fcntl64'
 
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:

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:

/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:

libxml2-2.9.1-6.el7_2.3.i686.rpm: does not update installed package.
So, any idea what I am doing wrong?
I've also posted this question on the WINE forum, however, that forum appears to be very inactive right now. Furthermore, I doubt it's specific to WINE.

uteck 12-03-2019 01:33 PM

You are missing a lot stuff needed to display, so even if it did compile I doubt that you could interact with any app it ran.
You probably need all the X dev files installed to build Wine, the fcntl64 error is just a undefined reference, not enough to stop it from compiling.

FlatAssembler 12-05-2019 06:49 AM

Quote:

Originally Posted by uteck (Post 6064323)
You are missing a lot stuff needed to display, so even if it did compile I doubt that you could interact with any app it ran.
You probably need all the X dev files installed to build Wine, the fcntl64 error is just a undefined reference, not enough to stop it from compiling.

Well, I did install some X dev files, "configure" doesn't succeed without them.
The "undefined reference" error doesn't stop the program from compiling, but it stops it from linking, so you can't get the executable file.


All times are GMT -5. The time now is 05:02 PM.