gcc: error trying to exec 'cc1plus': execvp: - VMWare on F7 -
Installing VMWare server on my new F7, and after running these commands,
yum install libx11-6 libx11-dev libxtst6 xinetd wget
yum install kernel-devel
yum install binutils-doc make manpages-dev autoconf automake1.9 libtool flex bison gdb libc6-dev-amd64 lib64gcc1 gcc-2.95-doc
yum install gcc
I got this error:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory make[2]: *** [/tmp/vmware-config2/vmmon-only/common/task.o] Error 1 make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3228.fc7-i686' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config2/vmmon-only' Unable to build the vmmon module.
which was finally solved installing gcc++ with the following command,
yum install gcc-c++
do not forget to apply the vmware-any-any patch.
Comments
I have simalry problem on kubuntu and i fond the packet
apt-get install g++-4.1
Also works for Ubuntu 7.10
Thanks Stig
Thanks Stig, the package g++-4.1 solves the similar problem that I gotted in my vmware-server installation ... but I didn't find the gcc-c++ packet on Debian.
Thanks mate, that works great :)
Fedora 8
Guys when i type this :
yum install libx11-6 libx11-dev libxtst6 xinetd wget
or anything mentioned above
this is the error i'm getting
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 236, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 91, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 180, in getOptionsConfig
disabled_plugins=self.optparser._splitArg(opts.disableplugins))
File "/var/lib/python-support/python2.5/yum/__init__.py", line 170, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/var/lib/python-support/python2.5/yum/config.py", line 726, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/var/lib/python-support/python2.5/yum/config.py", line 793, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
what shld i do?? :( :(