Не могу запустить rejik на Debian Linux
Добавлено: Пн июл 24, 2006 12:49
Помогите нубу установить на Дебиане (помоему 3.5) rejik, squid apache я поднял через систему APT, настроил - работает. А вот при установке пакета режик через стандартные команды make make install вот что мне пишет
debian1:/var/tmp/redirector-3.2.1# make
rm -f pass.o raw_change.o load_cache.o pcre.o parse_input.o init_vars.o check_urls.o run_make_cache.o new_url.o redirect.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o load_urls.o prune_urls.o write_cache.o need_cache_update.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o redirector make-cache OUT
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pass.c
pass.c:1:19: stdio.h: No such file or directory
pass.c:2:20: string.h: No such file or directory
In file included from pass.c:3:
vars.h:1:19: stdio.h: No such file or directory
vars.h:2:18: pcre.h: No such file or directory
In file included from pass.c:3:
vars.h:49: error: syntax error before '*' token
vars.h:49: warning: type defaults to `int' in declaration of `change_log'
vars.h:49: warning: data definition has no type or storage class
vars.h:142: error: syntax error before "pcre"
vars.h:142: warning: no semicolon at end of struct or union
vars.h:143: warning: type defaults to `int' in declaration of `ban_pcre_s'
vars.h:143: warning: data definition has no type or storage class
vars.h:149: error: syntax error before '}' token
vars.h:149: warning: type defaults to `int' in declaration of `redir'
vars.h:149: warning: data definition has no type or storage class
pass.c: In function `pass':
pass.c:14: warning: implicit declaration of function `printf'
pass.c:15: warning: implicit declaration of function `fflush'
pass.c:15: error: `stdout' undeclared (first use in this function)
pass.c:15: error: (Each undeclared identifier is reported only once
pass.c:15: error: for each function it appears in.)
make: *** [pass.o] Error 1
debian1:/var/tmp/redirector-3.2.1# make install
mkdir -p /usr/local/rejik3/tools
cp make-cache /usr/local/rejik3
cp: cannot stat `make-cache': No such file or directory
make: *** [install] Error 1
debian1:/var/tmp/redirector-3.2.1#
Помогите с советом указанием. если сильно тупой вопрос - скажите где почитать как бороться с Дебианом, на opennet.ru сходить ???
debian1:/var/tmp/redirector-3.2.1# make
rm -f pass.o raw_change.o load_cache.o pcre.o parse_input.o init_vars.o check_urls.o run_make_cache.o new_url.o redirect.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o load_urls.o prune_urls.o write_cache.o need_cache_update.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o redirector make-cache OUT
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pass.c
pass.c:1:19: stdio.h: No such file or directory
pass.c:2:20: string.h: No such file or directory
In file included from pass.c:3:
vars.h:1:19: stdio.h: No such file or directory
vars.h:2:18: pcre.h: No such file or directory
In file included from pass.c:3:
vars.h:49: error: syntax error before '*' token
vars.h:49: warning: type defaults to `int' in declaration of `change_log'
vars.h:49: warning: data definition has no type or storage class
vars.h:142: error: syntax error before "pcre"
vars.h:142: warning: no semicolon at end of struct or union
vars.h:143: warning: type defaults to `int' in declaration of `ban_pcre_s'
vars.h:143: warning: data definition has no type or storage class
vars.h:149: error: syntax error before '}' token
vars.h:149: warning: type defaults to `int' in declaration of `redir'
vars.h:149: warning: data definition has no type or storage class
pass.c: In function `pass':
pass.c:14: warning: implicit declaration of function `printf'
pass.c:15: warning: implicit declaration of function `fflush'
pass.c:15: error: `stdout' undeclared (first use in this function)
pass.c:15: error: (Each undeclared identifier is reported only once
pass.c:15: error: for each function it appears in.)
make: *** [pass.o] Error 1
debian1:/var/tmp/redirector-3.2.1# make install
mkdir -p /usr/local/rejik3/tools
cp make-cache /usr/local/rejik3
cp: cannot stat `make-cache': No such file or directory
make: *** [install] Error 1
debian1:/var/tmp/redirector-3.2.1#
Помогите с советом указанием. если сильно тупой вопрос - скажите где почитать как бороться с Дебианом, на opennet.ru сходить ???