shyrikos 0 Posted 2008-01-26 17:40:23 Share Posted 2008-01-26 17:40:23 Вообщем описываю свою грустную историю. что я делаю: 1)скачал expat. 2)распоковал и дал ему команды по очереди ./configure --prefix=/usr потом make и make install вроде бы все поставилось! 3)далее ставлю старгайзер. пишу ./build и сразу получаю: alex:/home/alex/stg-2.401.9.7/projects/stargazer # ./build ############################################################################# Building STG 2.4 for Linux ############################################################################# Makeing stg_logger.lib cp stg_logger.h ../../include/ cp libstg_logger.a ../../lib/ Makeing crypto.lib cp ag_md5.h blowfish.h ../../include/ cp libcrypto.a ../../lib/ Makeing common.lib g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c common.cpp ar rc libstg_common.a debug.o stg_error.o common.o ranlib libstg_common.a cp debug.h stg_error.h common.h ../../include/ cp libstg_common.a ../../lib/ Makeing conffiles.lib cp conffiles.h ../../include/ cp libconffiles.a ../../lib/ Makeing hostallow.lib cp hostallow.h ../../include/ cp libhostallow.a ../../lib/ Makeing pinger.lib cp pinger.h ../../include/ cp libstg_pinger.a ../../lib/ Makeing dotconfpp.lib cp dotconfpp.h mempool.h ../../include/ cp libdotconfpp.a ../../lib/ deps:1: *** missing separator. Stop. 4) в другом руководстве прочитал что нужно писать make. Пишем; sudo make Получаем: alex:/home/alex/stg-2.401.9.7/projects/stargazer # sudo make Makefile:95: deps: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./admin.cpp:37: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./admin.cpp:37: ./admin.h:57:24: error: stg_logger.h: No such file or directory ./admin.cpp:38:20: error: common.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./admins.h:38, from ./admins.cpp:48: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./admins.h:38, from ./admins.cpp:48: ./admin.h:57:24: error: stg_logger.h: No such file or directory ./admins.cpp:50:20: error: common.h: No such file or directory In file included from ./main.cpp:43: ./tariff2.h:41:20: error: common.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./tariff2.h:42, from ./main.cpp:43: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./tariff2.h:42, from ./main.cpp:43: ./admin.h:57:24: error: stg_logger.h: No such file or directory ./main.cpp:55:23: error: conffiles.h: No such file or directory ./main.cpp:73:20: error: pinger.h: No such file or directory ./curr_ip.cpp:2:20: error: common.h: No such file or directory In file included from ./settings.cpp:38: ./settings.h:43:20: error: common.h: No such file or directory ./settings.h:45:24: error: stg_logger.h: No such file or directory ./stg_timer.cpp:6:20: error: common.h: No such file or directory In file included from ./tariff2.cpp:42: ./tariff2.h:41:20: error: common.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./tariff2.h:42, from ./tariff2.cpp:42: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./tariff2.h:42, from ./tariff2.cpp:42: ./admin.h:57:24: error: stg_logger.h: No such file or directory ./tariff2.cpp:43:23: error: conffiles.h: No such file or directory In file included from ./traffcounter.cpp:42: ./traffcounter.h:33:24: error: stg_logger.h: No such file or directory In file included from ./users.h:49, from ./traffcounter.h:34, from ./traffcounter.cpp:42: ./settings.h:43:20: error: common.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./tariff2.h:42, from ./user.h:47, from ./users.h:50, from ./traffcounter.h:34, from ./traffcounter.cpp:42: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./user.h:47, from ./user.cpp:47: ./tariff2.h:41:20: error: common.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./tariff2.h:42, from ./user.h:47, from ./user.cpp:47: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./tariff2.h:42, from ./user.h:47, from ./user.cpp:47: ./admin.h:57:24: error: stg_logger.h: No such file or directory ./user.cpp:51:23: error: conffiles.h: No such file or directory In file included from ./user_property.cpp:1: ./user_property.h:20:24: error: stg_logger.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./user_property.h:21, from ./user_property.cpp:1: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./user_property.cpp:1: ./user_property.h:22:20: error: common.h: No such file or directory In file included from ./users.cpp:45: ./settings.h:43:20: error: common.h: No such file or directory ./settings.h:45:24: error: stg_logger.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./tariff2.h:42, from ./user.h:47, from ./users.h:50, from ./users.cpp:46: ../../include/user_ips.h:33:20: error: common.h: No such file or directory In file included from ./plugin_runner.h:8, from ./plugin_runner.cpp:5: ./traffcounter.h:33:24: error: stg_logger.h: No such file or directory In file included from ./users.h:49, from ./traffcounter.h:34, from ./plugin_runner.h:8, from ./plugin_runner.cpp:5: ./settings.h:43:20: error: common.h: No such file or directory In file included from ../../include/user_conf.h:24, from ../../include/base_store.h:14, from ./admin.h:56, from ./tariff2.h:42, from ./user.h:47, from ./users.h:50, from ./traffcounter.h:34, from ./plugin_runner.h:8, from ./plugin_runner.cpp:5: ../../include/user_ips.h:33:20: error: common.h: No such file or directory ./plugin_runner.cpp:7:23: error: conffiles.h: No such file or directory ./script_executer.cpp:12:20: error: common.h: No such file or directory deps:1: *** missing separator. Stop. Помогите пожалуйста.очень нравится билинг,но не могу установить,я в этом деле новичек. Link to post Share on other sites
madf 279 Posted 2008-01-26 17:52:00 Share Posted 2008-01-26 17:52:00 Попробуй make clean && make Link to post Share on other sites
madf 279 Posted 2008-01-26 17:53:43 Share Posted 2008-01-26 17:53:43 Вобще версия достаточно старая. Скорее всего это не сработает. Тогда просто удали и распакуй снова. Потом ./build Link to post Share on other sites
shyrikos 0 Posted 2008-01-26 18:22:27 Author Share Posted 2008-01-26 18:22:27 Вобще версия достаточно старая. Скорее всего это не сработает.Тогда просто удали и распакуй снова. Потом ./build так я уже так делал.все равно выдает ошибку... а какая новая версия? Link to post Share on other sites
shyrikos 0 Posted 2008-01-26 19:04:17 Author Share Posted 2008-01-26 19:04:17 так получилось,что все заработало,причем старая версия поставилась,а потом я поставил новую...Не может из-за этого быть каких либо ошибок?как их обе затереть и заново поставить? Нормальный ли ответ на такую команду: lex:/etc/stargazer # ps -x | grep stargazer Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 7451 ? S<sl 0:00 ./stargazer 7726 pts/1 S+ 0:00 grep stargazer Сервер запустился? Link to post Share on other sites
shyrikos 0 Posted 2008-01-27 09:53:51 Author Share Posted 2008-01-27 09:53:51 А для того чтобы поставить веб-админку на все это дело,какие телодвижения нужно сделать?! Спрашиваю,потому что находил только с vpn соединением,а мне нужно простое - самое классическое,то которое в мануале описанно.Помогите плиз... Link to post Share on other sites
madf 279 Posted 2008-01-27 12:23:29 Share Posted 2008-01-27 12:23:29 так получилось,что все заработало,причем старая версия поставилась,а потом я поставил новую...Не может из-за этого быть каких либо ошибок?как их обе затереть и заново поставить? Ошибок может быть. Но если запустился - значит все нормально. Проверяется так: tail /var/log/stargazer.log - лог системы ps ax | grep stargazer - наличие процесса в памяти Подключением конфигуратора По поводу веб-админки ничего не могу сказать - это к товарищу Алферову. Но я на 90% уверен что ей все равно с чем работать: с VPN или с обычным NAT Link to post Share on other sites
madf 279 Posted 2008-01-27 12:24:28 Share Posted 2008-01-27 12:24:28 А для того чтобы поставить веб-админку на все это дело,какие телодвижения нужно сделать?! Да, кажется, там патчи прилагаются Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now