Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-24-2009, 03:34 PM   #1
Registered: Jul 2005
Location: Brazil
Distribution: Slackware, openSuSe, Ubuntu, Fedora
Posts: 56

Rep: Reputation: 16
Slackware64, trying to compile wine with SBo

Hello folks,

I'm trying to compile wine but I see an error message.
I tried first to change ARCH variable but didn't work. Any ideas?

checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

It looks like wine uses 32bit libs. Is there any way to workaround this?

Old 05-24-2009, 03:39 PM   #2
Registered: Mar 2002
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 731

Rep: Reputation: 171Reputation: 171
As far as I know, WINE requires the 32 bit libraries. This has been discussed in several other threads. Slackware64-current is capable of using such 32 bit libraries, but currently it does not ship with them. Since Slackware64-current is still in development, that may or may not change. If not, the community will surely step up to provide an easy way to add them after the fact.
Old 05-24-2009, 03:51 PM   #3
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
It may be possible to find a slamd64 you can explodpkg into a temp directory then this on the binaryfiles
objdump -x binaryfile | grep NEEDED
You could then find the slamd64 packages for the dependencies and build the 32 bit portions you are missing.... Sounds like a lot of work though...
Old 05-24-2009, 04:49 PM   #4
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Rep: Reputation: 137Reputation: 137
I had the same problem so I just used the package that I compiled on my Slackware 12.2 partition and installed it with the 32bit compatibility packages from slamd64 (aaa-elflibs, xlibs and gcc). It will work with just the first two but it is faster with the third.

I am going to try with BlueWhite64's packages tomorrow, though as BW64 uses a different directory structure I will have to do a bit of exploding, renaming and makepkg'ing.

The above test wasn't successful, but it could be something I did wrong.


Last edited by samac; 05-24-2009 at 05:33 PM.
Old 05-27-2009, 08:19 AM   #5
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,934

Rep: Reputation: 128Reputation: 128
I'm sure you've seen this thread, especially this post:
Old 05-27-2009, 09:23 AM   #6
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-14.2
Posts: 907

Rep: Reputation: 88
I tried "some" of the BW64 pkgs but none of the worked.

Many of these pkgs do tho:

So far:
All of Eric's pkgs have worked for me.
Old 05-27-2009, 09:48 AM   #7
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Rep: Reputation: 137Reputation: 137
This is solved, see this thread



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Openoffice with Openclipart sBo pkg ? slackass Slackware 2 01-30-2009 09:24 AM
How to compile wine? aim001good Linux - Newbie 3 12-12-2008 10:52 PM
Virtualbox-ose compilation error using Sbo slack-build samac Slackware 11 10-30-2008 02:28 PM
Wine compile error on fd.h metalorn Linux - Software 2 09-02-2004 07:06 PM
Cannot compile wine from source wampfler Fedora 7 11-20-2003 05:05 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration