Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing VMwareTools-8.6.0-515842.tar.gz on gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Majed17
Guru
Guru


Joined: 31 Aug 2011
Posts: 328
Location: Minsk, Belarus

PostPosted: Mon Apr 09, 2012 1:15 pm    Post subject: installing VMwareTools-8.6.0-515842.tar.gz on gentoo Reply with quote

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
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Apr 09, 2012 2:26 pm    Post subject: Re: installing VMwareTools-8.6.0-515842.tar.gz on gentoo Reply with quote

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
View user's profile Send private message
Majed17
Guru
Guru


Joined: 31 Aug 2011
Posts: 328
Location: Minsk, Belarus

PostPosted: Tue Apr 10, 2012 2:06 pm    Post subject: Reply with quote

i did
Code:
emerge --sync

then
Code:
emerge portage

as recomended then i installed new gcc
Code:
emerge 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
Code:
gcc-config 2

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum