有谁在5.10里面安装vmware成功了!
-
- 帖子: 170
- 注册时间: 2005-09-12 22:17
有谁在5.10里面安装vmware成功了!
有谁在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".
谢谢!
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
- 来自: 上海
- dongmh
- 帖子: 715
- 注册时间: 2005-06-21 20:24
- 来自: 甘肃
- 联系:
-
- 帖子: 38
- 注册时间: 2005-10-27 1:49
-
- 帖子: 36
- 注册时间: 2005-09-29 17:07
- 联系:
-
- 帖子: 38
- 注册时间: 2005-10-27 1:49
不知道这篇文章有没有帮助
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
这样就会死在那儿然后什么也不动了.想不通死了
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~
fresh~
-
- 帖子: 14
- 注册时间: 2005-11-04 4:57
-
- 帖子: 77
- 注册时间: 2005-11-01 12:43
- 联系:
-
- 帖子: 77
- 注册时间: 2005-11-01 12:43
- 联系:
安装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错误给出答案.希望这能给你以帮助.
注意:我使用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错误给出答案.希望这能给你以帮助.
初来乍到,请多关照,正在学习中........
- catinsnow
- 帖子: 773
- 注册时间: 2005-08-02 7:23
- 来自: 上海
官方网站上有
http://www.vmware.com/
http://www.vmware.com/
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.