Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
    Wine Installer v1.0

Warning !! wine binary (still) found, which may indicate
a (conflicting) previous installation.
You might want to abort and uninstall Wine first.
(If you previously tried to install from source manually, 
run 'make uninstall' from the wine root directory)

We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine?  Enter 'no' to build Wine without installing:
(yes/no) yes
Running 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 whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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.

Configure failed, aborting install.

How do I fix this problem?

share|improve this question
add comment

3 Answers

up vote 13 down vote accepted

I guess you use Ubuntu 12.04 x64 which now supports multiarchitecture. In other words on a 64 bit system you can build only Wine-x64 version. Building 32bit Wine on Ubuntu 12.04x64 seems to buggy as for now.

So just run:

./configure --enable-win64
share|improve this answer
1  
thanks that fixed it! –  jaorizabal Apr 30 '12 at 20:46
2  
Doesn't that build wine64 instead of wine? I can't run windows 32-bit programs with wine64. –  Gauthier Jul 29 '13 at 12:23
add comment

As per: http://stackoverflow.com/a/17748092/108802

You need to install the gcc-multilibs.

sudo apt-get install gcc-multilib g++-multilib

Then [...] specifyiong a 32-bit host and passing 32-bit compilation flags:

./configure --host=i686-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
share|improve this answer
add comment

I'm able to do installition linux "RedHat 6.4" after installing some of the packages like gcc,gcc-c++,flex,bison etc.

with below run on prompt:

./configure --enable-win64 --without-freetype

make

wine notepad++.exe
share|improve this answer
5  
and, does that work in Ubuntu? –  Braiam Oct 3 '13 at 15:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.