[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cc: Command not found



On Sun, Jul 07, 2002 at 11:29:44AM +0200, Alessandro Ghigi wrote:
[cut]
> make[1]: cc: Command not found
> make[1]: *** [init/main.o] Error 127
> make[1]: Leaving directory `/usr/src/kernel-source-2.2.19'
> make: *** [stamp-build] Error 2
[cut] 
> Se dovessi indovinare, direi che manca la "g" in "gcc". Solo che non so in quale file manca, ne' come correggerla. E poi sembra un po' naif come spiegazione. 
> 
> **PER FAVORE** spedite la risposta anche a me, perche' non sono nella mailing list.
> 
> 
> Grazie
> 
> Alessandro
Ciao Alessandro,
vediamo un po' com'è sulla mia macchina.
$ which cc
/usr/bin/cc
$ ls -l /usr/bin/cc
lrwxrwxrwx    1 root     root           20 mag  9 16:41 /usr/bin/cc ->
/etc/alternatives/cc
$ ls -l /etc/alternatives/cc
lrwxrwxrwx    1 root     root           12 mag  9 16:41
/etc/alternatives/cc -> /usr/bin/gcc
$ ls -l /usr/bin/gcc
lrwxrwxrwx    1 root     root            8 mag  9 16:35 /usr/bin/gcc ->
gcc-2.95
(precisamente)
$ cd /usr/bin/
$ ls -l gcc
lrwxrwxrwx    1 root     root            8 mag  9 16:35 gcc -> gcc-2.95

Ecco qua, una serie moolto lunga di collegamenti simbolici.
Siccome i collegamenti simbolici ci saranno anche per le man page,
facendo man cc ti porterebbe a man gcc-2.95, ti consiglio di
reinstallare gcc-2.95 con "# apt-get --reinstall install gcc" al posto
che ricrearti a mano i link.

Ciao,
Werewolf


-- 
Werewolf alias Matteo
werewolf(at)pavia.linux.it


-- 
To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: