听说linux系统下安装配置wine可以直接运行windows程序,就尝试了下,安装好了但就是无法运行成功。。老是出错
按照以下方法安装好wine之后不知道怎么运行WINDOWS程序,忘知道的指导一下,,TKS
下载好之后
1、tar xvfz wine-1.1.6.tar.bz2 (解压缩)
2、cd wine (切换到wine录下)
3、./configure --prefix=/usr/local/wine (进行编译配置)
4、make (对源码包进行编译,这个过程会很长,大概用了我二三十分钟,根cpu的性能有关)
5、sudo make install (安装到系统)
测试你的 wine :
运行 /usr/local/wine/bin/notepad (注意,这个前面不需要 加 wine ),如果一切正常,则说明 wine 已经可以正常工作了。(我运行这个之后打开了一个新记事本)
下面如果我要运行或者安装windows下的EXE程序请问要如何使用?
用root用户运行后出现下面提示,,好像是让我换一个用户运行
[root@localhost ~]# cd /E
[root@localhost E]# cd wine-1.1.6
[root@localhost wine-1.1.6]# ./tools/wineinstall
Wine Installer v1.0
You are running wineinstall as root, this is not advisable. Please rerun as a user.
Aborting.
[root@localhost wine-1.1.6]#
换了个新建的用户后还是不行。。谁能告诉我这段提示是什么意思,怎么解决
[root@localhost ~]# su xiaojin
[xiaojin@localhost root]$ cd /E
[xiaojin@localhost E]$ cd wine-1.1.6
[xiaojin@localhost wine-1.1.6]$ ./tools/wineinstall
Wine Installer v1.0
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.
[xiaojin@localhost wine-1.1.6]$
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
上面的问题解决了,原来换用户之后还得在文件夹属性里面修改将权限中的属有者用户改成当前用户。。再次运行出现YES OR NO选项。。输入YES又出问题了。。汗!!头大了
[xiaojin@localhost wine-1.1.6]$ ./tools/wineinstall
Wine Installer v1.0
I see that Wine has already been configured, so I'll skip that.
We need to install wine as root user, do you want us to build wine,
'su root' and install Wine? Enter 'no' to continue without installing
(yes/no) yes
Compiling Wine. Grab a lunch or two, rent a video, or whatever,
in the meantime...
make[1]: Entering directory `/E/wine-1.1.6/tools'
make[1]: “makedep”是最新的。
make[1]: Leaving directory `/E/wine-1.1.6/tools'
make[1]: Entering directory `/E/wine-1.1.6/libs'
make[2]: Entering directory `/E/wine-1.1.6/libs/port'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/E/wine-1.1.6/libs/port'
make[2]: Entering directory `/E/wine-1.1.6/libs/wine'
(GIT_DIR=../../.git git describe HEAD 2>/dev/null || echo "wine-1.1.6") | sed -n -e '$s/\(.*\)/const char wine_build[] = "\1";/p' >version-stamp || (rm -f version-stamp && exit 1)
/bin/sh: version-stamp: 权限不够
rm: 无法删除 “version-stamp”: 权限不够
make[2]: *** [version-stamp] 错误 1
make[2]: Leaving directory `/E/wine-1.1.6/libs/wine'
make[1]: *** [wine] 错误 2
make[1]: Leaving directory `/E/wine-1.1.6/libs'
make: *** [libs] 错误 2
make[1]: Entering directory `/E/wine-1.1.6/tools'
make[1]: “makedep”是最新的。
make[1]: Leaving directory `/E/wine-1.1.6/tools'
make[1]: Entering directory `/E/wine-1.1.6/dlls'
make[2]: Entering directory `/E/wine-1.1.6/dlls/acledit'
../../tools/makedep -C. -S../.. -T../.. main.c
Makefile: Permission denied
make[2]: *** [depend] 错误 1
make[2]: Leaving directory `/E/wine-1.1.6/dlls/acledit'
make[1]: *** [acledit/__depend__] 错误 2
make[1]: Leaving directory `/E/wine-1.1.6/dlls'
make: *** [dlls/__depend__] 错误 2
Compilation failed, aborting install.
[xiaojin@localhost wine-1.1.6]$
[ 本帖最后由 fyw518 于 2008-10-18 11:43 编辑 ]
dchwlinux 于 2008-12-12 21:38:23发表:
汗,看得我头都大了,wine一个windows程序不就是在终端里输入
wine /路径/程序名.exe吗?而且可以把程序直接拖到终端里,路径什么的自动都有了,把引号去掉,前面加个wine。
给你个视频吧,这是在google(www.google.com/ncr 不是google中国)上找的。
http://www.5min.com/Video/How-to ... s-on-Linux-11891197
里面从安装到使用再到怎样让wine自动运行windows程序都有。
[ 本帖最后由 dchwlinux 于 2008-12-12 21:39 编辑 ]
fyw518 于 2008-10-18 10:27:59发表:
我找不到这个文件耶 ,,没有这个文件
fyw518 于 2008-10-17 16:41:04发表:
等下切换回LINUX试下,,目前因为要用QQ传文件用回XP了。。LINUX 下的QQ功能太少了
谢谢楼上这位帅哥
irongeek 于 2008-10-16 10:51:03发表:
double-click双击