-   Ubuntu (
-   -   error occured when i installed wine (

jianglu 07-03-2012 07:53 AM

error occured when i installed wine
hi everyone:
The error is as below. Can you explain these code for me.
jianglu@jianglu-K43SJ:~/wine-1.5.7$ ./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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
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.

flamelord 07-03-2012 02:28 PM

this is a simple problem, you appear to be running a 64-bit operating system, but wine is a 32-bit program, and therefore depends on 32-bit libraries. In order to properly build wine you will need to install the 32-bit versions of all its dependencies (the packages will probably look something like lib32-whatever). However, it is likely that whatever distribution you are using has a package for wine that will take care of all the dependencies for you. What distribution are you using?

All times are GMT -5. The time now is 05:51 AM.