能给个vmware或者wine的具体安装方法吗?

Wine、Cedega、CrossOver 等配置
回复
头像
fantlam
帖子: 200
注册时间: 2007-06-28 23:08
来自: 佛山
联系:

能给个vmware或者wine的具体安装方法吗?

#1

帖子 fantlam » 2007-07-10 20:37

我在ubuntu下了一个vmware 但是安装不了 设置vmware-config.pl总是出错
各位能否给个具体的安装过程
shengqb
帖子: 9
注册时间: 2006-12-29 14:03

#2

帖子 shengqb » 2007-07-11 9:46

准备工作:
如果你现在的linux系统里没有GCC编译器,首先你就要安装你的linux发行版的开发包,里面的GCC编译器将会安装到你的系统!虽然网上也有各个发行版本的wine RPM等编译好的安装包,但是我建议还是自己编译,不然有很多模拟windows的库文件将会不能调用,做成wine的功能减半。经常有人说为什么别人模拟到的软件为什么自己模拟不到,很多时候就是因为这个原因做成的。


下载wine:
现在wine的最新版本是wine 0.9.40。现在我正在使用的是wine-0.9.20,所以以下以wine-0.9.20讲解。
wine下载连接:
http://ibiblio.org/pub/linux/system/emu ... 20.tar.bz2
上面有wine-0.9.20下载

http://ibiblio.org/pub/linux/system/emu ... ine/ALPHA/
这里是以前的ALPHA版本下载


拆卸wine:
如果你原先安装过wine,那么你在编译安装新版wine前你必须拆卸原先的wine。怎么知道原先是否安装了wine?
在终端执行 wine --version 如果显示了wine版本号,那么你系统就存在wine。
如果原先是rpm安装的,你可以执行rpm -e wine就可以了。
如果原先是源码安装的,进入原先编译wine的目录,执行make unistall就可以了。
以上都需要以root用户登录


安装wine:
下载下来的是*.tar.bz2的源码压缩包。
下面将有2种方法编译wine。

方法一(这是最简单的方法,我也推荐你用这种方法)
用普通用户登录,这和重要。将下载下来的*.tar.bz2解压。解压后这就是原码安装包了,在终端进入该目录。运行:
./tools/wineinstall 按提示回答就可以了。

例子:下面以wine-0.9.2讲解。
用普通用户登录,将下载下来的wine-0.9.2.tar.bz2或者wine-0.9.2.tar.gz复制到你的
/home/用户名
目录下面。
打开终端,在里面输入:
cd /home/用户名
tar xvfz Wine-wine-0.9.2.tar.gz或者tar jxvf wine-0.9.2.tar.bz2
cd wine-0.9.2
./tools/wineinstall



之后他会自动./configure ,然后显示:



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回车。

如果在此处出现错误,请检查此命令的输出,如果他没有找到一些需要的包,而你又希望使用那个包提供的功能时,请安装相应的 devel 包(mandrake 下的命名方法)。

如果你root用户设置了密码,还会提示你输入密码!



待屏幕上出现:
Installation complete for now. Good luck (this is still alpha software).
If you have problems with WINE, please read the documentation first,
as many kinds of potential problems are explained there.
表示你已经安装成功了!



之后你可以运行 wine --version 就可以看到你刚装的wine版本。

方法二、
以root用户登入。进入wine源码安装包的目录,依次执行
./configure
make depend
make
make install

同样以wine-0.9.2为例子:
用root用户登录,将下载下来的wine-0.9.2.tar.bz2或者wine-0.9.2.tar.gz复制到你的
/root/
目录下面。
打开终端,在里面依次输入:
cd /root
tar xvfz wine-0.9.2.tar.gz或者tar jxvf wine-0.9.2.tar.bz2
cd wine-0.9.2
./configure --prefix=/usr/local/
如果在此处出现错误,请检查此命令的输出,如果他没有找到一些需要的包,而你又希望使用那个包提供的功能时,请安装相应的 devel 包(mandrake 下的命名方法)。
make depend && make && make install
wine

如无意外,至此,wine就成功编译安装到你的系统了。


配置wine:
在终端下运行wincfg,这里可以配置大部分wine的功能(如下图).详细配置方法请看手把手教你配置wine,待续.....当然如果你觉得麻烦,你可以使用EasyWine帮你进行配置wine!
头像
fantlam
帖子: 200
注册时间: 2007-06-28 23:08
来自: 佛山
联系:

#3

帖子 fantlam » 2007-07-13 18:42

能不能提供个vmware的 谢谢
头像
fantlam
帖子: 200
注册时间: 2007-06-28 23:08
来自: 佛山
联系:

#4

帖子 fantlam » 2007-07-13 18:54

make[2]: Leaving directory `/home/fantasy/wine-0.9.20/dlls/d3dxof'
make[2]: Entering directory `/home/fantasy/wine-0.9.20/dlls/dbghelp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fantasy/wine-0.9.20/dlls/dbghelp'
make[2]: Entering directory `/home/fantasy/wine-0.9.20/dlls/dciman32'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fantasy/wine-0.9.20/dlls/dciman32'
make[2]: Entering directory `/home/fantasy/wine-0.9.20/dlls/ddraw'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ddraw.spec clipper.o ddraw.o ddraw_thunks.o device.o direct3d.o executebuffer.o gamma.o light.o main.o material.o palette.o parent.o regsvr.o surface.o surface_thunks.o texture.o utils.o vertexbuffer.o viewport.o version.res -o ddraw.dll.so -lole32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -ldxguid -luuid -lXext -lX11 ../../libs/port/libwine_port.a
/usr/bin/ld: cannot find -lXext
collect2: ld 返回 1
winegcc: gcc failed.
make[2]: *** [ddraw.dll.so] 错误 2
make[2]: Leaving directory `/home/fantasy/wine-0.9.20/dlls/ddraw'
make[1]: *** [ddraw] 错误 2
make[1]: Leaving directory `/home/fantasy/wine-0.9.20/dlls'
make: *** [dlls] 错误 2

Compilation failed, aborting install.


请给我 指点一下 编译了好久 最后还是 错误退出了
头像
fantlam
帖子: 200
注册时间: 2007-06-28 23:08
来自: 佛山
联系:

#5

帖子 fantlam » 2007-07-15 11:05

各位帮帮忙啊
magiciany
帖子: 393
注册时间: 2007-04-25 11:49

#6

帖子 magiciany » 2007-07-18 11:15

/usr/bin/ld: cannot find -lXext
winegcc: gcc failed.
MS是少了-lXext这个东西,你是源安装的还是自己下载安装的?
头像
fantlam
帖子: 200
注册时间: 2007-06-28 23:08
来自: 佛山
联系:

#7

帖子 fantlam » 2007-07-20 13:54

MS?
上面那个是用源安装的 但我自己下载的也安装不了
那现在 应该怎么做 请指点一下
yflh123
帖子: 15
注册时间: 2007-07-15 14:06

#8

帖子 yflh123 » 2007-07-21 15:56

我按照2楼的方法,安装后出现这个提示:
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.

是怎么回事?
magiciany
帖子: 393
注册时间: 2007-04-25 11:49

#9

帖子 magiciany » 2007-07-22 16:27

好像是编译器问题
config.log怎么说?
头像
hnzksq
帖子: 473
注册时间: 2007-07-11 16:21
来自: 火星

#10

帖子 hnzksq » 2007-09-08 1:42

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Wine configure 0.9.20, which was
generated by GNU Autoconf 2.60a. Invocation command line was

$ ./configure -C --prefix=/usr/local

## --------- ##
## Platform. ##
## --------- ##

hostname = zhouwei-laptop
uname -m = i686
uname -r = 2.6.20-15-generic
uname -s = Linux
uname -v = #2 SMP Sun Apr 15 07:36:31 UTC 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1726: creating cache config.cache
configure:1883: checking build system type
configure:1901: result: i686-pc-linux-gnulibc1
configure:1923: checking host system type
configure:1938: result: i686-pc-linux-gnulibc1
configure:1992: checking whether make sets $(MAKE)
configure:2013: result: yes
configure:2070: checking for gcc
configure:2086: found /usr/bin/gcc
configure:2097: result: gcc
configure:2335: checking for C compiler version
configure:2342: gcc --version >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2345: $? = 0
configure:2352: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:2355: $? = 0
configure:2362: gcc -V >&5
gcc: '-V' option must have argument
configure:2365: $? = 1
configure:2388: checking for C compiler default output file name
configure:2415: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2418: $? = 1
configure:2456: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "0.9.20"
| #define PACKAGE_STRING "Wine 0.9.20"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2463: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALSALIBS=''
AR=''
ARTSCCONFIG=''
ARTSINCL=''
ARTSLIBS=''
AS=''
AUDIOIOLIBS=''
BISON=''
BUILTINFLAG=''
CC='gcc'
CFLAGS=''
COREAUDIO=''
COREFOUNDATIONLIB=''
CPP=''
CPPBIN=''
CPPFLAGS=''
CROSSCC=''
CROSSTEST=''
CROSSWINDRES=''
CRTLIBS=''
CURSESLIBS=''
CXX=''
CXXFLAGS=''
DEFS=''
DLLEXT=''
------
“不要揣测神的心,我的孩子,”老头子的声音仿佛梦呓,“神的胸膛里没有心,那只是一块铁石。”
头像
hnzksq
帖子: 473
注册时间: 2007-07-11 16:21
来自: 火星

#11

帖子 hnzksq » 2007-09-08 1:43

我的问题跟8楼一样,这是怎么回事?
------
“不要揣测神的心,我的孩子,”老头子的声音仿佛梦呓,“神的胸膛里没有心,那只是一块铁石。”
alenking
帖子: 6
注册时间: 2007-02-06 9:27

#12

帖子 alenking » 2007-09-20 7:36

好象是要装一个补丁什么的,以前在一个博客里看到,忘了地址了哪位知道的,请说说
wang_zhuqing
帖子: 1
注册时间: 2007-09-24 23:35

#13

帖子 wang_zhuqing » 2007-09-24 23:37

我想问一下,你确定是否安装成功过呢?
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

#14

帖子 ct » 2007-09-25 12:23

apt-get install wine,不就行了
如果要自己编译,可以apt-get source wine
回复