[转帖]Wine安装使用问题集锦

Wine、Cedega、CrossOver 等配置
回复
头像
xhylyx
帖子: 353
注册时间: 2007-04-09 15:19

[转帖]Wine安装使用问题集锦

#1

帖子 xhylyx » 2008-01-02 12:53

如果你是wine使用新手,请首先看这贴
http://www.easywine.org/bbs/viewthread. ... a=page%3D1

我怎么安装Wine
http://www.easywine.org/bbs/viewthread. ... a=page%3D2



安装wine出现的问题与解决



1、安装wine出错了(缺少文件) 安装wine 的 RPM包时候出现如下错误。
# rpm -ivh wine-xim-20030408-1.i386.rpm
error: Failed dependencies:
libsane.so.1 is needed by wine-xim-20030408-1
libXv.so.1 is needed by wine-xim-20030408-1
解决:上google搜索libsane.so.1和libXv.so.1,然后安装后再安装wine。

2、编译安装Wine的时候出现checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
解决:请安装你的GCC编译器,安装你系统的开发包光盘就可以。

3、系统时间问题。
./configure后
make depend 时出现问题
如下:
[root@localhost wine-20030115]# make depend
make: *** Warning: File `Makefile.in' has modification time in the future (2003-01-05 09:05:12 > 2002-03-22 10:49:55)
Makefile is older than Makefile.in configure, please rerun ./configure
make: *** [Makefile] Error 1
You have new mail in /var/spool/mail/root
解决:你的系统时间不对,检查一下!

4、用了root用户解压,wineinstall不能安装
./tools/wineinstall
出现
WINE Installer v0.75
~/download/wine-20050930 ~/download/wine-20050930/tools
The source directory is not writable. You probably extracted the sources as root.
You should remove the source tree and extract it again as a normal user.
解决:你可能是用root账户解压了。你应该删除它们,并用你现在的账户重新解压一遍。

5、编译的时候出现/usr/local/lib doesn't exist in your /etc/ld.so.conf, it will be added
when we perform the install...
解决:将usr/local/lib这行加到/etc/ld.so.conf文件,然后以root运行ldconfig .之后再进行安装。

6、编译Wine时出现“X development files not found......"解决:---安装相关的devel支持,如用gnome桌面的,得安装上gnome-devel


使用wine出现的问题与解决



1、用wine运行exe程序出现以下错误# wine XXX.exe
wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory”
解决:在“/etc/ld.so.conf”中加入“/usr/local/lib”并运行ldconfig使lib缓存到/etc/ld.so.cache中

2、关于Wine下面QQ乱码问题的说明
打字的时候出现“???”
解决:到QQ的安装目录下,将 Riched32.dll 改个名字,如 Riched32.dll.bak ,将 Riched20.dll 改个名字,如 Riched20.dll.bak 这样可以强行使用wine自带的 richedit 控件

3、我的wine运行软件速度,反应很慢
解决:尝试将你的locale转成非UTF8的代码。
或者参看这2编文章:
http://www.easywine.org/bbs/viewthread. ... a=page%3D1
http://www.easywine.org/bbs/viewthread. ... a=page%3D1

4、采用GB18030为默认汉字编码,第一次运行Wine会提示如下问题,如何解决?[root@localhost wine-20040813]# ./wine
fixme:nls:get_env_lcid charset GB18030 was not recognized
/root/.wine updated successfully.
fixme:nls:get_env_lcid charset GB18030 was not recognized
Wine 0.9.3
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
解决方法:编辑.bashrc文件,在该文件尾部添加如下两行:
export LANG=zh_CN.gb2312
export LC_ALL=zh_CN.2312
重新运行bash后敲入locale命令,默认的编码就会显示GB2312了,再次运行Wine就不会有上述问题。

5、使用Wine运行程序后,无法看到和输入中文,如何解决?
解决方法:在GBK或 GB2312 编码状态下可以输入中文,但如果没有进行默认编码设置,就无法输入中文。
按照上面的方法设置locale。还有就是如果没有中文字体也无法显示中文,自然也就看不见汉字。

6、无法安装 Windows中由Installshield制作的安装程序,如何解决?
解决方法:要运行Installshield制作的安装程序需要安装支持文件DCOM98(DCOM95或其他支持文件),所以为了在 Linux中安装使用 Installshield 做的安装程序,必须要装DCOM98,下载地址:http://www.microsoft.com/com/dcom/dcom98/download.asp,然后再使用 wine dcom98.exe 命令来安装。

7、Wine对NTFS文件系统的支持如何?可以使用NTFS分区中的文件和程序吗?
解决方法:由于Linux内核默认不支持NTFS文件系统,即使重新编译内核支持 NTFS 也仅限于只读,如果要写的话,是十分危险的。所以最好不要在Linux中使用NTFS 分区上的程序和文件,建议使用 FAT32 文件系统分区或Linux分区。

8、配置Wine驱动器,需要将系统盘指向一个真实的Window系统分区吗?如果是这样又如何操作?
解决方法:不要将Wine配置文件中的[Driver X:] 指向一个存在的真实 Windows分区,只须使用Wine安装时创建 “虚拟”的Windows系统结构即可。
终端中键入winecfg 进入Drivers 选项卡就可以进行配置

9、如何知道哪些Windows程序可以在Wine中良好地运行?
解决方法:
http://www.easywine.org/bbs/viewthread. ... a=page%3D4
这里有wine支持软件列表。当然没有列出的不一定不支持,可以到wine模拟任务区提出相关软件,让大家测试是否能模拟。

10、为什么我的wine某些按钮文字显示乱码?
解决方法:在编译之前得打上中文补丁。
http://www.easywine.org/bbs/viewthread. ... a=page%3D1
patch -p1 < wine_charset.patch

11、为什么我的wine默认字体变成楷体了?
我的wine默认字体变成楷体了,多数是因为装了office所带来的问题。
解决方法:
http://www.easywine.org/bbs/viewthread. ... a=page%3D1

原文地址:http://www.easywine.org/bbs/thread-66-1-1.html
作者:deman
uuuer
帖子: 2
注册时间: 2008-01-23 21:27

#2

帖子 uuuer » 2008-01-24 7:58

解压下载回来的wine-0.9.53...

然后在终端执行/tools/wineinstall时候,

提示bash: wineinstall : 找不到命令

可/tools目录下的确有wineinstall这个文件阿。。。

怎么办。。。。= =
syshack
帖子: 15
注册时间: 2008-01-24 13:24

#3

帖子 syshack » 2008-01-25 13:48

uuuer 写了:解压下载回来的wine-0.9.53...

然后在终端执行/tools/wineinstall时候,

提示bash: wineinstall : 找不到命令

可/tools目录下的确有wineinstall这个文件阿。。。

怎么办。。。。= =
没加后缀名萨
嘿仫嘿仫
帖子: 9
注册时间: 2008-01-11 11:15

#4

帖子 嘿仫嘿仫 » 2008-01-31 9:17

edgar@edgar-desktop:~/wine-0.9.53/tools$ ./wineinstall
WINE Installer v0.75

~/wine-0.9.53 ~/wine-0.9.53/tools
Running configure...

configure: creating cache config.cache
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Configure failed, aborting install.


?? 不明白是怎么回事儿呀 让看config.log

configure:2644: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2647: $? = 1
configure:2685: result:
configure: failed program was:
77 行 | /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "0.9.53"
| #define PACKAGE_STRING "Wine 0.9.53"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|

configure: exit 77


高手 指点下吧
qcy1121
帖子: 6
注册时间: 2009-05-06 13:24

Re: [转帖]Wine安装使用问题集锦

#5

帖子 qcy1121 » 2009-05-07 16:46

:em20 为什么我的Configure Wine上面除了英语外都是些方框呢?
Who can help me??
wsjqwhwzjssxx
帖子: 2
注册时间: 2011-06-27 14:11

Re: [转帖]Wine安装使用问题集锦

#6

帖子 wsjqwhwzjssxx » 2011-06-27 14:21

为什么我用WINE运行一个QQ游戏 出输入验证码 但是却只显示了一小部分画面。
回复