wine64 from Epel does not start win32 applications

Issues related to applications and software problems
szilagyic
Posts: 25
Joined: 2010/09/20 00:42:06

Re: wine64 from Epel does not start win32 applications

Post by szilagyic » 2014/08/07 16:20:30

Are there any of the wine i686 packages for EL7 published out there anywhere? I too am having the same issue. I have a 32-bit wine prefix and I intend on keeping it that way. Unfortunately I have no current way to compile all of the i686 rpms. For now, I've found the following workaround sufficient:

Download the following packages from the Fedora 20 repository:
  • wine*
  • mingw32-wine-gecko-2.24-1.fc20.noarch.rpm
  • nss-mdns-0.10-13.fc20.i686.rpm
  • openal-soft-1.15.1-3.fc20.i686.rpm
Manually install openal-soft with rpm -i.
Install the remaining packages with "yum localinstall *.rpm".

Yum was able to grab the i686 libraries from the CentOS repositories and install the Fedora 20 i686 wine packages, and all is well for now. So far the applications I've tried all work. But, as Fedora changes, I'm guessing this will be more difficult unless there are consistent builds of the i686 wine rpms for EL7 specifically.

nutznboltz
Posts: 25
Joined: 2010/06/08 18:32:43

Re: wine64 from Epel does not start win32 applications

Post by nutznboltz » 2014/08/08 13:59:24

Install Springdale EL7 32-bit (Verona) possibly in virtual machine.
Use boot.iso from
http://springdale.math.ias.edu/data/spr ... os/images/

Install EPEL in Springdale.
Disable [epel] and enable [epel-source] with enable=0 or 1 setting.
You can revert that when this procedure is complete.

Configure rpmbuild

Code: Select all

yum install gcc gcc-c++ rpm-build 
rpmdev-setuptree
Fetch EPEL SRPMs

Code: Select all

cd ~/rpmbuild/SRPMS
yumdownloader --source dbus-c++ jack-audio-connection-kit libffado libxml++ nss-mdns openal-soft portaudio scons wine
Install EPEL SRPMs

Code: Select all

rpm -iv *.rpm
Backup wine.spec to wine.spec.orig and install my replacement for wine.spec (please note I'm not proud of that wine.spec, I modified it in a hurry over breakfast)
I tried to add this as an attachment but it's too big so wine.spec is in my gdrive here:
https://drive.google.com/file/d/0ByWsBZ ... sp=sharing

Install Springdale RPMs for build dependencies

Code: Select all

cd ../SPEC
yum-builddep ???.spec
Unfortunately, the sequence of spec files to use eludes me, just
try different combinations until it all resolves. You will have to
"yum install" some packages listed in the missing dependency output too.

Build EPEL RPMs

You will have to install the RPMs after each one is built in order
to satisfy the dependencies of the next RPM.

After rpmbuild of libxml++

Code: Select all

cd ../RPM
rpm -i i686/libxml++ ... 
cd -
and so on.

Code: Select all

rpmbuild -ba libxml++.spec
rpmbuild -ba dbus-c++.spec
rpmbuild -ba scons.spec
rpmbuild -ba libffado.spec
rpmbuild -ba jack-audio-connection-kit.spec
rpmbuild -ba portaudio.spec
rpmbuild -ba openal-soft.spec
rpmbuild -ba nss-mdns.spec
rpmbuild -ba wine.spec
Copy RPMs to CentOS 7 then cd to the base directory and make a repo:

Code: Select all

cd RPMS
createrepo .
Then install yum configuration under /etc/yum/repos.d/
Example:

Code: Select all

cat wine.repo
[wine]
baseurl=file:///home/nutz/wine/RPM
gpgcheck=0

Then yum install wine.i686 and yum install wine-wow.i686

RHCE7
Posts: 3
Joined: 2014/07/24 22:03:51

Re: wine64 from Epel does not start win32 applications

Post by RHCE7 » 2014/08/10 20:56:39

nutznboltz, thanks!

Great job, it work for me now.

rs_alessandro
Posts: 3
Joined: 2014/08/04 02:13:36

Re: wine64 from Epel does not start win32 applications

Post by rs_alessandro » 2014/08/11 22:48:00

please, I'm switching to centos, it would be possible to provide a tutorial less complex?

rs_alessandro
Posts: 3
Joined: 2014/08/04 02:13:36

Re: wine64 from Epel does not start win32 applications

Post by rs_alessandro » 2014/08/18 23:23:53

please help with repo Springdale basis. I need the wine, just to mikrotik WinBox.

fins
Posts: 2
Joined: 2014/08/19 17:18:09

Re: wine64 from Epel does not start win32 applications

Post by fins » 2014/08/19 17:21:49

Quick hint for those trying to install inside vmplayer. The default virtual network adapter does not seem to be recognized. I forced an e1000 emulation by editing the vmx file and adding

Code: Select all

ethernet0.virtualDev = "e1000" 
From here, was able to install.

fins
Posts: 2
Joined: 2014/08/19 17:18:09

Re: wine64 from Epel does not start win32 applications

Post by fins » 2014/08/19 19:55:43

To make it easier, I've uploaded the RPM's compiled using the above method.
Download here: http://finsmedia.com/winerpms.tar.gz

Code: Select all

 tar -xvzf winerpms.tar.gz
cd winerpms
yum localinstall *
Should take care of it. Couple of notes: had to uninstall VLC (that I grabbed from the nux repo) to install; After installing could reinstall fine; I think fiddling with yum multiarch settings would get over this issue. Also had to uninstall wine.x86_86 (i.e. yum remove wine* ) and remove the existing .wine directory.

No warranties etc.. plus I'd never really recommend downloading and installing random rpm's from unknown sources!

nutznboltz
Posts: 25
Joined: 2010/06/08 18:32:43

Re: wine64 from Epel does not start win32 applications

Post by nutznboltz » 2014/08/21 14:29:28

EPEL updated openal-soft.

Yum produces "Multilib version problems found. This often means that the root ..." until an i686 openal-soft update is available.

Even after building the openal-soft-1.16.0-1.sdl7.i686.rpm putting it in my local repo and running "createrepo ." and "yum clean all" I had to use

Code: Select all

sudo yum --setopt=protected_multilib=false upgrade
to get in to install.

User avatar
psposito
Posts: 16
Joined: 2014/12/27 22:27:25
Contact:

Re: wine64 from Epel does not start win32 applications

Post by psposito » 2014/12/29 20:29:29

:D that I found Arffab repository at http://rpms.arrfab.net/ with both wine 64 and 32 bit versions. (Pretty well job)

User avatar
bluegroper
Posts: 251
Joined: 2005/09/07 23:04:21
Location: .au

Re: wine64 from Epel does not start win32 applications

Post by bluegroper » 2016/11/13 02:20:18

psposito wrote::D that I found Arffab repository at http://rpms.arrfab.net/ with both wine 64 and 32 bit versions. (Pretty well job)
"Nothing to be seen here, rpms.arrfab.net has been decomissioned a looooong time ago "
I'm not a complete idiot. There's still a few pieces missing.

Post Reply

Return to “CentOS 7 - Software Support”