LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1651|回复: 4

请问不能安装vmware的错误:没有gcc

[复制链接]
发表于 2005-1-1 16:14:52 | 显示全部楼层 |阅读模式
我是按标准模式安装的suse
按理说应该有gcc啊
可是在我解压tar -xzvf那个VMware的工具后
用一个扩展名pl的文件安装
在问我一些目录后
说没有gcc
叫我指出gcc的位置
我想可能机子没有安装吧
就在网上找到下了
可是安装gcc的时候
检查依赖性
还得安装什么好像叫pcc
于是又下载pcc
可是又检查依赖性
还缺东西呢
我没耐心了
就来这求救
希望得到大家指点
我搜了好多帖子
好像都没有问题就安装好了啊
这是为什么啊
发表于 2005-1-1 17:56:37 | 显示全部楼层
GCC installation depends on: Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, Gettext, Glibc, Grep, Make, Perl, Sed, and Texinfo

想办法安装gcc吧,方便的话重装,没用过suse,不知道包是怎么管理的,也许有更好的办法。
发表于 2005-1-10 09:39:41 | 显示全部楼层
用Yast2安装,选择安装或删除软件,(我安装的用的是9.2的英文版,其他版本或者是中文版本的翻译可能略微不一样),在弹出的窗口中选择Search搜索GCC或者Compiler,然后找到搜索记录安装,我猜你是在安装显卡的时候碰到了麻烦,我也是,呵呵,不过,好像真正的问题不在这里,我的安装的时候也报错,如下图!
安装的时候需要选择安装红色框里面的软件,当然,有一些是自动安装时自带的,但是如Kernel等是需要手工选择安装的。
蓝色里面我猜测是真正的报错原因,因为我已经将红色里面的所有包安装了,但是还是有问题,我又尝试着重新安装,换Gonme,还是出现这个错误,因为不懂Linux,所以我不敢胡说,不过我猜测是图形显示组件出现了问题,好像是因为Vmware和Suse9。2的不兼容!

哪位大大请指导一下!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-1-11 09:27:07 | 显示全部楼层
Post by nerv
用Yast2安装,选择安装或删除软件,(我安装的用的是9.2的英文版,其他版本或者是中文版本的翻译可能略微不一样),在弹出的窗口中选择Search搜索GCC或者Compiler,然后找到搜索记录安装,我猜你是在安装显卡的时候碰到了麻烦,我也是,呵呵,不过,好像真正的问题不在这里,我的安装的时候也报错,如下图!
安装的时候需要选择安装红色框里面的软件,当然,有一些是自动安装时自带的,但是如Kernel等是需要手工选择安装的。
蓝色里面我猜测是真正的报错原因,因为我已经将红色里面的所有包安装了,但是还是有问题,我又尝试着重新安装,换Gonme,还是出现这个错误,因为不懂Linux,所以我不敢胡说,不过我猜测是图形显示组件出现了问题,好像是因为Vmware和Suse9。2的不兼容!

哪位大大请指导一下!


翻了翻以前的老帖子,找到了解决方案,如下是我们大多数人的一个安装过程。

A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Tools.

The removal of VMware Tools 4.0.5 build-6030 for Linux completed successfully.
Thank you for having tried this software.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is going
to create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/init.d]
What is the directory that contains the init scripts?
[/etc/init.d]
The installation of VMware Tools 4.0.5 build-6030 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Making sure VMware Tools's services are stopped.

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Trying to find a suitable vmhgfs module for your running kernel.

None of VMware Tools's pre-built vmhgfs modules is suitable for your running
kernel. Do you want this program to try to build the vmhgfs module for your
system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

make: Entering directory `/tmp/vmware-config2/vmhgfs-only'
make: Leaving directory `/tmp/vmware-config2/vmhgfs-only'
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.

These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]


Detected XFree86 version 4.

然而实际上到了

The installation of VMware Tools 4.0.5 build-6030 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

这一段的时候我们就已经安装完了,这个时候选择N退出,然后配置一下分辨率,效果就出来了!
发表于 2005-1-13 09:43:42 | 显示全部楼层
找到原因了!在下面代码处实际上已经结束了!

The installation of VMware Tools 4.0.5 build-6030 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

这个时候选择YES,重新进去看看配置桌面就OL颗!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表