View previous topic :: View next topic |
Author |
Message |
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Mon Apr 09, 2012 1:15 pm Post subject: installing VMwareTools-8.6.0-515842.tar.gz on gentoo |
|
|
i'm trying to install vmware tools on gentoo according to the the following guide:
http://en.gentoo-wiki.com/wiki/VMware_Guest#Installing_VMware_Tools
i got to the step where i need to create symlinks using ln -s but it didn't work because the folder linux doesn't have any files or folders so i ignored this step.
then i got to :
Code: | cd /opt/vmware-tools-distrib
./vmware-install.pl |
i go to the step
Code: |
The path "/usr/i686-pc-linux-gnu/gcc-bin/4.4.5" is not valid path to the gcc
binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine? /usr/i686-pc-linux-gnu/bin
|
and it didn't work.. i tried lots of other directories but it didn't work.
Has anyone installed vmwaretools for esx 5?
any help is appreciated . |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Apr 09, 2012 2:26 pm Post subject: Re: installing VMwareTools-8.6.0-515842.tar.gz on gentoo |
|
|
Majed17 wrote: | i got to the step where i need to create symlinks using ln -s but it didn't work because the folder linux doesn't have any files or folders so i ignored this step. |
Well that's not a very good idea; the links are in /usr/src/linux afaics, and you should have configured linux sources in there, for the kernel you're running. You might need to:
Code: | cd /usr/src
ln -s linux-$(uname -r) linux
|
Quote: |
then i got to :
Code: | cd /opt/vmware-tools-distrib
./vmware-install.pl |
i go to the step
Code: |
The path "/usr/i686-pc-linux-gnu/gcc-bin/4.4.5" is not valid path to the gcc
binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine? /usr/i686-pc-linux-gnu/bin
|
and it didn't work.. i tried lots of other directories but it didn't work.
Has anyone installed vmwaretools for esx 5?
any help is appreciated . |
Well I haven't installed vmware for ages, but you can see where your gcc is with: which gcc Also gcc-config -l will show you available profiles. gcc-config -B to show paths for current, and gcc-config 1 will set it to the first profile listed: you may well have upgraded gcc and not set the profile to the new value (I've been on 4.5.3 for a while.) |
|
Back to top |
|
|
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Tue Apr 10, 2012 2:06 pm Post subject: |
|
|
i did
then
as recomended then i installed new gcc
after more than an hour and a half gcc got installed
then i ran gcc-config -l and there were 2 profiles so i chose the new one by
then i did according to the migration guide,
Code: |
# env-update && source /etc/profile
# emerge --oneshot libtool
|
the i did ln -s linux-2.6.31-gentoo-r6/ linux
but i didn't see any sim link created
after running again
Code: | cd /opt/vmware-tools-distrib
./vmware-install.pl
|
i reached the gcc part again and again it said:
Code: | The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine? /usr/lib/gcc/i686-pc-linux-gnu/4.4.5
The path "/usr/lib/gcc/i686-pc-linux-gnu/4.4.5" is not valid path to the gcc
binary.
Would you like to change it? [yes] |
any idea what to do next. and thanks for the reply and i hope the provided information helped. |
|
Back to top |
|
|
|