[Eisfair] [e1] VMware-Tools-Installer findet gcc nicht (mehr)

Christian Müller chmos at web.de
Di Feb 6 22:32:32 CET 2018


Moin,

Situation: eisfair-1 auf ESXi6, base, developer und kernel-dev sind auf
dem aktuellen Stand. Bislang ließen sich nach einem Kernel-Update die
VMware-Tools problemlos installieren bzw. updaten. Nach einem der
letzten Paketupdates (evtl. update-alternatives?) funktioniert das nun
nicht mehr:

Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]

Die Angabe von /usr/bin nützt nichts. Der Pfad ist natürlich /usr/bin

which gcc ergibt:
/usr/bin/gcc

ll /usr/bin/gcc* ergibt:
lrwxrwxrwx 1 root root     21 Feb  2 10:39 /usr/bin/gcc ->
/etc/alternatives/gcc*
-rwxr-xr-x 1 root root 543904 Apr 17  2017 /usr/bin/gcc-4.7.4*
-rwxr-xr-x 1 root root 708012 Nov  4 17:00 /usr/bin/gcc-4.8*
-rwxr-xr-x 1 root root 867848 Jan  1 16:00 /usr/bin/gcc-5*
lrwxrwxrwx 1 root root     24 Nov  6 07:50 /usr/bin/gcc-ar ->
/etc/alternatives/gcc-ar*
-rwxr-xr-x 1 root root  22044 Apr 17  2017 /usr/bin/gcc-ar-4.7.4*
-rwxr-xr-x 1 root root  26148 Nov  4 17:00 /usr/bin/gcc-ar-4.8*
-rwxr-xr-x 1 root root  26184 Jan  1 16:00 /usr/bin/gcc-ar-5*
lrwxrwxrwx 1 root root     24 Nov  6 07:50 /usr/bin/gcc-nm ->
/etc/alternatives/gcc-nm*
-rwxr-xr-x 1 root root  22044 Apr 17  2017 /usr/bin/gcc-nm-4.7.4*
-rwxr-xr-x 1 root root  26148 Nov  4 17:00 /usr/bin/gcc-nm-4.8*
-rwxr-xr-x 1 root root  26184 Jan  1 16:00 /usr/bin/gcc-nm-5*
lrwxrwxrwx 1 root root     28 Nov  6 07:50 /usr/bin/gcc-ranlib ->
/etc/alternatives/gcc-ranlib*
-rwxr-xr-x 1 root root  22044 Apr 17  2017 /usr/bin/gcc-ranlib-4.7.4*
-rwxr-xr-x 1 root root  26148 Nov  4 17:00 /usr/bin/gcc-ranlib-4.8*
-rwxr-xr-x 1 root root  26184 Jan  1 16:00 /usr/bin/gcc-ranlib-5*


ll /etc/alternatives/gcc* ergibt:
lrwxrwxrwx 1 root root 14 Jan 31 14:32 /etc/alternatives/gcc ->
/usr/bin/gcc-5*
lrwxrwxrwx 1 root root 17 Jan 31 14:32 /etc/alternatives/gcc-ar ->
/usr/bin/gcc-ar-5*
lrwxrwxrwx 1 root root 17 Jan 31 14:32 /etc/alternatives/gcc-nm ->
/usr/bin/gcc-nm-5*
lrwxrwxrwx 1 root root 21 Jan 31 14:32 /etc/alternatives/gcc-ranlib ->
/usr/bin/gcc-ranlib-5*

gcc --version ergibt:
gcc (eisfair Linux) 5.3.1 20160301 [gcc-5-branch revision 233849]
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Ein Wechsel zwischen gcc 4 und 5 macht keinen Unterschied. Was kann das
sein?

Gruß
Christian

-- 
You know you are getting old when you think you should drive the speed
limit.
                -- E.A. Gilliam



Mehr Informationen über die Mailingliste Eisfair