Jak zainstalować etswitch?

Mam pewien problem bo nie wiem jak ten minimizer do Wolfensteina: Enemy Territory zainstalować.

Skorzystałem z tej instrukcji i użyłem polecenia w folderze z etswitchem:

./configure --prefix=/usr

i otrzymałem coś takiego:

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for gawk... (cached) mawk

checking for gcc... gcc

checking for C compiler default output file name... configure: error: C compiler cannot create executables

See `config.log' for more details.

Czy zainstalowało się czy nie? A jak tak to gdzie to odnaleźć.

Z góry dziękuję za odpowiedzi.

Pozdrawiam.

Teraz daj

make

i

sudo make install

make zwraca

make: *** Nie podano obiektów i nie znaleziono makefile. Stop.

a sudo make install oczywiście pytanie o hasło i …

make: *** Brak reguł do wykonania obiektu `install'. Stop.

A czy na pewno jesteś w folderze? Powtórz wszystko od nowa (’./configure’, ‘make’, ‘sudo make install’). Poszukaj paczki .deb, ponieważ jakąś znalazłem, lecz nie dało się pobrać. A jeśli nie zadziała, to podaj link do pobrania archiwum.

checking for C compiler default output file name... configure: error: C compiler cannot create executables

Zainstaluj najpierw pakiet o nazwie build-essential.

Zapamiętaj jedno, skoro configure zwraca błędy to i make nic tu nie poradzi :slight_smile:

Pozdrawiam!

EDIT:

Tak sobie właśnie spojrzałem na tą instrukcję i jest tam wyraźnie napisane, że potrzebujesz do skompilowanie m.in.:

build-essential

xserver-xorg-dev

libxxf86vm-dev (optional but highly recomended) (opcjonalnie ale wysoce zalecane)

libxpm-dev

libxmu-dev

Zanim zaczniesz kompilować ten cały etswitch zainstaluj napierw te pakiety, które Ci tu wyszczególniłem. To tak w razie dalszych problemów z kompilacją.

Pozdrawiam!

Jakoś nieuważnie spojrzałem na log z ./configure i to dla tego.

a tak z ciekawości to co to za paczka build-essetnial?

//edit

no to już zainstalowałem build-essential i otrzymałem coś takiego

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for gawk... (cached) mawk

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables... 

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

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

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

checking for a BSD-compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for X... no

checking for XOpenDisplay in -lX11... no

configure: error: The path for the X11 files not found! Make sure that X11 is installed and devel

co do make i install to jest to samo co w moim 2 poście w tym temacie

//edit2

tak jest w tym folderze co mam etswitcha

Takie coś o tej paczce znalazłem w Synapticu:

Doinstaluj to co napisał roobal…