2012-03-29 10 views
2
  • Host-Betriebssystem installieren: Mac OS X 10.7.3
  • VMWare Fusion Version 4.1.1 (536016)
  • Gastbetriebssystem: Debian GNU/Linux Squeeze-Kernel 2.6. 32-5-amd64

Der Installationsprozess stecken bleibt, wenn Module zu kompilieren versuchen:kann nicht VMWare Tools auf Debian Squeeze Gast

..... 
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 installiert ist:

# 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 

und das binäre liegt vor, wenn installer VMWare Werkzeuge versucht, es zu finden:

# 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) 

das Problem googeln hat darauf hingewiesen, dass das Problem könnte die gcc-Version sein - Version 4.3 erforderlich ist. Witzigerweise, wenn ich versuche, die Kernel-Header zu installieren (auch durch das VMWare Tools-Installationsprogramm erforderlich), es führt zu dem gleichen Problem:

# 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 

Irgendwelche Ideen, wie dieses Problem zu lösen? Vielen Dank!

Antwort

2

apt-get install libglib2.0-0 in Super-User-Shell oder mit sudo

http://communities.vmware.com/message/1883496?tstart=5

+0

Die folgenden Pakete haben nicht erfüllte Abhängigkeiten: linux-headers-2.6.32-5-amd64: Hängt ab: gcc-4.3, aber es wird nicht gehen zu installieren E: Defekte Pakete - glib hat nichts mit gcc zu tun - in dieser Hinsicht. –

Verwandte Themen