Compilating wine[Solved]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Van_Vinkle
Donor
Posts: 196
Joined: 25. Oct 2012, 17:39

Compilating wine[Solved]

Post by Van_Vinkle »

I'm an user of Salix 13.37 64 bit MATE Edition and very happy with it. However I'd need also to run Win programs for some tasks, and being my system 64 bits I've installed multilib facilities according to http://www.slackware.com/~alien/multilib/ for obtain wine package.

The multilib installation was fine. I changed the environment (following the advice of the referred link) to 32 instead of 64 through the script . /etc/profile.d/32dev.sh. I tried to get wine using Sourcery. And then a problem showed up: the wine package was retrieved easily, the compilation began and when the process came at:

Code: Select all

checking for gcc...  gcc
it entered into an infinite loop, consuming all the memory space (2 Gb) and also all the swap (other 2 Gb) without never end. It was necessary to cut off the process.

How can I compile happily the wine package?

Thanks in advance.
Last edited by Van_Vinkle on 29. May 2014, 15:21, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Compilating wine

Post by gapan »

Why don't you use the package from the 32bit repos?
Image
Image
User avatar
Van_Vinkle
Donor
Posts: 196
Joined: 25. Oct 2012, 17:39

Re: Compilating wine

Post by Van_Vinkle »

gapan wrote:Why don't you use the package from the 32bit repos?
How can I get it?
What changes must I do in /etc/slackpkg, /etc/slapt-get and /etc/slackbuild?
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Compilating wine

Post by gapan »

Better just download and install it manually:
http://salix.hostingxtreme.com/i486/13. ... 86-1cd.txz
Image
Image
User avatar
Van_Vinkle
Donor
Posts: 196
Joined: 25. Oct 2012, 17:39

Re: Compilating wine

Post by Van_Vinkle »

Thank you very much for your support. Now wine is running like a charm in my system.

For the sake of upgrades after having added multilib, I've changed the files containing sources:

Code: Select all

root[etc]# cat /etc/slapt-get/slapt-getrc
WORKINGDIR=/var/slapt-get
EXCLUDE=^aaa_elflibs,^aaa_base,^devs,^glibc-.*,^kernel-.*,^udev,^rootuser-settings,^zzz-settings.*,-i?86-,transmission,^wx*,liferea
SOURCE=http://download.salixos.org/x86_64/slackware-13.37/:OFFICIAL
SOURCE=http://download.salixos.org/x86_64/slackware-13.37/extra/:OFFICIAL
SOURCE=http://download.salixos.org/x86_64/13.37/:PREFERRED
SOURCE=http://www.slackware.com/~alien/multilib/13.37/:CUSTOM
root[etc]# 
root[etc]# cat /etc/slapt-get/slapt-srcrc
BUILDDIR=/usr/src/slapt-src
PKGEXT=txz
SOURCE=http://download.salixos.org/slkbuild/13.37/
SOURCE=http://www.slackware.org.uk/slackbuilds.org/13.37/
SOURCE:http://www.slackware.com/~alien/multilib/13.37/root[etc]# 
Is it well done?
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Compilating wine

Post by gapan »

Yes, I think it's fine.
Image
Image
Post Reply