LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
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: 111Reputation: 111
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: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
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-15.0
Posts: 910

Rep: Reputation: 90
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: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration