2
- 主機操作系統:Mac OS X 10.7.3
- VMware Fusion的版本4.1.1(536016)
- 來賓操作系統:的Debian GNU/Linux的擠壓,2.6內核。 32-5-AMD64
安裝過程中被嘗試編譯模塊時卡住:無法在Debian擠壓來賓安裝VMware Tools
.....
Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
Searching for GCC...
The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]
gcc
安裝:
# dpkg -l | grep gcc
ii gcc 4:4.6.2-4 GNU C compiler
ii gcc-4.3-base 4.3.5-4 The GNU Compiler Collection (base package)
ii gcc-4.4-base 4.4.7-1 GCC, the GNU Compiler Collection (base package)
ii gcc-4.6 4.6.3-1 GNU C compiler
ii gcc-4.6-base 4.6.3-1 GCC, the GNU Compiler Collection (base package)
ii libgcc1 1:4.6.3-1 GCC support library
和存在的二元哪裏VMware Tools安裝程序試圖找到它:
# stat /usr/bin/gcc
File: `/usr/bin/gcc' -> `gcc-4.6'
Size: 7 Blocks: 0 IO Block: 4096 symbolic link
Device: 801h/2049d Inode: 1279246 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
谷歌搜索的問題指出,問題可能是gcc版本 - 4.3版是必需的。 有趣的是,當我嘗試安裝內核頭文件(也要求VMware Tools安裝程序),它會導致同樣的問題:
# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-headers-2.6.32-5-amd64 : Depends: gcc-4.3 but it is not going to be installed
E: Broken packages
任何想法如何解決這個問題?謝謝!
以下軟件包有不能滿足的依賴關係: Linux的頭-2.6.32-5-amd64的:依賴:GCC-4.3,但它不會要安裝 E:破碎的軟件包 - glib與gcc無關 - 在這方面。 – 2012-08-07 12:17:51