安装wine1.1.26出错

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
osos
帖子: 9
注册时间: 2009-08-06 10:42

安装wine1.1.26出错

#1

帖子 osos » 2009-08-06 10:44

代码: 全选

[os@QiPengos wine-1.1.26]$ sudo ./configure
[sudo] password for os: 
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.
最后一行说要我安装32位库是什么意思,难道64位系统需要不同的源安装包吗?
osos
帖子: 9
注册时间: 2009-08-06 10:42

Re: 安装wine1.1.26出错

#2

帖子 osos » 2009-08-06 10:49

http://wiki.winehq.org/WineOn64bit有这么一段话:

代码: 全选

Installing 32-bit Wine on a 64-bit system

If you just want to use Wine, there is no need to compile it using the instructions here. Just go to the downloads page and click the link for your distribution:

http://www.winehq.org/site/download

Building Wine on a 32-bit system

Has its own page Recommended Packages.

Building 64-bit Wine on a 64-bit system

Has its own page Wine64.

Building 32-bit Wine on a 64-bit (x86-64) system

To successfully build 32-bit Wine on 64-bit system your system needs 32-bit compatibility packages. These include: a compiler that can create 32-bit binaries, 32-bit development and runtime libraries, and development headers. To install them all, you can do it the easy way or the hard way:

(Note: Since the Linux world as well as Wine change daily, what works today might not work tomorrow. "Easy scripts" might not install everything that the latest Wine requires.) 
快晕了,在64位机子上安装32位的wine还是64位的wine 更好?
头像
32idea
帖子: 1251
注册时间: 2006-12-15 9:32
系统: linux

Re: 安装wine1.1.26出错

#3

帖子 32idea » 2009-08-06 12:02

64位的系统运行32位的软件需要32位软件的相关支持,wine貌似并非真正的64位原生程序,只是兼容64位,因此需要在64位系统下安装32位的相应支持程序。
而且64位的系统没法安32位的wine
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: 安装wine1.1.26出错

#4

帖子 BigSnake.NET » 2009-08-06 12:04

wine 只有 32 位的, 参考官网上的 build 指南
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
Gu Hubin
帖子: 14
注册时间: 2009-08-01 13:19

Re: 安装wine1.1.26出错

#5

帖子 Gu Hubin » 2009-11-01 13:02

that means you have to install the need libraries for a ia32 development.
Gu Hubin
帖子: 14
注册时间: 2009-08-01 13:19

Re: 安装wine1.1.26出错

#6

帖子 Gu Hubin » 2009-11-01 13:10

I happened to meet the same problem with you, and the url below would certainly be helpful

http://wiki.ubuntu.org.cn/UbuntuWiki:In ... gCompilers

Whats more the ibus input utiliy is out of work in my kubuntu 9.10 and that's why I could only use english. :em06
回复