Strona 1 z 1

[SOLVED] Błąd przy kompilacji programow.

: 06 maja 2007, 13:07
autor: Stephen
Za każdym razem kiedy chce zainstalować program metodą make && make install wywala mi jakiś błąd typu:

Kod: Zaznacz cały

stephen@tp600e:~/thcrut-1.2.5$ sudo  ./configure && make all install
Password:
loading cache ./config.cache
Begining autoconfiguration process for thcrut-1.2.5...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
stephen@tp600e:~/thcrut-1.2.5$ 
czy ktoś wie o co chodzi??

: 06 maja 2007, 13:09
autor: lays
Sprawdz czy masz zainstalowane najnowsze gcc.

Kod: Zaznacz cały

sudo apt-get install gcc-4.1
potem

Kod: Zaznacz cały

sudo rm /usr/bin/gcc
 sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
I wsio ;-)

: 06 maja 2007, 13:14
autor: Stephen
niestety nie pomogło... :-( terz wywala to:

Kod: Zaznacz cały

checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

: 06 maja 2007, 13:20
autor: Lorenzo
Niektóre źródełka plują się jeżeli nie ma w systemie paczki gcc, mimo iż kompilator w systemie jest ;-)

wydaj apt-get install gcc, i spróbuj ponownie.

: 06 maja 2007, 13:25
autor: Stephen
niestety dalej to samo... mam ten problem na ubuntu i na debianie, wszystko instalowane z netinstall wiec najnowsze wersje pakietów. Juz nie mam pomysłow.

: 06 maja 2007, 13:37
autor: velmafia
spróbuj zainstalować build-essential

: 06 maja 2007, 14:01
autor: Stephen
ok trzeba bylo jeszcze tylko libpcap-dev i juz wszystko gra:] dięki wielkie :mrgreen: