This content has been marked as final.
Show 4 replies
-
1. Re: GCC not found although gcc installed :/
a.p. Nov 20, 2011 9:20 AM (in response to panosru)After installing GCC, you may need to export the path. The following lines worked for me (maybe there are newer versions available):
apt-get install gcc-4.3 linux-headers-2.6-amd64 make
export CC=/usr/bin/gcc-4.3
André
-
2. Re: GCC not found although gcc installed :/
panosru Nov 20, 2011 9:35 AM (in response to a.p.)Hello, thanks for your quick reply, I have those already installed, I tried export CC but still I get the same error, I tried to enter the correct paths manualy but still installation failed.
Searching for GCC... The path "" 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/bin/gcc-4.3 The path "/usr/bin/gcc-4.3" is not valid path to the gcc binary. Would you like to change it? [yes] no Searching for a valid kernel header path... The path "" is not a valid path to the 2.6.32-5-amd64 kernel headers. Would you like to change it? [yes] Enter the path to the kernel header files for the 2.6.32-5-amd64 kernel? /lib/modules/2.6.32-5-amd64/build/include The path "/lib/modules/2.6.32-5-amd64/build/include" is not a valid path to the 2.6.32-5-amd64 kernel headers. Would you like to change it? [yes] no
The paths I entered are correct:
root@dev:/lib/modules/2.6.32-5-amd64/build/include# ls asm asm-x86 config linux root@dev:/lib/modules/2.6.32-5-amd64/build/include# ls /usr/bin/ | grep gcc-4.3 gcc-4.3 x86_64-linux-gnu-gcc-4.3
I tried with x86_64-linux-gnu-gcc-4.3 but still I receive:
Creating a new initrd boot image for the kernel. update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64 Checking acpi hot plug done Starting VMware Tools services in the virtual machine: Switching to guest configuration: done Guest operating system daemon: failed Virtual Printing daemon: done Unable to start services for VMware Tools Execution aborted.
Thanks
-
3. Re: GCC not found although gcc installed :/
panosru Nov 20, 2011 4:08 PM (in response to panosru)apt-get install libglib2.0-0 is the solution!
-
4. Re: GCC not found although gcc installed :/
mry Dec 20, 2011 10:59 AM (in response to panosru)Thanks for the solution. Had the same problem, this fixed.
Thanks
