Sida 1 av 1

nedgradera

Postat: 18 jun 2006, 21:53
av bulan
jag ska fixa min komilator grej eller vad det heter för att kunna installera mplayer det ståg att den va för ny lr nåt sånt men så skulle jag testa så kom detta upp hur ska jag lösa det

root@bulan-desktop:/home/bulan# cd gcc-3.4.6
root@bulan-desktop:/home/bulan/gcc-3.4.6# ./configure
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2339: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
root@bulan-desktop:/home/bulan/gcc-3.4.6# make
bash: make: kommando hittades inte
root@bulan-desktop:/home/bulan/gcc-3.4.6# make install
bash: make: kommando hittades inte
root@bulan-desktop:/home/bulan/gcc-3.4.6# ./configure
loading cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2339: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Så skriv jag allt men det funkade inte vad har jag gjort för nåt fel skriv gärna kod mässigt exakt hur jag ska skriva för jag e en noob på detta! plz

nedgradera

Postat: 18 jun 2006, 23:27
av gothenburg
apt-get install gcc(version)

jag körde endast det och det fungerade!

nedgradera

Postat: 21 jun 2006, 16:50
av ozamosi
installera paketet build-essential

nedgradera

Postat: 22 jun 2006, 18:09
av bulan
vart hittar jag den + vilken ska jag ha??