LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-24-2009, 03:34 PM   #1
suid0
Member
 
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?

Thanks,
 
Old 05-24-2009, 03:39 PM   #2
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
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
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
It may be possible to find a slamd64 you can explodpkg into a temp directory then this on the binaryfiles
Code:
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
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

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.

samac

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: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I'm sure you've seen this thread, especially this post:
http://www.linuxquestions.org/questi...8/#post3554239
 
Old 05-27-2009, 09:23 AM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 883

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

Many of these pkgs do tho:

http://www.amigib.nazwa.pl/linuks/slamd64_12.2/

So far:
All of Eric's pkgs have worked for me.
 
Old 05-27-2009, 09:48 AM   #7
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
This is solved, see this thread http://www.linuxquestions.org/questi...ware64-728668/

samac
 
  


Reply


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


All times are GMT -5. The time now is 10:02 PM.

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