|
Problem z kompilacją GGBota
ETZ - 04-08-2007 14:36
Witam. Przeszukałem forum i nic takiego nie znalazłem. Mam problem z kompilacją GGBota - http://harvester.iglu.cz/ Wpisuje ./configure i :
root@apsp:~/ggbot# ./configure checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
gcc mam na pewno, ponieważ mam ekg. Podobny problem mam przy kompilacji eggdropa. Może ktoś spotkał się z kompilacją właśnie tego programu...
Prosze o podpowiedz.
Rad - 04-08-2007 14:53
Według mnie nie masz gcc (co do tego w ogóle ma ekg? kompilowałeś je?).
ETZ - 04-08-2007 16:08
Mam gcc, gtk, pythona, jave, zip, bzzip i inne różne biblioteki. Mi to wygląda na to że nie odnajduje tych bibliotek. Może w jakiś sposób trzeba wskazać gdzie one się znajdują?
Edit: Bez gcc nie mogłem odpalić ekg. Zainstalowałem 3.4 i działa bez strzału.
Zainstalowałem jeszcze dodatkowo gcc272, wbiłem ./configure i :
soateam:/home/ggbot# ./configure checking for gcc... gcc checking for cc... cc 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking how to run the C preprocessor... cc -E checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... cc checking for pkg-config... no checking for ssl.h... not found checking for tgetent... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tgetent in -lcurses... no checking for tgetent in -lncurses... no checking which library has the termcap functions... using gnutermcap checking for readline.h... not found checking for rl_get_screen_size... no checking for python... no checking for python2.3... /usr/bin/python2.3 checking for Python.h... not found configure: error: Python not found, but GGBot by default require Python! Try './configure --without-python'.
Cóż może brakować ?
Lorenzo - 04-08-2007 16:37
Czytaj komunikaty! Brakuje ci pythona.
Rad - 04-08-2007 16:37
pythona. Zainstaluj python-dev albo coś podobnego. Dokładnie jest napisane czego brakuje.
Kaka' - 04-08-2007 17:06
Mam gcc
Zainstalowałem jeszcze dodatkowo gcc C compiler
Hmm, to jednak nie miałeś gcc? :>
ETZ - 04-08-2007 17:57
wbij sobie aptitude search gcc. Miałem "gcc-3.4" i "gcc" oraz zainstalowałem dodatkowo "gcc272"
E: //
Udało mi się zakończyć konfigurowanie, wbiłem "make install" i wyskoczyła masa errorów: src/ui.c: In function `ggbot_completion': src/ui.c:189: warning: assignment makes pointer from integer without a cast src/ui.c:191: warning: assignment makes pointer from integer without a cast src/ui.c: In function `command_generator': src/ui.c:210: error: request for member `name' in something not a structure or union src/ui.c: In function `com_help': src/ui.c:435: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:436: error: request for member `name' in something not a structure or union src/ui.c:439: error: request for member `name' in something not a structure or union src/ui.c:440: error: request for member `name' in something not a structure or union src/ui.c:440: error: request for member `doc' in something not a structure or union src/ui.c:457: error: request for member `name' in something not a structure or union src/ui.c:459: error: request for member `name' in something not a structure or union src/ui.c:460: error: request for member `name' in something not a structure or union src/ggbot.c: In function `ggbot_command': src/ggbot.c:228: error: `command' undeclared (first use in this function) src/ggbot.c: In function `main': src/ggbot.c:398: warning: assignment makes pointer from integer without a cast make: *** [install_make] Error 1 soateam:/home/ggbot#
Nie będę tutaj wklejał wszystkiego, ponieważ jest tego bardzo dużo... Co może być tego przyczyną ?
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|