AazForever 0 Posted 2006-09-13 19:00:10 Share Posted 2006-09-13 19:00:10 Собирал Старгезер 2.4.8.6 Система Debian 3.1 Сначала нехотел собираться кричал что gmake команды незнает заменил везде на make вроде успокоился. Но потом ошибка: g++ -c script_executer.cpp -g3 -Wall -I ../../include -DLINUX make: *** Нет правила для сборки цели `-lexpat', требуемой для `stargazer'. Останов. Я неочень разбираюсь в Скриптах поэтому удалил мешающуюся строчку в Makefile: Было ifeq ($(OS),linux) DEFS = -DLINUX LIBS += -lexpat \ -lpthread \ -ldl PLUGINS += ./plugins/capture/ether_linux endif Стало ifeq ($(OS),linux) DEFS = -DLINUX LIBS += -lpthread \ -ldl PLUGINS += ./plugins/capture/ether_linux endif Все скомпилировалось..вроде ок. Теперь вопрос. Как это повлияет на работоспособность программы? Что это за строка за что отвечает? Есть ли др варианты обойти ошыбку? Link to post Share on other sites
AazForever 0 Posted 2006-09-13 19:06:02 Author Share Posted 2006-09-13 19:06:02 На первый вопрос нашол ответ (((( НЕЗАПУСКАЕТСЯ. ((( Link to post Share on other sites
egor2fsys 5 Posted 2006-09-13 19:40:07 Share Posted 2006-09-13 19:40:07 что пишет при запуске ? что в логе ? что в сис логе ? Link to post Share on other sites
AazForever 0 Posted 2006-09-14 11:36:03 Author Share Posted 2006-09-14 11:36:03 При запуске Нечего. Выполняеться и все. В процессах не появляется. В Старгезер Логе 2006-09-14 14:32:32 -- Stg v. Stg 2.4 2006-09-14 14:32:32 -- Timer thread started successfully. 2006-09-14 14:32:32 -- Storage plugin: file_store v.1.01. Loading successfull. 2006-09-14 14:32:32 -- Error: Plugin loading failed. /usr/lib/stg//mod_conf_sg.so: cannot open shared obje ct file: No such file or directory 2006-09-14 14:32:32 -- Traffcounter: Stop successfull. 2006-09-14 14:32:32 -- Users: Stop successfull. 2006-09-14 14:32:35 -- Queue removed successfully. 2006-09-14 14:32:35 -- StgTimer: Stop successfull. 2006-09-14 14:32:35 -- Stg stopped successfully. 2006-09-14 14:32:35 -- --------------------------------------------- В Сис логе Sep 14 14:32:32 new stg: Creating queue with key=5555 ... Sep 14 14:32:32 new stg: Message queue created successfully. msgID=65536 Link to post Share on other sites
egor2fsys 5 Posted 2006-09-14 11:37:16 Share Posted 2006-09-14 11:37:16 g++ -c script_executer.cpp -g3 -Wall -I ../../include -DLINUX make: *** Нет правила для сборки цели `-lexpat', требуемой для `stargazer'. Останов. не стоит lib-expat в поиск Link to post Share on other sites
AazForever 0 Posted 2006-09-14 11:41:01 Author Share Posted 2006-09-14 11:41:01 При попытке скомпилировать отдельно файл которого ненаходит new:~/star/projects/stargazer/plugins/configuration/sgconfig# make g++ -c stgconfig.cpp -g3 -Wall -fPIC -I ../../../../../include -DLINUX In file included from stgconfig.h:5, from stgconfig.cpp:5: configproto.h:30:19: expat.h: No such file or directory In file included from stgconfig.h:5, from stgconfig.cpp:5: configproto.h:135: error: 'XML_Parser' is used as a type, but is not defined as a type. make: *** [stgconfig.o] Ошибка 1 \ new:~# \new:~/star/projects/stargazer/plugins/configuration/sgconfig# make g++ -c stgconfig.cpp -g3 -Wall -fPIC -I ../../../../../include -DLINUX In file included from stgconfig.h:5, from stgconfig.cpp:5: configproto.h:30:19: expat.h: No such file or directory In file included from stgconfig.h:5, from stgconfig.cpp:5: configproto.h:135: error: 'XML_Parser' is used as a type, but is not defined as a type. make: *** [stgconfig.o] Ошибка 1 \ Link to post Share on other sites
AazForever 0 Posted 2006-09-14 12:08:51 Author Share Posted 2006-09-14 12:08:51 Нашол поставил перекомпилировал. Ошыбка в Старгезер лог 2006-09-14 15:06:31 -- Stg v. Stg 2.4 2006-09-14 15:06:31 -- Timer thread started successfully. 2006-09-14 15:06:31 -- Storage plugin: file_store v.1.01. Loading successfull. 2006-09-14 15:06:31 -- Error: Plugin loading failed. /usr/lib/stg//mod_conf_sg.so: undefined symbol: XML_S etElementHandler 2006-09-14 15:06:31 -- Traffcounter: Stop successfull. 2006-09-14 15:06:31 -- Users: Stop successfull. 2006-09-14 15:06:34 -- Queue removed successfully. 2006-09-14 15:06:34 -- StgTimer: Stop successfull. 2006-09-14 15:06:34 -- Stg stopped successfully. 2006-09-14 15:06:34 -- --------------------------------------------- Link to post Share on other sites
masquarade 0 Posted 2006-09-22 03:38:25 Share Posted 2006-09-22 03:38:25 Была вроде такая хрень .... толи он компилится отказывался.... толи не запускался...попробуй раскидать сим. ссылки libexpat в /lib, /usr/lib и /usr/local/lib ... он может библиотечки не находить ... Link to post Share on other sites
KRAWA 0 Posted 2006-09-24 10:10:06 Share Posted 2006-09-24 10:10:06 Собирал Старгезер 2.4.8.6Система Debian 3.1 Сначала нехотел собираться кричал что gmake команды незнает заменил везде на make вроде успокоился. Но потом ошибка: Я тоже везде заменил gmake на make пишу ./build оно мне выдает ############################################################################# Building STG 2.4 for FreeBSD 6 ############################################################################# Makeing stg_logger.lib "../Makefile.in", line 9: Missing dependency operator "../Makefile.in", line 11: Need an operator "../Makefile.in", line 13: Missing dependency operator "../Makefile.in", line 15: Need an operator "../Makefile.in", line 17: Missing dependency operator "../Makefile.in", line 19: Missing dependency operator "../Makefile.in", line 21: Need an operator "../Makefile.in", line 23: Need an operator "../Makefile.in", line 25: Missing dependency operator "../Makefile.in", line 27: Missing dependency operator "../Makefile.in", line 29: Need an operator "../Makefile.in", line 31: Need an operator "../Makefile.in", line 33: Missing dependency operator "../Makefile.in", line 35: Need an operator "../Makefile.in", line 37: Missing dependency operator "../Makefile.in", line 39: Need an operator Error expanding embedded variable. Что это ???Как с ним бороться?? Не думал я что так сложно все будет ПЛЗ!!! где почитать полный РАБОТАЮЩИЙ мануал по установке Старгазера на FreeBSD 6.1 ????? Link to post Share on other sites
seima 6 Posted 2006-10-10 18:42:11 Share Posted 2006-10-10 18:42:11 А я залез в порты, установил gmake-x.x.x какойто, и все пошло. 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