HOWTO build wine 32bit on CentOS 7

Issues related to applications and software problems
gcomes
Posts: 7
Joined: 2014/11/12 00:22:14

Re: HOWTO build wine 32bit on CentOS 7

Post by 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

Post by 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

Post by 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 viewtopic.php?f=48&t=52750)

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

Re: HOWTO build wine 32bit on CentOS 7

Post by 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

Post by 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: 534
Joined: 2010/11/24 15:08:33
Location: North Carolina, USA

Re: HOWTO build wine 32bit on CentOS 7

Post by 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: 7
Joined: 2014/11/12 00:22:14

Re: HOWTO build wine 32bit on CentOS 7

Post by 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: 7
Joined: 2017/09/02 23:14:45

Re: HOWTO build wine 32bit on CentOS 7

Post by 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

MikeAW2010
Posts: 1
Joined: 2017/11/30 19:40:24

Re: HOWTO build wine 32bit on CentOS 7

Post by MikeAW2010 » 2017/11/30 20:25:32

Hi, sorry for resurrecting this thread, however; I need help.
I am fairly new to CentOS and I too am having the problem where I cannot open windows programs or installers with wine.

I attempted to biuld a 32bit flavor of wine on my CentOS 7 64bit but where I am running into a problem is the file thats attached on the first post. Essentially, the RPM rebuild. please bare in mind my experience with UNIX is limited. I was not sure where to install this file or what specific directory it needs to go in. When I execute it from my $HOME directory I get an error:

Code: Select all

[root@localhost chrpath-0.13]# [root@localhost ~]# rpmrebuild [-e] <package.src.rpm>
bash: syntax error near unexpected token `newline'
and Im also having problems with the chrpath program. When I run the command:

Code: Select all

[root@localhost ~][root@localhost chrpath-0.13]# bash install.sh
I get the error:
install: no input file specified
What am I doing wrong and what do I need to do?

Post Reply