有谁在5.10里面安装vmware成功了!

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
mosquito-liu
帖子: 170
注册时间: 2005-09-12 22:17

有谁在5.10里面安装vmware成功了!

#1

帖子 mosquito-liu » 2005-10-14 12:40

有谁在5.10里面安装vmware成功了!我装的时候出现gcc版本问题。怎么解决!
Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "3.4.5", while you are trying to use
"/usr/bin/gcc" version "4.0.2". This configuration is not supported and VMware
Workstation cannot work in such configuration. Please either recompile your
kernel with "/usr/bin/gcc" version "4.0.2", or restart /usr/bin/vmware-config.plwith CC environment variable pointing to the "gcc" version "3.4.5".

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference ... linux.html".
谢谢!
头像
catinsnow
帖子: 773
注册时间: 2005-08-02 7:23
来自: 上海

#2

帖子 catinsnow » 2005-10-17 12:40

sudo apt-get install gcc-3.4
sudo ln-s /usr/bin/gcc-3.4 /usr/bin/gcc
然后安装.
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
头像
dongmh
帖子: 715
注册时间: 2005-06-21 20:24
来自: 甘肃
联系:

#3

帖子 dongmh » 2005-10-17 19:22

vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.
安装完成以后给出这个提示 没法正常启动
witness_
帖子: 38
注册时间: 2005-10-27 1:49

#4

帖子 witness_ » 2005-10-28 0:45

dongmh 写了:vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.
安装完成以后给出这个提示 没法正常启动
好像出了同样的问题
zz
fresh~
jjheng
帖子: 36
注册时间: 2005-09-29 17:07
联系:

#5

帖子 jjheng » 2005-10-28 8:35

breezy下安装VMware Workstation 5.0确实有问题,安装步骤都是正常的,但是不能够正常运行VMware程序。
breezy下VMware Player倒是可以使用,安装方法同VMware Workstation 5.0。
witness_
帖子: 38
注册时间: 2005-10-27 1:49

#6

帖子 witness_ » 2005-10-28 17:21

不知道这篇文章有没有帮助
http://www.ubuntuforums.org/showthread.php?t=65638
So I'm pretty new at Ubuntu. I am, however, very expereinced with Linux and VMware. I've been with Fedora/Red Hat for about 3 years, but after trying Ubuntu, I'm hooked. After spending all day trying to get VMware installed on the newest Breezy preview install, I finally got it going. Here's some help for those of you still getting errors about kernel headers, gcc version, or not being able to execute cc1plus. Here's what I had to do to get it going:

Note: I use a root account for root proveleged commands, you may need sudo in from of them if you want to stay a regular user.

1. First make sure you have the build essential package installed:
Code:

# apt-get install build-essential


2. Make sure you have your kernel headers installed:
Code:

# uname -r # apt-get install linux-headers-'kernel version'


3. If you are getting the gcc version error, you will need to install the version that compiled your kernel:
Code:

# cat /proc/version

This tells you what version of gcc your kernel was compiled with.

Code:

$ cat /proc/version Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005 $ ls /usr/bin/gcc* /usr/bin/gcc /usr/bin/gcc-4.0 /usr/bin/gccbug /usr/bin/gccbug-4.0


Mine was compiled with gcc-3.4, but I only have gcc-4.0 installed. If your is different than what's in your /usr/bin/gcc*, you will need this version.

Code:

# apt-get install gcc-3.4

That's the version I needed, yours may be different.

4. What people are forgetting, and screwed me up was the g++ version. Some people seemed to be able to go right to the vmware-config.pl after the gcc install, but mine died when it got to compiling the vmmon module with the error "cannot exec `cc1plus'". What you need is the gcc-c++ version that matches the gcc version you just installed, only for Debian/Ubuntu it's called g++.
Code:

# apt-get install g++-3.4

Again, this version may be specific to me.

5. Download VMware-workstation-5.0.0-13124.tar.gz from http://www.vmware.com/.
Code:

$ tar xvzf VMware-workstation-5.0.0-13124.tar.gz $ cd vmware-distrib # ./vmware-install.pl


It should install fine, but DO NOT run the vmware-config.pl just yet.

6. It's always best to use the vmware-any-any-update script instead of the vmware-config.pl. It's available from here http://platan.vc.cvut.cz/ftp/pub/vmware/.
Code:

$ tar xvzf vmware-any-any-update93.tar.gz $ cd vmware-any-any-update93


EDIT TO ADD:
I forgot that you have to set the CC variable to the gcc version you want to use:
Code:

# export CC=/usr/bin/gcc-3.4 # ./runme.pl


That should do it. I'm pretty sure I put everything in here. This should be a concise instruction on how to get VMware going on Breezy Preview after you upgraded everything. I couldn't find any threads adressing all 3 of these errors, and nobody else seemed to have an answer to the cc1plus error. Hope this helps!

















但我是反正装了以后就是没什么反应。好像老是启动不起来

我想运行的时候
$export CC=gcc-3.4
$sudo vmware
这样就会死在那儿然后什么也不动了.想不通死了
zz
fresh~
witness_
帖子: 38
注册时间: 2005-10-27 1:49

#7

帖子 witness_ » 2005-10-29 16:05

今天换了一个
5,5的起来了。
可能是版本问题吧
zz
fresh~
bigcoffee
帖子: 14
注册时间: 2005-11-04 4:57

#8

帖子 bigcoffee » 2005-11-06 5:21

witness_ 写了:今天换了一个
5,5的起来了。
可能是版本问题吧
.... 0day still not release VMware 5.5.... where you get this version? Pls tell me.. :)
sqpsunman
帖子: 77
注册时间: 2005-11-01 12:43
联系:

#9

帖子 sqpsunman » 2005-11-06 17:03

我用的是5.10版本,没有问题阿!
安装顺序就是:
http://www.ubuntuforums.org/showthread.php?t=65638
好象论坛里面有高人翻译过的,在坛子里找找!
初来乍到,请多关照,正在学习中........
sqpsunman
帖子: 77
注册时间: 2005-11-01 12:43
联系:

#10

帖子 sqpsunman » 2005-11-06 17:04

安装VMware的方法[转贴]
注意:我使用root帐号执行的root权限命令,用普通用户需要用sudo.

1.首选,确认你已经安装了build-essential程序包:
代码:
# apt-get install build-essential

2.确认你已经安装了内核头文件包:
代码:
# uname -r
# apt-get install linux-headers-'kernel version'

3.如果你遇到gcc版本错误,你需要安装编译你内核的gcc版本:
代码:
# cat /proc/version

这会告诉你,你的内核是用什么版本的gcc编译的.
代码:
$ cat /proc/version
Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005
$ ls /usr/bin/gcc*
/usr/bin/gcc /usr/bin/gcc-4.0 /usr/bin/gccbug /usr/bin/gccbug-4.0

可以看到,我的核心是用gcc-3.4编译的,但我只装了gcc-4.0.如果你的也不同于/usr/bin/gcc*,你需要安装核心所用的版本.
代码:
# apt-get install gcc-3.4

这是我需要的版本,你的可能不同.

4.人们忘记的,并困扰我的是g++版本.一些人好像安装gcc之后就可以正常安装vmware-config.pl.但我的在编译vmmon模块时遇到"cannot exec 'cc1plus'"错误并停止了.你需要安装的是和gcc一样版本的gcc-c++,只是Debian/Ubuntu把它叫做g++.
代码:
# apt-get install g++-3.4

同样,这个版本可能只是我的.
5. 从http://www.vmware.com/下载VMware-workstation-5.0.0-13124.tar.gz
代码:
$ tar xvzf VMware-workstation-5.0.0-13124.tar.gz
$ cd vmware-distrib
# ./vmware-install.pl

它应该安装正常,但仍先不要运行vmware-config.pl.

6.用vmware-any-any-update脚本代替vmware-config.pl总是最好的.可以在这里找到它:
http://platan.vc.cvut.cz/ftp/pub/vmware/.
代码:
$ tar xvzf vmware-any-any-update94.tar.gz
$ cd vmware-any-any-update94

编辑添加:
我忘记你要设定CC为需要的gcc版本了:
代码:
# export CC=/usr/bin/gcc-3.4
# ./runme.pl

这样做应该就可以了.我确定所有的都写完了.这算是个简明的教程,引导你如何使VMware工作在升级好的Breezy Preview上.我没有找到任何的文章提到所有3个错误,并且也没有人对cc1plus错误给出答案.希望这能给你以帮助.安装VMware的方法
注意:我使用root帐号执行的root权限命令,用普通用户需要用sudo.

1.首选,确认你已经安装了build-essential程序包:
代码:
# apt-get install build-essential

2.确认你已经安装了内核头文件包:
代码:
# uname -r
# apt-get install linux-headers-'kernel version'

3.如果你遇到gcc版本错误,你需要安装编译你内核的gcc版本:
代码:
# cat /proc/version

这会告诉你,你的内核是用什么版本的gcc编译的.
代码:
$ cat /proc/version
Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005
$ ls /usr/bin/gcc*
/usr/bin/gcc /usr/bin/gcc-4.0 /usr/bin/gccbug /usr/bin/gccbug-4.0

可以看到,我的核心是用gcc-3.4编译的,但我只装了gcc-4.0.如果你的也不同于/usr/bin/gcc*,你需要安装核心所用的版本.
代码:
# apt-get install gcc-3.4

这是我需要的版本,你的可能不同.

4.人们忘记的,并困扰我的是g++版本.一些人好像安装gcc之后就可以正常安装vmware-config.pl.但我的在编译vmmon模块时遇到"cannot exec 'cc1plus'"错误并停止了.你需要安装的是和gcc一样版本的gcc-c++,只是Debian/Ubuntu把它叫做g++.
代码:
# apt-get install g++-3.4

同样,这个版本可能只是我的.
5. 从http://www.vmware.com/下载VMware-workstation-5.0.0-13124.tar.gz
代码:
$ tar xvzf VMware-workstation-5.0.0-13124.tar.gz
$ cd vmware-distrib
# ./vmware-install.pl

它应该安装正常,但仍先不要运行vmware-config.pl.

6.用vmware-any-any-update脚本代替vmware-config.pl总是最好的.可以在这里找到它:
http://platan.vc.cvut.cz/ftp/pub/vmware/.
代码:
$ tar xvzf vmware-any-any-update94.tar.gz
$ cd vmware-any-any-update94

编辑添加:
我忘记你要设定CC为需要的gcc版本了:
代码:
# export CC=/usr/bin/gcc-3.4
# ./runme.pl

这样做应该就可以了.我确定所有的都写完了.这算是个简明的教程,引导你如何使VMware工作在升级好的Breezy Preview上.我没有找到任何的文章提到所有3个错误,并且也没有人对cc1plus错误给出答案.希望这能给你以帮助.
初来乍到,请多关照,正在学习中........
头像
bytedog
帖子: 29
注册时间: 2005-10-16 12:40

#11

帖子 bytedog » 2005-11-06 19:21

5.0我装了启动不起来,后来装了5.5,可以正常使用
晴朗的一天
wavehorse
帖子: 105
注册时间: 2005-09-30 23:55

#12

帖子 wavehorse » 2005-11-10 0:11

bytedog 写了:5.0我装了启动不起来,后来装了5.5,可以正常使用
你的5.5是哪里下的???????
头像
catinsnow
帖子: 773
注册时间: 2005-08-02 7:23
来自: 上海

#13

帖子 catinsnow » 2005-11-12 13:03

官方网站上有
http://www.vmware.com/
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
回复