Gå til innhold

feilmelding i linux


Anbefalte innlegg

Skrevet

Jeg får denne feilen:

 

[root@localhost ksamba-0.3.4]# ./configure

loading cache ./config.cache

checking host system type... i686-pc-linux-gnuoldld

checking target system type... i686-pc-linux-gnuoldld

checking build system type... i686-pc-linux-gnuoldld

checking for a BSD compatible install... (cached) /usr/bin/ginstall -c

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... (cached) yes

checking for working aclocal... found

checking for working autoconf... found

checking for working automake... found

checking for working autoheader... found

checking for working makeinfo... found

checking for a C-Compiler...

checking for gcc... (cached) gcc

checking whether the C compiler (gcc ) works... no

configure: error: installation or configuration problem: C compiler cannot create executables.

[root@localhost ksamba-0.3.4]# make

/bin/sh ./config.status --recheck

./config.status: ./config.status: No such file or directory

make: *** [config.status] Error 127

[root@localhost ksamba-0.3.4]# make install

/bin/sh ./config.status --recheck

./config.status: ./config.status: No such file or directory

make: *** [config.status] Error 127

[root@localhost ksamba-0.3.4]# make

/bin/sh ./config.status --recheck

./config.status: ./config.status: No such file or directory

make: *** [config.status] Error 127

[root@localhost ksamba-0.3.4]# ./configure

loading cache ./config.cache

checking host system type... i686-pc-linux-gnuoldld

checking target system type... i686-pc-linux-gnuoldld

checking build system type... i686-pc-linux-gnuoldld

checking for a BSD compatible install... (cached) /usr/bin/ginstall -c

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... (cached) yes

checking for working aclocal... found

checking for working autoconf... found

checking for working automake... found

checking for working autoheader... found

checking for working makeinfo... found

checking for a C-Compiler...

checking for gcc... (cached) gcc

checking whether the C compiler (gcc ) works... no

configure: error: installation or configuration problem: C compiler cannot create executables.

 

hva er galt? :smile:

Videoannonse
Annonse
Skrevet

GNU C Compiler (gcc) funker ikke :grin:

 

Prøv å oppdatere til en nyere versjon av gcc-pakken.

 

Tror du skal kunne se hvilken versjon gcc-pakken er ved å skrive:

 

rpm | qa gcc

Skrevet

skriv "gcc --version" hvis du får 2.96 (veldig sannsynelig hvis du bruker Mandrake eller Redhat) så er da bare og oppgradere til 3.* eller degradere :wink: til 2.95 (2.95 er den jeg har hatt mest suksess med personelig) lykke til

:cool:

Skrevet

nå har jeg installert gcc, men nå kommer jeg ikke lenger enn dette:

 

[root@localhost ksamba-0.3.4]# ./configure

loading cache ./config.cache

checking host system type... configure: error: can not guess host type; you must specify one

 

 

Kan noen være så snill og si meg hvordan jeg spesifiserer host type? :smile:

Skrevet

Quote:


On 2002-04-29 22:39, nVIDIAsucks skrev:

nå har jeg installert gcc, men nå kommer jeg ikke lenger enn dette:


[root@localhost ksamba-0.3.4]# ./configure

loading cache ./config.cache

checking host system type... configure: error: can not guess host type; you must specify one



Kan noen være så snill og si meg hvordan jeg spesifiserer host type? :smile:


 

Prøv å finn en nyere verjon av 'binutils'. ld med venner. Sjekk også at glibc versjonen din henger på greip. Hvilken distro kjører du?

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...