https://bugs.winehq.org/show_bug.cgi?id=47763
Bug ID: 47763 Summary: Update build guide for Fedora 30 Product: WineHQ.org Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: www-unknown Assignee: wine-bugs@winehq.org Reporter: tukusejssirs@protonmail.com Distribution: ---
(1) I find [Fedora build guide](https://wiki.winehq.org/Fedora) outdated a bit. (2) I have no editing rights at WineHQ Wiki. (3) I have created a new guide how to build wine32 and wine64 (both stable and dev latest version) tested on vanilla Fedora 30. (4) Although the guide works, I have no idea if all the steps are required. (5) Please check the comments within the guide below for more details.
:::bash # This is updated installation guide for Fedora 30 AMD64. Using this guide one could build from source the latest wine stable or development version, and either wine64 or wine32 or both. # Note that I am not sure if all the steps (or packages) are really required, but it works.
# Anyway, I tried to install the WineHQ packages, but I could not install both wine64 and wine32 (I has some 32-bit apps that I need to be able run, e.g. Mikrotik WinBox).
# Add RPM Fusion repo sudo dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(r... -E %fedora).noarch.rpm
# Install all required packages # Note: Package libpng-static was not listed at https://wiki.winehq.org/Fedora, but when It was not installed, wine64 (and maybe wine32) was not able to detect freetype (`pkg-config --cflags freetype2` complained that libpng is not installed or something like that) sudo dnf -y install alsa-plugins-pulseaudio.i686 glibc-devel.i686 glibc-devel libgcc.i686 libX11-devel.i686 freetype-devel.i686 libXcursor-devel.i686 libXi-devel.i686 libXext-devel.i686 libXxf86vm-devel.i686 libXrandr-devel.i686 libXinerama-devel.i686 mesa-libGLU-devel.i686 mesa-libOSMesa-devel.i686 libXrender-devel.i686 libpcap-devel.i686 ncurses-devel.i686 libzip-devel.i686 lcms2-devel.i686 zlib-devel.i686 libv4l-devel.i686 libgphoto2-devel.i686 cups-devel.i686 libxml2-devel.i686 openldap-devel.i686 libxslt-devel.i686 gnutls-devel.i686 libpng-devel.i686 flac-libs.i686 json-c.i686 libICE.i686 libSM.i686 libXtst.i686 libasyncns.i686 libedit.i686 liberation-narrow-fonts.noarch libieee1284.i686 libogg.i686 libsndfile.i686 libuuid.i686 libva.i686 libvorbis.i686 libwayland-client.i686 libwayland-server.i686 llvm-libs.i686 mesa-dri-drivers.i686 mesa-filesystem.i686 mesa-libEGL.i686 mesa-libgbm.i686 nss-mdns.i686 ocl-icd.i686 pulseaudio-libs.i686 sane-backends-libs.i686 tcp_wrappers-libs.i686 unixODBC.i686 samba-common-tools.x86_64 samba-libs.x86_64 samba-winbind.x86_64 samba-winbind-clients.x86_64 samba-winbind-modules.x86_64 mesa-libGL-devel.i686 fontconfig-devel.i686 libXcomposite-devel.i686 libtiff-devel.i686 openal-soft-devel.i686 mesa-libOpenCL-devel.i686 opencl-utils-devel.i686 alsa-lib-devel.i686 gsm-devel.i686 libjpeg-turbo-devel.i686 pulseaudio-libs-devel.i686 pulseaudio-libs-devel gtk3-devel.i686 libattr-devel.i686 libva-devel.i686 libexif-devel.i686 libexif.i686 glib2-devel.i686 mpg123-devel.i686 mpg123-devel.x86_64 libcom_err-devel.i686 libcom_err-devel.x86_64 libFAudio-devel.i686 libFAudio-devel.x86_64 gstreamer-plugins-base-devel gstreamer-devel.i686 gstreamer.i686 gstreamer-plugins-base.i686 gstreamer-devel gstreamer1.i686 gstreamer1-devel gstreamer1-plugins-base-devel.i686 gstreamer-plugins-base.x86_64 gstreamer.x86_64 gstreamer1-devel.i686 gstreamer1-plugins-base-devel gstreamer-plugins-base-devel.i686 gstreamer-ffmpeg.i686 gstreamer1-plugins-bad-free-devel.i686 gstreamer1-plugins-bad-free-extras.i686 gstreamer1-plugins-good-extras.i686 gstreamer1-libav.i686 gstreamer1-plugins-bad-freeworld.i686 libpng-static
# Note: These packages not found in Fedora 30 + RPM Fusion, but that are listed at https://wiki.winehq.org/Fedora # libNX_Xext-devel.i686 libcapifax-devel.i686 python-talloc.x86_64
# Remove any wine* versions previously installed # This might be not necessary if you have previously installed wine from source sudo dnf -y remove wine wine-*
# Symlink freetype2 to freetype sudo ln -sf /usr/include/freetype{2,}
# Install some develpment tools as groups sudo dnf -y group install "C Development Tools and Libraries" "Development Tools"
# Although it is not necessary, I usually create an empty folder before cloning git repo mkdir -p ~/git/wine git clone git://source.winehq.org/git/wine.git ~/git/wine
# Create build folders for x32 and x64 mkdir ~/git/wine/wine{32,64}
# Compile wine64 cd ~/git/wine/wine64 git checkout stable # Skip this step if you wish to compile the development release ../configure --enable-win64 make -j 4
# Compile wine32 cd ~/git/wine/wine32 PKG_CONFIG_PATH=/usr/lib/pkgconfig CC="ccache gcc -m32" ../configure --with-wine64=../wine64 make -j 4
# Install wine32 sudo make install
# Install wine64 cd ../wine64 sudo make install
https://bugs.winehq.org/show_bug.cgi?id=47763
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com ---
(2) I have no editing rights at WineHQ Wiki.
Create an account. It is a Wiki.
(4) Although the guide works, I have no idea if all the steps are required
That's not a very good guide then.
https://bugs.winehq.org/show_bug.cgi?id=47763
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Ever confirmed|0 |1 Resolution|INVALID |---
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- Not invalid; that page does need updating.
(In reply to Ken Sharp from comment #1)
(2) I have no editing rights at WineHQ Wiki.
Create an account. It is a Wiki.
Guess you've been gone for awhile. Merely creating a wiki account no longer gives editing rights. They have to be requested.
https://bugs.winehq.org/show_bug.cgi?id=47763
--- Comment #3 from Tukusej’s Sirs tukusejssirs@protonmail.com --- (In reply to Rosanne DiMesio from comment #2)
Not invalid; that page does need updating.
(In reply to Ken Sharp from comment #1)
(2) I have no editing rights at WineHQ Wiki.
Create an account. It is a Wiki.
Guess you've been gone for awhile. Merely creating a wiki account no longer gives editing rights. They have to be requested.
True about the rights. :)
So, is there anything I can do? :)