You are not logged in.

#1 2009-01-17 20:04:13

speng
Member
Registered: 2009-01-17
Posts: 136

[SOLVED]Cannot compile Wine on Arch64

I am trying to compile the 32 bit version of Wine on Arch 64. I know I could use PKGBUILDS and all that but I want to compile it from scratch.
I am not very experienced (at all) so please  post in retard language for me. smile

bash-3.2# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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.

I have installed the lib32 package, I don't know what I'm missing. I have done this before on an X86_64 system but never on Arch Linux.
Any ideas on what I might need?

Thanks!

Last edited by speng (2009-01-18 02:37:28)

Offline

#2 2009-01-17 20:38:06

112percent
Member
From: England
Registered: 2009-01-02
Posts: 18
Website

Re: [SOLVED]Cannot compile Wine on Arch64

Offline

#3 2009-01-17 21:11:45

speng
Member
Registered: 2009-01-17
Posts: 136

Re: [SOLVED]Cannot compile Wine on Arch64

I'll try this. When I have compiled wine, do I need to use the Arch32 system every time I want to load a program?

Also, is this the only way to do it?

Thanks. smile

Offline

#4 2009-01-17 21:14:41

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: [SOLVED]Cannot compile Wine on Arch64

You could just install bin32-wine from aur...


Cthulhu For President!

Offline

#5 2009-01-17 22:56:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Cannot compile Wine on Arch64

speng wrote:

I'll try this. When I have compiled wine, do I need to use the Arch32 system every time I want to load a program?

Also, is this the only way to do it?

Thanks. smile

You're going to need a bunch of 32 bit libraries to run 32 bit Wine. Either a chroot or lib32 libraries will work.

I don't know much about cross compilers, so I can't help with your other question. What distro were you running when you did this before?

Offline

#6 2009-01-18 00:33:21

speng
Member
Registered: 2009-01-17
Posts: 136

Re: [SOLVED]Cannot compile Wine on Arch64

OpenSUSE, I only wanted to compile it for the newest dev version, it was available in the AUR though.

I'm surprised at how easy it was to install, took me about 5 minutes and it works flawlessly.
Thanks. smile

Offline

#7 2009-01-18 02:13:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Cannot compile Wine on Arch64

speng wrote:

OpenSUSE, I only wanted to compile it for the newest dev version, it was available in the AUR though.

I'm surprised at how easy it was to install, took me about 5 minutes and it works flawlessly.
Thanks. smile

OpenSUSE has a multi-lib setup by default, much like Ubuntu. Unlike Arch, they're hybrid systems.

Anyway, if you're done with this thread, please mark it as [SOLVED]

Offline

Board footer

Powered by FluxBB