PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 10:00:36 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: (solved) vmware fusion 3: VMware Tools and gcc  (Read 14178 times)
pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« on: October 29, 2009, 08:37:23 AM »

Trying to install VMWare Tools of the new VMware Fusion, version 3. Never had any problems before with version 2.x but now I get this error:

Quote
Searching for GCC...
The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]

gcc, make, and all other needed stuff is installed and I just can't figure out why I get the message above. I have tried adding a new environment variable CC=gcc but still get the same error message.
gcc is in /usr/bin:
/usr/bin/gcc -> /etc/alternatives/gcc -> /usr/bin/gcc-4.4.1

obviously I have already tried specifying any of the 3 full paths in the VMware Tools script but always got back to the same error message. Any ideas what to do?
-p.
Logged

pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #1 on: November 19, 2009, 04:15:04 AM »

Got it figured out, now it's clear and obvious, as so often once you understand it  Roll Eyes
this problem is due to the fact that I imported an updated PCLOS VM which implies that it has a newer gcc than the one which was used to compile the current PCLOS kernel. Everything works fine in the new fusion3 when compiling the VMware tools directly on a non-updated, fresh install, because then the older gcc from the liveCD is used for the kernel of the liveCD. It should also work with an updated PCLOS (new gcc) and the new kernel 2.6.31, once that is out.
Logged

MBantz
Hero Member
*****
Offline Offline

Posts: 1243



« Reply #2 on: December 15, 2009, 07:41:11 AM »

Hi Pinoc,

I'm in the same trouble with gcc here on a 2.6.27 kernel and kde4, can't get access outside the VM, (and can't build rpms!!!!) without the tools.

Do you update to newest kernel (and kde4) after the fresh install or do you just keep the non-updated kernel as is until 2.6.31/32 is out?

cheers,
MBantz
Logged

pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #3 on: December 15, 2009, 07:53:26 AM »

Hi MBantz,

a working solution for me so far:
- install MiniME, do not update anything but compile VMWare-tools using the old gcc and kernel from the MiniME liveCD
- reboot and ensure that everything is working, then update all, and keep the original kernel of course.

when I updated to Fusion3.0.1 some days ago, I thought it would force me to recompile the tools but it didn't and my VM still runs fine with the tools compiled under 3.0.0. But I assume with a fresh Fusion3.0.1 you can do the same steps as outlined above.

Another but untested option for installing the tools on an already updated PCLOS could be to set: export IGNORE_CC_MISMATCH=1
and then try to compile the tools with the new gcc. Maybe that works, don't know, have not tested this yet.
Hopefully we will have a new kernel compiled with the new gcc soon, then this issue should no longer appear.

good luck!
-p.
Logged

MBantz
Hero Member
*****
Offline Offline

Posts: 1243



« Reply #4 on: December 15, 2009, 08:13:00 AM »

Thanks Pinoc,

I try the MiniME approach,

I have tried the export IGNORE_CC_MISMATCH=1 and it does not work here (kde4, 2.6.27),

thanks again,
/MBantz
Logged

pinoc
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2132



WWW
« Reply #5 on: December 24, 2009, 04:32:53 AM »

update:
on a fully updated system, meaning with the new gcc, update to the latest kernel 2.6.32, the vmware-tools from vmware 3.0.1 will compile and work perfectly fine! What a Christmas present, thank you Tex!
Logged

Texstar
Administrator
Super Villain
*****
Offline Offline

Posts: 11805



« Reply #6 on: December 24, 2009, 04:37:03 AM »

update:
on a fully updated system, meaning with the new gcc, update to the latest kernel 2.6.32, the vmware-tools from vmware 3.0.1 will compile and work perfectly fine! What a Christmas present, thank you Tex!

Heh heh, I take care of my homies! Cheesy
Logged

Follow the development of PCLinuxOS on Twitter
Help fund the PCLinuxOS project!

"I'm not so good on advice, can I interest you in a sarcastic reply?"
dasdfarmer
Guest
« Reply #7 on: December 31, 2009, 05:28:09 PM »

The new kernel solved my problem with installing VMware tools. Thank You. Now when I try to execute getopenoffice it complains about the kernel not being a TEX kernel.

Logged
Texstar
Administrator
Super Villain
*****
Offline Offline

Posts: 11805



« Reply #8 on: December 31, 2009, 05:54:43 PM »

The new kernel solved my problem with installing VMware tools. Thank You. Now when I try to execute getopenoffice it complains about the kernel not being a TEX kernel.



Yes we are aware of the Tex kernel getopenoffice conflict. Next kernel build will change the suffix to be backward compatible.
Logged

Follow the development of PCLinuxOS on Twitter
Help fund the PCLinuxOS project!

"I'm not so good on advice, can I interest you in a sarcastic reply?"
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM