Trying to install VMWare I get the following message
Your kernel was built with “gcc” version “4.5.0”, while you are trying to use
“/usr/bin/gcc” version “4.5”. This configuration is not recommended and VMware
Workstation may crash if you’ll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
“/usr/bin/gcc” version “4.5” anyway?
Really after it VMWare anyway doesn’t agree to install. Zypper says that no newer version of gcc is available. So I can’t see how I can install VMWare.
> Trying to install VMWare I get the following message
>> Your kernel was built with “gcc” version “4.5.0”, while you are trying
>> to use
>> “/usr/bin/gcc” version “4.5”. This configuration is not recommended and
>> VMware
>> Workstation may crash if you’ll continue. Please try to use exactly
>> same
>> compiler as one used for building your kernel. Do you want to go with
>> compiler
>> “/usr/bin/gcc” version “4.5” anyway?
> Really after it VMWare anyway doesn’t agree to install. Zypper says that
> no newer version of gcc is available. So I can’t see how I can install
> VMWare
Answer “Yes” to the question you’re being asked. I’ve seen this message
for several months and VMware has given me no problems whatsoever because
of this “version mismatch” (note that 4.5.0 = 4.5 - so it’s not really a
version mismatch, but a script error).
But it doesn’t help. But as I’ve tryed to search may be the problem is not with gcc.rpm but with some ones that contain kernel sources (i’m not sure if it’s kernel-source, kernel-devel or some other one). I’ve tryed to downgrade these ones, to remove and then install from the OpenSuse disk but nothing has changed. VMWare still recuses to install. No variants of installing options make VMWare agree to install.
> But it doesn’t help. But as I’ve tryed to search may be the problem is
> not with gcc.rpm but with some ones that contain kernel sources (i’m not
> sure if it’s kernel-source, kernel-devel or some other one). I’ve tryed
> to downgrade these ones, to remove and then install from the OpenSuse
> disk but nothing has changed. VMWare still recuses to install. No
> variants of installing options make VMWare agree to install.
It really was lack of kernel-syms but after its installation nothing changed. Still I get the message
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.34.7-0.5-default). Even if the module were to
compile successfully, it would not load into the running kernel.
I’ve tryed also a newer version but new versions have .bundle format and I get the following:
sudo -i ./VMware-Workstation.bundle
Uninstalling legacy installation...
This version of "VMware VIX API" is incompatible with this operating system.
Please install the "x86_64" version of this program instead.
Execution aborted.
Such way I can’t install neither 64-bit version, nor 32-bit one that are provided on their site.
But what is a safe way to modify kernel version to be sure that Linux won’t crash?
There are some problems to use it 'cause those commands use rpms of VMWare but currently no more rpms are provided (only .bundle) and i’ve not succeded to find some legacy with VMWare rpms. All the commands with .bundle from the article give me the same result.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.34.7-0.7-default). Even if the module were to
compile successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] ^C
mymain:/etc/yum.repos.d # rpm -q kernel-source
kernel-source-2.6.34.7-0.7.1.noarch
mymain:/etc/yum.repos.d # rpm -q kernel-default
kernel-default-2.6.34.7-0.7.1.x86_64
mymain:/etc/yum.repos.d # uname -a
Linux mymain 2.6.34.7-0.7-default #1 SMP 2010-12-13 11:13:53 +0100 x86_64 x86_64 x86_64 GNU/Linux
mymain:/etc/yum.repos.d #
May be really versions match as with gcc but VMWare has no option to force installation. May be I need to modify vmware-config.pl script but i’m not sure how to do it safely.
Why are you using yum??? yum is a Red Hat thing not an OpenSuse. OpenSuse uses zypper not yum.
Did you remove all the development packages? note you may need to reinstall the source and sym
What version of VMware? Server?? There are known problems with VMWare server installations for the last year and VMware does not seem interested in fixing it. Personally I gave up on it and moved to Virtual Box and am very happy with it.
You have way too many kernels installed. If your hardware is fairly new: Uninstall kernel-default kernel-default-devel restart your system Cheers! Romanator
I use VMWare Workstation but i’m not sure of which version, first time i’ve installed it 3 years ago. May be it’s really better just upgrade VMWare and don’t vex more with the old installation. But the problem that currently only the 7th version is available in an .bundle format and i just get the message
mymain:~ # ./VMware-Workstation.bundle
Uninstalling legacy installation...
This version of "VMware VIX API" is incompatible with this operating system.
Please install the "x86_64" version of this program instead.
Execution aborted.
and I don’t know what to do with it. Neither I can start 32-bit version installation. May be there is a solution for compatibility with this new version that already has no rpms?
If I’ll use some other emulator that isn’t VMWare I need a way to convert existing virtual machines to their format. Is it possible without installing VMWare?
By the way Virtual Box turned out the same problem
Makefile:170: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -C /usr/src/linux modules
make[1]: *** No rule to make target `modules’. Stop.
make: *** [vboxdrv] Error 2
About hardware it isn’t new it’s the same as 4 years ago when installed OpenSuse first time.
> Code:
> --------------------
> mymain:~ # ./VMware-Workstation.bundle
> Uninstalling legacy installation…
> This version of “VMware VIX API” is incompatible with this operating system.
> Please install the “x86_64” version of this program instead.
>
> Execution aborted.
> --------------------
Hold on.
You said:
> mymain:/etc/yum.repos.d # uname -a
> Linux mymain 2.6.34.7-0.7-default #1 SMP 2010-12-13 11:13:53 +0100 x86_64 x86_64 x86_64 GNU/Linux
You have a 64 bit kernel and operating system, but the vmware version you
are using is for 32 bit. You can not install that. Impossible!
> and I don’t know what to do with it. Neither I can start 32-bit version
> installation.
What error exactly does it give?
> If I’ll use some other emulator that isn’t VMWare I need a way to
> convert existing virtual machines to their format. Is it possible
> without installing VMWare?
I use vmware server in 11.2. In 11.3 it needs different tricks. I read you
need certain symlinks to make it accept the kernel headers.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
I had similar problems, but as I was in a hurry - I needed the computer to use at work. I bought the upgrade, installed it using 11.2, and then did an upgrade to 11.3. Went very easily, with no problems. You can see the thread here