Most probably if you were trying to install the latest (6.5.3) version of VMware workstation on Fedora 11 you’ve got troubles – like me. I finally (by chance) found a workaround, not a solution, to the problem.
As the installer fails during the modules compilation/installation, the only thing that you need to do is:
- remove the gcc package – that way effectively disabling the installer from trying to install/compile modules
Edir (Thanks to Gerard Braad – see comments bellow): alternatively you can only move the gcc binary, so that the installer would not find it:
mv $(which gcc) $(which gcc).disabled
- install VMware-Workstation package – bare in mind that you’ll need at least 1.2GB of free space on your root volume, during that operation
- reinstall back gcc ( and kernel-devel if you don’t have it) or (see above) move back the gcc binary
mv $(which gcc.disabled) $(echo $(which gcc.disabled) | sed ‘s/\.disabled$//’)
- run VMware Workstation and let it compile/install the new modules
That’s all
Your steps out of all others is the only one that work. Thanks a million. Has this been tried on the 2.26.30 kernel?
Confirmed.Steps work against the 2.6.30 kernel as well.
Thanks for your feedback. I was also quite frustrated from all the other workarounds that I’ve stumbled upon over the net.
[...] time, in order to be able to install the rpm I had to uninstall gcc! (Thanks to Tusheto for the idea ). Then I could work as usual with your virtual machines until I tried to turn them off: it [...]
Easier solution is to rename gcc for the moment and restore it after the installer
$ mv /usr/bin/gcc /usr/bin/gcc.disable
$ [installer using rpm or sh]
$ mv /usr/bin/gcc.disable /usr/bin/gcc
Yes – indeed this is a possible solution with the same results
Thank you to all. It worked for me – 6.5.3 and 2.6.30
Great!
Ciao
Gianluca
[...] Step 1 – Disable GCC (see this link) [...]
Thank you, Finally… thought i was going to have to say goodbye to vmware
Hey , Following works for me . Thanks a million.
Easier solution is to rename gcc for the moment and restore it after the installer
$ mv /usr/bin/gcc /usr/bin/gcc.disable
$ [installer using rpm or sh]
$ mv /usr/bin/gcc.disable /usr/bin/gcc
Hey,
It works for me as well. thanks.
my system is FC11 – kernel 2.6.30.8-64.fc11.i586 SMP
# mv /usr/bin/gcc /usr/bin/gcc.disable
# ./installer.bundle
# mv /usr/bin/gcc.disable /usr/bin/gcc
works perfectly.
cheers!
it’s so beautiful, I had looked for the solution and I finally found it here. thanks a lot.
Works greate on Fedora 12! THXZ!
Thank you for the update
I’ll update the post then.