HOWTO build wine 32bit on CentOS 7

Issues related to applications and software problems
User avatar
TrevorH
Forum Moderator
Posts: 20605
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: HOWTO build wine 32bit on CentOS 7

Postby TrevorH » 2015/05/23 12:12:31

Your current libdrm is not a CentOS supplied one. The 64 bit libdrm on CentOS 7 is libdrm-2.4.56-2.el7.x86_64 not libdrm-2.4.56-20.intel20143.x86_64. The one you have came from someone else and either they need to supply a matching 32 bit one or you need to remove it and replace it with ours.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

ToddAndMargo
Posts: 400
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

Re: HOWTO build wine 32bit on CentOS 7

Postby ToddAndMargo » 2015/05/26 06:22:05

Dear gcomes,

I rewrote your directions for Scientific Linux 7.1. I quote you heavily. Before I post to Wine's or others blogs, I would like your permission to include your writing.

You are cited in the beginning as follows:

Based on gcomes article on 2014/11/12 17:35:46 titles How to Build wine 32 on CentOS7:
https://www.centos.org/forums/viewtopic ... 48&t=49542

If you would feel more comfortable, I can send you the whole document. I would need an eMail address (PM me).

Many thanks,
-Todd

gcomes
Posts: 5
Joined: 2014/11/12 00:22:14

Re: HOWTO build wine 32bit on CentOS 7

Postby gcomes » 2015/05/27 14:59:52

ToddAndMargo wrote:Dear gcomes,

I rewrote your directions for Scientific Linux 7.1. I quote you heavily. Before I post to Wine's or others blogs, I would like your permission to include your writing.

-Todd


I don't think you need any permission in order to make a reference to a public forum's post . But if you feel you need such permission, then I grant it to you. Anyway, once you make your post(s), you can add the link(s) here so people interested in the subject can follow the discussion.

ToddAndMargo
Posts: 400
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

Re: HOWTO build wine 32bit on CentOS 7

Postby ToddAndMargo » 2015/05/27 17:04:20

gcomes wrote:I don't think you need any permission in order to make a reference to a public forum's post . But if you feel you need such permission, then I grant it to you. Anyway, once you make your post(s), you can add the link(s) here so people interested in the subject can follow the discussion.

Thank you.

I am putting the final touches on it. I will probably have it complete by Friday. I will post back the link.

p-we
Posts: 4
Joined: 2015/05/23 02:18:34

Re: HOWTO build wine 32bit on CentOS 7

Postby p-we » 2015/05/29 10:45:49

For what it is worth, I've decided to open a new thread regarding the following error:

Code: Select all

Protected multilib versions: libdrm-2.4.56-2.el7.i686 != libdrm-2.4.56-20.intel20143.x86_64

I think this will effect many considering that to install wine or skype (just to name a few) you will need a solution.
See https://www.centos.org/forums/viewtopic ... 48&t=52750)

p-we
Posts: 4
Joined: 2015/05/23 02:18:34

Re: HOWTO build wine 32bit on CentOS 7

Postby p-we » 2015/05/29 10:53:27

TrevorH wrote:Your current libdrm is not a CentOS supplied one. The 64 bit libdrm on CentOS 7 is libdrm-2.4.56-2.el7.x86_64 not libdrm-2.4.56-20.intel20143.x86_64. The one you have came from someone else and either they need to supply a matching 32 bit one or you need to remove it and replace it with ours.

Thanks for that. Will look into that

ToddAndMargo
Posts: 400
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

Re: HOWTO build wine 32bit on CentOS 7

Postby ToddAndMargo » 2015/06/01 20:20:18

ToddAndMargo wrote:
gcomes wrote:I don't think you need any permission in order to make a reference to a public forum's post . But if you feel you need such permission, then I grant it to you. Anyway, once you make your post(s), you can add the link(s) here so people interested in the subject can follow the discussion.

Thank you.

I am putting the final touches on it. I will probably have it complete by Friday. I will post back the link.


Howto build wine 32 on 64 bit only Scientific Linux 7.1:
http://scientificlinuxforum.org/index.p ... topic=3170

taylorkh
Posts: 422
Joined: 2010/11/24 15:08:33
Location: North Carolina, USA

Re: HOWTO build wine 32bit on CentOS 7

Postby taylorkh » 2016/02/09 02:48:55

Thank you gcomes for this tremendous resource! I am rather late getting to this as I have only recently started seriously looking at CentOS 7. When I followed your instructions today I found that the current version of the Wine source RPM is 1.8-1. This presented a few issues although none of them seem to have been show stoppers. If I may list them for the sake of other users...

I was able to find the location in the Wine source RPM to insert

Code: Select all

sed -i '/winegcc/s/-o /-m32 &/' tools/makedep.c
I was NOT able to find the lines which you next instructed should be removed. This did not seem to prevent a successful build.

One new item which did cause a build issue was illustrated by this error

Code: Select all

RPM build errors:
    File not found: /building/rpmbuild/rpmbuild/BUILDROOT/wine-1.8-1.el7.centos.i386/usr/lib/wine/wpcap.dll.so
As I knew no better I simply found the reference to that dll in the source RPM and commented it out. Wine then build successfully and I was able to install wine and install a Windows program using the wine installation. I guess if I run across a Windows application which references that dll it will cause an error. Perhaps someone with more knowledge that I can find the missing .so file and provide instructions as to how to add it to the build process.

Thanks again,

Ken

gcomes
Posts: 5
Joined: 2014/11/12 00:22:14

Re: HOWTO build wine 32bit on CentOS 7

Postby gcomes » 2016/02/19 20:13:54

In order to compile wine 1.8 you need to install libpcap-devel.i686 too.
However, this post is essentially obsolete now. To easily build wine 32-bit just install CentOS 7 32-bit and build openal-soft, nss-mdns and wine on it. Then install the 32-bit rpm on CentOS 7 64-bit

nggit
Posts: 5
Joined: 2017/09/02 23:14:45

Re: HOWTO build wine 32bit on CentOS 7

Postby nggit » 2017/09/04 02:10:29

openal-soft.i686 is available here: https://buildlogs.centos.org/c7-epel/op ... .el7.i686/
nss-mdns.i686: @nux-dextop repo