您的位置:首页 > 产品设计 > UI/UE

Installing VMware Tools on Debian 6 (squeeze)

2013-06-10 10:25 393 查看


转自:http://blog.mwpreston.net/2011/10/12/installing-vmware-tools-on-debian-6-squeeze/


Installing VMware Tools on Debian 6 (squeeze)

October 12, 2011

I was in the process of spinning up a few Debian 6 squeeze servers today when I ran into a little bit of trouble installing VMware tools inside the guest. These were bare bone installs, containing basically just the system utilities from the tasksel menu (no
desktop gui environment). I proceeded to install VMware tools the way I normally do and have for previous versions of Debian. Right-Click VM -> Guest -> Install/Update VMware Tools when I ran into the following error during the install.





'The path "/usr/bin/gcc" is not valid path to the gcc binary.

It was at this point I when and pulled down the build-essential package, thinking maybe gcc wasn't installed, and I knew that I would need 'make' as well.

After an apt-get install build-essential I received the same error when trying to re-install. The path /usr/bin/gcc was certain valid, and it most certainly pointed to the the gcc package. Basically, what I found out is that when you do the base install with
Debian 6 Squeeze (through a net-install image) you do not receive the header files for the kernel you are running. These files are actually needed for VMware tools to recompile and configure itself for the version you are running. So, an easy fix…
apt-get install linux-headers-$(uname -r)

After running this command, and then re installing your VMware tools again you should see the following during your installation process.





"Detected GCC binary at "/usr/bin/gcc-4.3".

Just accept the default here to not change the path, complete the rest of the VMware tools install and bobs your uncle.

Post
to Facebook

Post
to Twitter

Add
to LinkedIn

Post
to Delicious

1

1

1

1

1

1

1

1

1

Post
to StumbleUpon

Send
via E-mail program


You might also enjoy these recent posts...

VMware View on the $99 HP
Touchpad Last month, being the quintessential geek that I am, I spent the greater part of one of my weekends installing...
Installing
Ubuntu on your 99 dollar HP Touchpad About a month ago I was lucky enough to score one of those $99.00 touchpads. I seen the explosion on...
Installing
and Configuring the VMware vCenter Appliance Well, I've finally got around to getting my 'lab' setup inside of VMware Workstation and I thought the first thing...
Installing offline bundles
in ESXi 5 So I ran into a situation where I needed to get the HP CIM providers onto ESXi 5 in order...
Dell
Storage missing from VMware Health Status We have probably all been there at one point while messing around with ESXi and certain types of hardware. You...

Filed Under: Uncategorized Tagged
With: Debian, ESXi, Linux, VMware, VMware
Tools



13 comments



Leave a message...

Attach


SIGN IN WITH


Disqus

Facebook

Twitter

Google


OR REGISTER WITH DISQUS





Best

Community



Share




Hsiao-Ting Wang • 10
months ago





Thanks. You really make my days. :)

1



Reply



Share ›







No • a
year ago





Didn't work... I still get the same error message.

1 1



Reply



Share ›







ras No • 11
months ago





Try this

aptitude -y install libglib2.0-0 build-essential linux-headers-$(uname -r)

2



Reply



Share ›








DTHI Demitrios • 4
months ago





Thanks for the info, i was doing it the hard way (installing the individual requirements), but your way is quicker, as it includes everything in 1 go.





Reply



Share ›







Olivier • 7
months ago





As of today with default options, you also need to install the package "libglib2.0-dev", otherwise you will get the same error.





Reply



Share ›








mwpreston Mod Olivier • 7
months ago





thanks so much...I'll have to update the post :)





Reply



Share ›







Calhemp • 11
months ago





thanks, it worked to me





Reply



Share ›








mwpreston Mod Calhemp • 11
months ago





good stuff!





Reply



Share ›







Some Random Guy • 11
months ago





You are a gentleman and a scholar





Reply



Share ›








mwpreston Mod Some
Random Guy • 11
months ago





haha, thanks!





Reply



Share ›







G7ivp • a
year ago





Brilliant. Worked a treat and saved what hair I've got left - been searching for a solution for days! Thank you.





Reply



Share ›








mwpreston Mod G7ivp • a
year ago





No problem, glad it's working for most people





Reply



Share ›







Fred Wilson • a
year ago





Thanks for this! You're a lifesaver!





Reply



Share ›
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: