ошибки при сборке rejik 3.x на Debian

Обсуждение программы редиректора
Ответить
AlexanderB
Сообщения: 2
Зарегистрирован: Пн фев 15, 2016 9:47

ошибки при сборке rejik 3.x на Debian

Сообщение AlexanderB »

Debian 7.9 x64.

Код: Выделить всё

root@deb:/home/redirector-3.2.11# 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 rejik3.zip rejik3/*
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pass.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c raw_change.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c load_cache.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pcre.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c parse_input.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c init_vars.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c check_urls.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c run_make_cache.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c new_url.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c redirect.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c err_mes.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c now.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c get_opt.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c parse_urls.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c cache2url.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c ip.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c id.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c comparing.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c load_urls.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c prune_urls.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c write_cache.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c need_cache_update.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -o redirector redirector.c 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  -L/lib `pcre-config --libs`
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -o make-cache make-cache.c 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  -L/lib `pcre-config --libs`
Чего не хватает? Подскажите, пожалуйста.
Заранее благодарю.

Slava
Site Admin
Сообщения: 2237
Зарегистрирован: Пт апр 02, 2004 12:34
Контактная информация:

Re: ошибки при сборке rejik 3.x на Debian

Сообщение Slava »

Добрый день,

не вижу ошибки.

AlexanderB
Сообщения: 2
Зарегистрирован: Пн фев 15, 2016 9:47

Re: ошибки при сборке rejik 3.x на Debian

Сообщение AlexanderB »

Тоесть это установилось, получается?

Код: Выделить всё

root@deb:/home/redirector-3.2.11# make install
mkdir -p /usr/local/rejik3/tools
cp make-cache /usr/local/rejik3
cp redirector /usr/local/rejik3
cp redirector.conf.dist /usr/local/rejik3
echo "#!/bin/sh" > /usr/local/rejik3/tools/check-redirector
echo 'su proxy -c "echo \"http://sex.ru 127.0.0.1/- - GET\" | /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf;"' >> /usr/local/rejik3/tools/check-redirector
chmod 755  /usr/local/rejik3/tools/check-redirector
echo "#!/bin/sh" > /usr/local/rejik3/tools/set-permissions
echo 'chown -R proxy:proxy /usr/local/rejik3' >> /usr/local/rejik3/tools/set-permissions
chmod 755  /usr/local/rejik3/tools/set-permissions
cp tools/kill-cache /usr/local/rejik3/tools
chmod 755  /usr/local/rejik3/tools/kill-cache
cp tools/benchmark /usr/local/rejik3/tools
chmod 755  /usr/local/rejik3/tools/benchmark
cp tools/IN.gz /usr/local/rejik3/tools
chmod 644 /usr/local/rejik3/tools/IN.gz
chown -R proxy:proxy /usr/local/rejik3
chmod 770 /usr/local/rejik3
chmod 644 /usr/local/rejik3/redirector.conf.dist
chmod 755 /usr/local/rejik3/redirector
chmod 755 /usr/local/rejik3/make-cache
Оно до этого ругалось, но подругому, пока libpcre3-dev не поставил.
Я просто я и теперь явной надписи "ОК" нигде не вижу... извиняюсь, если вдруг туплю ))

Ответить