[原创]Wine 编译安装-中文设置 [更新-08-02-27]

Wine、Cedega、CrossOver 等配置
回复
cainwise
帖子: 10
注册时间: 2007-12-05 17:06

#91

帖子 cainwise » 2008-03-12 9:39

出现这个是怎么回事
cainwise@cainwise-desktop:~/cainwise/wine-0.9.56$ winecfg
wine: creating configuration directory '/home/cainwise/.wine'...
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
err:ole:apartment_createwindowifneeded CreateWindow failed with error 126
err:ole:apartment_createwindowifneeded CreateWindow failed with error -536870654
err:ole:apartment_createwindowifneeded CreateWindow failed with error -536870654
Could not load Mozilla. HTML rendering will be disabled.
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
err:ole:apartment_createwindowifneeded CreateWindow failed with error -536870654
err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
err:ole:apartment_createwindowifneeded CreateWindow failed with error -536870654
err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
err:ole:apartment_createwindowifneeded CreateWindow failed with error -536870654
err:ole:apartment_createwindowifneeded CreateWindow failed with error -536870654
wine: '/home/cainwise/.wine' created successfully.
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
err:ole:apartment_createwindowifneeded CreateWindow failed with error 126
dreamdomain
帖子: 5
注册时间: 2008-03-31 19:37

#92

帖子 dreamdomain » 2008-04-06 8:52

make[2]: Entering directory `/home/wyeun/wine-0.9.59/dlls/d3d9/tests'
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole d3d9ex.o device.o query.o shader.o stateblock.o surface.o texture.o vertexdeclaration.o visual.o volume.o testlist.o -o d3d9_test.exe.so ../../../libs/port/libwine_port.a -luser32 -lkernel32 -ldxerr9 -luuid -ldxguid
winebuild: device.o is an empty file
winegcc: ../../../tools/winebuild/winebuild failed
make[2]: *** [d3d9_test.exe.so] 错误 2
make[2]: Leaving directory `/home/wyeun/wine-0.9.59/dlls/d3d9/tests'
make[1]: *** [d3d9/tests] 错误 2
make[1]: Leaving directory `/home/wyeun/wine-0.9.59/dlls'
make: *** [dlls] 错误 2
这是什么问题呢?
头像
windowssux
帖子: 618
注册时间: 2006-08-06 16:58
来自: 北海

#93

帖子 windowssux » 2008-04-06 12:58

这个有点麻烦,看顶置帖。
头像
hongmy525
帖子: 236
注册时间: 2007-01-26 22:06
来自: 南宁 杭州
联系:

#94

帖子 hongmy525 » 2008-04-07 15:43

5、部分DLL设置
到真实windows下的system32文件夹(C:\WINDOWS\systenm32)里复制mfc42.dll,msvcp60.dll, riched20.dll,riched32.dll这几个文件到/home/user/.wine/drive_c/windows/system32 文件里,需要覆盖时确定。
请教一下这4个dll是干什么用的?
sakuru
帖子: 4
注册时间: 2008-03-10 18:16

我已经安装了wine

#95

帖子 sakuru » 2008-04-10 8:06

我已经成功安装了wine ,但是运行winecfg的时候总是显示X11 driver is missing Check your build
我看了好多帖子,都没有解决
snow8834687
帖子: 39
注册时间: 2008-03-31 11:43

#96

帖子 snow8834687 » 2008-04-11 17:55

checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
snow@snow-laptop:~/wine-0.9.59$ sudo make depend && make
make: *** 没有规则可以创建目标“depend”。 停止。
snow@snow-laptop:~/wine-0.9.59$
这个怎么回事???
头像
沙粒
帖子: 58
注册时间: 2008-03-15 13:44
来自: 西安外国语大学

#97

帖子 沙粒 » 2008-04-12 8:51

大侠,我安装完wine了。接下来怎么调用 windows 下的软件??我非常急住用迅雷和realplayer。。。。在线等。
头像
windowssux
帖子: 618
注册时间: 2006-08-06 16:58
来自: 北海

#98

帖子 windowssux » 2008-04-12 17:00

wine /home/xxx/.wine/drive_c/Program\ Files/yyy/yyy.exe
xxx是你的用户名,yyy是你的软件安装目录的名称,yyy.exe是程序的主执行文件,Program Files输入的时候记得在空格前面加入一个“\”。
如果是QQ,就是wine /home/xxx/.wine/drive_c/Program\ Files/Tencent/QQ/QQ.exe
头像
沙粒
帖子: 58
注册时间: 2008-03-15 13:44
来自: 西安外国语大学

#99

帖子 沙粒 » 2008-04-12 19:12

谢谢大侠,刚好看到,晚上就试装一下,只不过我现在都不知道我的wine有没有装好,我还把windows下的system32的所有dll文件都复制到 wine的system32文件夹里,请问这有必要吗??另外还要复制什么过去??

在wine configuration里。application选项卡都应该增什么application ?? 如果我要用 QQ ,除了你上面的那一步外,要不要在这add application 处添加QQ ??

drives 选项卡中 path 应选择哪一个呢 ? 这里默认是 ../drive_c . 为什么我的windows vista 的盘显示为 D 盘呢 ??

Libraries 选项卡 中是否要设置 ? 怎么设置 ??



现在我的wine configuration 里除了“确定”“取消”“应用 ”外。其它都是英文。。

另外我在火狐2.0里装了个flashgot 版 ,,用wget下载了新版的 firefox 3.0 b5 但不知道怎么安装 。。。firefox2.0里的检查更新是灰色的,用不成。。请赐教 。。。


请问 在终端外解压 tar.bz2 格式的文件用什么命令 ?

shali@shali:~$ tar -zxf firefox-3b5linux.tar.gz2

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: 由于前面延迟的错误而退出
shali@shali:~$



shali@shali:~$ tar -zxf drcomsuite-0.1.12.tar.bz2

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: 由于前面延迟的错误而退出
shali@shali:~$


先行谢过。。。

沙粒
头像
windowssux
帖子: 618
注册时间: 2006-08-06 16:58
来自: 北海

#100

帖子 windowssux » 2008-04-12 20:45

这个编译教程已经过时,最新的看顶置帖。

复制所有dll文件是非常错误的做法,这叫做一棍子打死!!

默认的设置就可以,也就只有audio需要设置成alsa,只选一个alsa。

Application那个是为特定的程序设置win的版本和dll环境,除非你同时安装几个软件,而且每个软件对dll的需要都不一样。
比如A程序需要从windows复制过来的a.dll,那就复制过来,在Application使A反色,然后在Libraries添加a,把a设置成native。而如果指定使用wine自带的dll,就设置成builtin。

中文补丁只是编码补丁,不是汉化,wine目前还没汉化。

解压的话,直接在图形界面对文件点右键,然后解压到此处不就可以了吗?
头像
沙粒
帖子: 58
注册时间: 2008-03-15 13:44
来自: 西安外国语大学

#101

帖子 沙粒 » 2008-04-12 22:57

谢谢楼主!。。
~小白~
帖子: 7
注册时间: 2008-04-12 9:20

#102

帖子 ~小白~ » 2008-04-13 15:53

chmod +x wineprefixcreate
chmod: 正在更改 “wineprefixcreate” 的权限: Operation not permitted
make[1]: *** [wineprefixcreate] 错误 1
make[1]: Leaving directory `/media/sda5/TDDOWNLOAD/wine-0.9.59/tools'
make: *** [tools] 错误 2


./configure 时没有出错。make时出以上信息。是怎么回事啊?
有人帮帮忙吗.............好不容易到了这一步 :shock:
头像
windowssux
帖子: 618
注册时间: 2006-08-06 16:58
来自: 北海

#103

帖子 windowssux » 2008-04-13 17:54

在linux的home目录下面进行。
而且sudo make depend && make
~小白~
帖子: 7
注册时间: 2008-04-12 9:20

#104

帖子 ~小白~ » 2008-04-13 20:50

原来如此啊~~
呵呵
头像
soboysogood
帖子: 17
注册时间: 2008-04-04 11:22
来自: 广东 揭阳

#105

帖子 soboysogood » 2008-04-14 14:07

依赖包不全。。。还要哪些????
菜鸟的梦想就是飞,总有一天,阳光会平洒在翅膀上……
回复