您尚未登录。

#1 2013-10-28 19:20:50

wsgdlhy
会员
注册时间: 2011-08-19
帖子: 59

怎么安装wine?

pacman -Ss wine
community/winetricks 20130707-1
    Script to install various redistributable runtime libraries in Wine.

搜索没找到wine包,从https://www.archlinux.org/packages/community/i686/wine/下载到本安装提示错误

pacman -U wine-1.7.5-1-i686.pkg.tar.xz
正在加载软件包...
错误:无法准备事务处理 (无效的软件包架构)
:: 软件包 'wine-1.7.5-1-i686' 未包含一个有效的架构

从http://mirrors.ibiblio.org/wine/source/1.7/下载源码编译也有错误


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.


[img]http://i.wotula.com/wp.png[/img]

离线

#2 2013-10-28 20:22:44

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,472
个人网站

Re: 怎么安装wine?

到 pacman.conf 里取消 multilib 源的注释。

离线

#3 2013-10-28 21:00:22

wsgdlhy
会员
注册时间: 2011-08-19
帖子: 59

Re: 怎么安装wine?

百合仙子 说:

到 pacman.conf 里取消 multilib 源的注释。

感谢!!!安装中


[img]http://i.wotula.com/wp.png[/img]

离线

页脚