[SOLVED] B

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
Stephen
Posty: 68
Rejestracja: 11 marca 2007, 23:13
Lokalizacja: Opole

[SOLVED] Błąd przy kompilacji programow.

Post 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??
Awatar użytkownika
lays
Beginner
Posty: 238
Rejestracja: 10 kwietnia 2007, 11:54
Lokalizacja: Opole

Post 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 ;-)
Stephen
Posty: 68
Rejestracja: 11 marca 2007, 23:13
Lokalizacja: Opole

Post 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.
Lorenzo
Beginner
Posty: 262
Rejestracja: 15 sierpnia 2006, 16:14
Lokalizacja: Kraków

Post 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.
Stephen
Posty: 68
Rejestracja: 11 marca 2007, 23:13
Lokalizacja: Opole

Post 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.
velmafia
Member
Posty: 1820
Rejestracja: 01 września 2006, 00:56
Lokalizacja: Las

Post autor: velmafia »

spróbuj zainstalować build-essential
Stephen
Posty: 68
Rejestracja: 11 marca 2007, 23:13
Lokalizacja: Opole

Post autor: Stephen »

ok trzeba bylo jeszcze tylko libpcap-dev i juz wszystko gra:] dięki wielkie :mrgreen:
ODPOWIEDZ