fedus
СitizensТип контенту
Профили
Форум
Календарь
Все, що було написано fedus
-
У когось є зразок договору з електриками про користування їхньою електрикою?
-
Поки що адмін стандартний(адмін-123456) в конфігу він стоїть і під ним же хочу зайти
-
Знайшов причину, все пішло. Лиш толком в адмінці нічого зробити не можу: Access denied. У Вас недостаточно прав для доступа в этот раздел!
-
А в чому тоді проблема?
-
Працює! Запустився без помилок, порт відкритий, процес є! дивлюся в базі на адміна такий странний пароль??? Стг вроді паролі не шифрує може попробувати поміняти?
-
Якщо точно так вводити то видає: Connect failed! у мене тоже адмін і 123456 ?????????
-
ОК! ./sgconf_xml вроді пішов видав: ./sgconf_xml Sgconf version: 1.05.9_XML Use: sgconf -s <server> -p <port> -a <admin> -w <admin_pass> -r <request_string> Use: sgconf -s <server> -p <port> -a <admin> -w <admin_pass> -f <request_file> Request file or string content: <GetServerInfo/> <GetTariffs/> <AddTariff name="NEW_TARIFF"/> <DelTariff name="DELETED_TARIFF"/> <SetTariff name="TARIFF"/> <Time[0...9] value="HH:MM-HH:MM"/> Day-Night time for each DIR <PriceDayA value="PriceDayA0/PriceDayA1/PriceDayA2/PriceDayA3/PriceDayA4/PriceDayA5/PriceDayA6/PriceDayA7/PriceDayA8/PriceDayA9"/> <PriceDayB value="PriceDayB0/PriceDayB1/PriceDayB2/PriceDayB3/PriceDayB4/PriceDayB5/PriceDayB6/PriceDayB7/PriceDayB8/PriceDayB9"/> <PriceNightA value="PriceNightA0/PriceNightA1/PriceNightA2/PriceNightA3/PriceNightA4/PriceNightA5/PriceNightA6/PriceNightA7/PriceNightA8/PriceNightA9"/> <PriceNightB value="PriceNightB0/PriceNightB1/PriceNightB2/PriceNightB3/PriceNightB4/PriceNightB5/PriceNightB6/PriceNightB7/PriceNightB8/PriceNightB9"/> <SinglePrice value="SinglePrice0/SinglePrice1/SinglePrice2/SinglePrice3/SinglePrice4/SinglePrice5/SinglePrice6/SinglePrice7/SinglePrice8/SinglePrice9"/> <NoDiscount value="NoDiscount0/NoDiscount1/NoDiscount2/NoDiscount3/NoDiscount4/NoDiscount5/NoDiscount6/NoDiscount7/NoDiscount8/NoDiscount9"/> <Threshold value="NEW_Threshold"/> <Fee value="NEW_Fee"/> <PassiveCost value="NEW_PassiveCost"/> <Free value="NEW_Free"/> <TraffType value="NEW_TraffType"/> New TraffType value: [up|down|up+down|max] </SetTariff/> <GetAdmins/> <AddAdmin login="LOGIN"/> <DelAdmin login="LOGIN"/> <ChgAdmin login="LOGIN" priv="NEW_PRIV" password="NEW_PASSWORD"/> <GetUsers/> <GetUser login="LOGIN"/> <AddUser login="LOGIN"/> <DelUser login="LOGIN"/> <CheckUser login="LOGIN" password="PASSWORD"/> Checking login and password in database. Return Ok or Err. <SetUser> <login value="LOGIN" /> <ip value="NEW_IP" /> <password value="NEW_Password" /> <tariff [ delayed | now ]="NEW_Tariff" /> delayed - change tariff from 1st day of new month; now - change tariff NOW. <group value="NEW_Group" /> Encode12() -> value <name value="NEW_RealName" /> Encode12() -> value <address value="NEW_Address" /> Encode12() -> value <phone value="NEW_Phone" /> Encode12() -> value <email value="NEW_Email" /> Encode12() -> value <note value="NEW_Note" /> Encode12() -> value <userdata[0...9] value="NEW_Userdata[0...9]" /> Encode12() -> value <cash [ add | set ]="Cash" msg="MESSAGE" /> add - add money on account; set - set money on account; Message - message for log <credit value="NEW_Credit" /> <CreditExpire value="NEW_CreditExpire" /> <freemb value="NEW_FreeMB" /> <aonline value="AlwaysOnline" /> 1 - turn ON AlwaysOnline; 0 - turn OFF AlwaysOnline <down value="Down" /> 1 - turn ON Down; 0 - turn OFF Down <passive value="Passive" /> 1 - turn ON Passive; 0 - turn OFF Passive <traff MU[0...9]="NEW_MU[0...9]" MD[0...9]="NEW_MD[0...9]" /> MU[0...9] - Set upload traffic value; MU[0...9] - Set download traffic value; </SetUser> <Message login="LOGIN" msgver="1" msgtype="1" repeat="0" repeatperiod="0" showtime="0" text="MESSAGE" /> _______________________________________ Але проблема лишається не хоче приймати ні адміновські імя користувача ні юзерські?
-
./sgconf_xml /libexec/ld-elf.so.1: Shared object "libsrvconf.so" not found, required by "sgconf_xml" Знайшов цей файл, а де вын маэ бути? Бо вын знаходиться в інсталі стг?
-
Уже нове кіно! Питає імя користувача і пароль ввожу дані адміна не хоче приймати!
-
Уже вроді краще просто пише: __________________ Create actions table... error! (query is empty) Create admins table... error! (query is empty) Create messages table... error! (query is empty) Create stat table... error! (query is empty) Create tariffs table... error! (query is empty) Create users table... error! (query is empty) STG-Web Billing System В доступе отказано !!! STG-Web Billing System _____________________ Може хтось підскаже що це? Чи це нема доступу до бази чи до самого старгазера?
-
хотя я вказав у конфігу шлях до бінарника sgconf_xml
-
Дякую це пішло, а дальше? Всеодно заходжу на веб і: ____________________________ Create actions table... error! (query is empty) Create admins table... error! (query is empty) Create messages table... error! (query is empty) Create stat table... error! (query is empty) Create tariffs table... error! (query is empty) Create users table... error! (query is empty) WARNING! Not found sgconf_xml! Please correct parameter srv_KK_path in DB
-
Неа. поставив і всьо. Ага зробив символьну ссилку там де ти казав і все?
-
Ставлю sgconf и.... g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c netunit.cpp g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c parser.cpp In file included from servconf.h:32, from parser.cpp:39: /usr/include/expat.h:18:28: expat_external.h: No such file or directory In file included from servconf.h:32, from parser.cpp:39: /usr/include/expat.h:140: error: expected `;' before '*' token /usr/include/expat.h:150: error: expected `)' before '*' token /usr/include/expat.h:155: error: expected constructor, destructor, or type conversion before "XML_SetElementDeclHandler" /usr/include/expat.h:166: error: expected `)' before '*' token /usr/include/expat.h:175: error: expected constructor, destructor, or type conversion before "XML_SetAttlistDeclHandler" /usr/include/expat.h:186: error: expected `)' before '*' token /usr/include/expat.h:192: error: expected constructor, destructor, or type conversion before "XML_SetXmlDeclHandler" /usr/include/expat.h:206: error: expected constructor, destructor, or type conversion before "XML_ParserCreate" /usr/include/expat.h:220: error: expected constructor, destructor, or type conversion before "XML_ParserCreateNS" /usr/include/expat.h:233: error: expected constructor, destructor, or type conversion before "XML_ParserCreate_MM" /usr/include/expat.h:247: error: expected constructor, destructor, or type conversion before "XML_ParserReset" /usr/include/expat.h:252: error: expected `)' before '*' token /usr/include/expat.h:256: error: expected `)' before '*' token /usr/include/expat.h:261: error: expected `)' before '*' token /usr/include/expat.h:266: error: expected `)' before '*' token /usr/include/expat.h:272: error: expected `)' before '*' token /usr/include/expat.h:275: error: expected `)' before '*' token /usr/include/expat.h:276: error: expected `)' before '*' token /usr/include/expat.h:291: error: expected `)' before '*' token /usr/include/expat.h:298: error: expected `)' before '*' token /usr/include/expat.h:309: error: expected `)' before '*' token /usr/include/expat.h:329: error: expected `)' before '*' token /usr/include/expat.h:341: error: expected constructor, destructor, or type conversion before "XML_SetEntityDeclHandler" /usr/include/expat.h:353: error: expected `)' before '*' token /usr/include/expat.h:365: error: expected `)' before '*' token /usr/include/expat.h:378: error: expected `)' before '*' token /usr/include/expat.h:383: error: expected `)' before '*' token /usr/include/expat.h:396: error: expected `)' before '*' token /usr/include/expat.h:432: error: expected `)' before '*' token /usr/include/expat.h:449: error: expected `)' before '*' token /usr/include/expat.h:509: error: expected `)' before '*' token /usr/include/expat.h:510: error: expected `)' before '*' token /usr/include/expat.h:528: error: expected `)' before '*' token /usr/include/expat.h:534: error: expected constructor, destructor, or type conversion before "XML_SetElementHandler" /usr/include/expat.h:539: error: expected constructor, destructor, or type conversion before "XML_SetStartElementHandler" /usr/include/expat.h:543: error: expected constructor, destructor, or type conversion before "XML_SetEndElementHandler" /usr/include/expat.h:547: error: expected constructor, destructor, or type conversion before "XML_SetCharacterDataHandler" /usr/include/expat.h:551: error: expected constructor, destructor, or type conversion before "XML_SetProcessingInstructionHandler" /usr/include/expat.h:554: error: expected constructor, destructor, or type conversion before "XML_SetCommentHandler" /usr/include/expat.h:558: error: expected constructor, destructor, or type conversion before "XML_SetCdataSectionHandler" /usr/include/expat.h:563: error: expected constructor, destructor, or type conversion before "XML_SetStartCdataSectionHandler" /usr/include/expat.h:567: error: expected constructor, destructor, or type conversion before "XML_SetEndCdataSectionHandler" /usr/include/expat.h:575: error: expected constructor, destructor, or type conversion before "XML_SetDefaultHandler" /usr/include/expat.h:583: error: expected constructor, destructor, or type conversion before "XML_SetDefaultHandlerExpand" /usr/include/expat.h:587: error: expected constructor, destructor, or type conversion before "XML_SetDoctypeDeclHandler" /usr/include/expat.h:592: error: expected constructor, destructor, or type conversion before "XML_SetStartDoctypeDeclHandler" /usr/include/expat.h:596: error: expected constructor, destructor, or type conversion before "XML_SetEndDoctypeDeclHandler" /usr/include/expat.h:600: error: expected constructor, destructor, or type conversion before "XML_SetUnparsedEntityDeclHandler" /usr/include/expat.h:604: error: expected constructor, destructor, or type conversion before "XML_SetNotationDeclHandler" /usr/include/expat.h:608: error: expected constructor, destructor, or type conversion before "XML_SetNamespaceDeclHandler" /usr/include/expat.h:613: error: expected constructor, destructor, or type conversion before "XML_SetStartNamespaceDeclHandler" /usr/include/expat.h:617: error: expected constructor, destructor, or type conversion before "XML_SetEndNamespaceDeclHandler" /usr/include/expat.h:621: error: expected constructor, destructor, or type conversion before "XML_SetNotStandaloneHandler" /usr/include/expat.h:625: error: expected constructor, destructor, or type conversion before "XML_SetExternalEntityRefHandler" /usr/include/expat.h:633: error: expected constructor, destructor, or type conversion before "XML_SetExternalEntityRefHandlerArg" /usr/include/expat.h:637: error: expected constructor, destructor, or type conversion before "XML_SetSkippedEntityHandler" /usr/include/expat.h:641: error: expected constructor, destructor, or type conversion before "XML_SetUnknownEncodingHandler" /usr/include/expat.h:650: error: expected constructor, destructor, or type conversion before "XML_DefaultCurrent" /usr/include/expat.h:667: error: expected constructor, destructor, or type conversion before "XML_SetReturnNSTriplet" /usr/include/expat.h:671: error: expected constructor, destructor, or type conversion before "XML_SetUserData" /usr/include/expat.h:683: error: expected constructor, destructor, or type conversion before "XML_SetEncoding" /usr/include/expat.h:690: error: expected constructor, destructor, or type conversion before "XML_UseParserAsHandlerArg" /usr/include/expat.h:711: error: expected constructor, destructor, or type conversion before "XML_UseForeignDTD" /usr/include/expat.h:723: error: expected constructor, destructor, or type conversion before "XML_SetBase" /usr/include/expat.h:725: error: expected `,' or `...' before '*' token /usr/include/expat.h:726: error: expected constructor, destructor, or type conversion before "XML_GetBase" /usr/include/expat.h:735: error: expected constructor, destructor, or type conversion before "XML_GetSpecifiedAttributeCount" /usr/include/expat.h:743: error: expected constructor, destructor, or type conversion before "XML_GetIdAttributeIndex" /usr/include/expat.h:755: error: expected constructor, destructor, or type conversion before "XML_Parse" /usr/include/expat.h:758: error: expected constructor, destructor, or type conversion before "XML_GetBuffer" /usr/include/expat.h:761: error: expected constructor, destructor, or type conversion before "XML_ParseBuffer" /usr/include/expat.h:795: error: expected constructor, destructor, or type conversion before "XML_StopParser" /usr/include/expat.h:810: error: expected constructor, destructor, or type conversion before "XML_ResumeParser" /usr/include/expat.h:830: error: expected constructor, destructor, or type conversion before "XML_GetParsingStatus" /usr/include/expat.h:849: error: expected constructor, destructor, or type conversion before "XML_ExternalEntityParserCreate" /usr/include/expat.h:883: error: expected constructor, destructor, or type conversion before "XML_SetParamEntityParsing" /usr/include/expat.h:890: error: expected constructor, destructor, or type conversion before "XML_GetErrorCode" /usr/include/expat.h:908: error: expected constructor, destructor, or type conversion before '(' token /usr/include/expat.h:909: error: expected constructor, destructor, or type conversion before '(' token /usr/include/expat.h:910: error: expected constructor, destructor, or type conversion before '(' token /usr/include/expat.h:916: error: expected constructor, destructor, or type conversion before "XML_GetCurrentByteCount" /usr/include/expat.h:929: error: expected constructor, destructor, or type conversion before "XML_GetInputContext" /usr/include/expat.h:940: error: expected constructor, destructor, or type conversion before "XML_FreeContentModel" /usr/include/expat.h:944: error: expected constructor, destructor, or type conversion before "XML_MemMalloc" /usr/include/expat.h:947: error: expected constructor, destructor, or type conversion before "XML_MemRealloc" /usr/include/expat.h:950: error: expected constructor, destructor, or type conversion before "XML_MemFree" /usr/include/expat.h:954: error: expected constructor, destructor, or type conversion before "XML_ParserFree" /usr/include/expat.h:957: error: expected `,' or `...' before '*' token /usr/include/expat.h:958: error: expected constructor, destructor, or type conversion before "XML_ErrorString" /usr/include/expat.h:961: error: expected `,' or `...' before '*' token /usr/include/expat.h:962: error: expected constructor, destructor, or type conversion before "XML_ExpatVersion" /usr/include/expat.h:974: error: expected constructor, destructor, or type conversion before "XML_ExpatVersionInfo" /usr/include/expat.h:993: error: expected `;' before '*' token /usr/include/expat.h:998: error: expected constructor, destructor, or type conversion before "XML_GetFeatureList" gmake[2]: *** [parser.o] Error 1 gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' gmake[1]: *** [srvconf.lib] Error 2 gmake[1]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs' gmake: *** [libs] Error 2 _______________________________________ ????????
-
Перевірив - не було уже є, але з появою експата появилося і інше кіно: ______________________________________ g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c netunit.cpp g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c parser.cpp In file included from servconf.h:32, from parser.cpp:39: /usr/include/expat.h:18:28: expat_external.h: No such file or directory In file included from servconf.h:32, from parser.cpp:39: /usr/include/expat.h:140: error: expected `;' before '*' token /usr/include/expat.h:150: error: expected `)' before '*' token /usr/include/expat.h:155: error: expected constructor, destructor, or type conversion before "XML_SetElementDeclHandler" /usr/include/expat.h:166: error: expected `)' before '*' token /usr/include/expat.h:175: error: expected constructor, destructor, or type conversion before "XML_SetAttlistDeclHandler" /usr/include/expat.h:186: error: expected `)' before '*' token /usr/include/expat.h:192: error: expected constructor, destructor, or type conversion before "XML_SetXmlDeclHandler" /usr/include/expat.h:206: error: expected constructor, destructor, or type conversion before "XML_ParserCreate" /usr/include/expat.h:220: error: expected constructor, destructor, or type conversion before "XML_ParserCreateNS" /usr/include/expat.h:233: error: expected constructor, destructor, or type conversion before "XML_ParserCreate_MM" /usr/include/expat.h:247: error: expected constructor, destructor, or type conversion before "XML_ParserReset" /usr/include/expat.h:252: error: expected `)' before '*' token /usr/include/expat.h:256: error: expected `)' before '*' token /usr/include/expat.h:261: error: expected `)' before '*' token /usr/include/expat.h:266: error: expected `)' before '*' token /usr/include/expat.h:272: error: expected `)' before '*' token /usr/include/expat.h:275: error: expected `)' before '*' token /usr/include/expat.h:276: error: expected `)' before '*' token /usr/include/expat.h:291: error: expected `)' before '*' token /usr/include/expat.h:298: error: expected `)' before '*' token /usr/include/expat.h:309: error: expected `)' before '*' token /usr/include/expat.h:329: error: expected `)' before '*' token /usr/include/expat.h:341: error: expected constructor, destructor, or type conversion before "XML_SetEntityDeclHandler" /usr/include/expat.h:353: error: expected `)' before '*' token /usr/include/expat.h:365: error: expected `)' before '*' token /usr/include/expat.h:378: error: expected `)' before '*' token /usr/include/expat.h:383: error: expected `)' before '*' token /usr/include/expat.h:396: error: expected `)' before '*' token /usr/include/expat.h:432: error: expected `)' before '*' token /usr/include/expat.h:449: error: expected `)' before '*' token /usr/include/expat.h:509: error: expected `)' before '*' token /usr/include/expat.h:510: error: expected `)' before '*' token /usr/include/expat.h:528: error: expected `)' before '*' token /usr/include/expat.h:534: error: expected constructor, destructor, or type conversion before "XML_SetElementHandler" /usr/include/expat.h:539: error: expected constructor, destructor, or type conversion before "XML_SetStartElementHandler" /usr/include/expat.h:543: error: expected constructor, destructor, or type conversion before "XML_SetEndElementHandler" /usr/include/expat.h:547: error: expected constructor, destructor, or type conversion before "XML_SetCharacterDataHandler" /usr/include/expat.h:551: error: expected constructor, destructor, or type conversion before "XML_SetProcessingInstructionHandler" /usr/include/expat.h:554: error: expected constructor, destructor, or type conversion before "XML_SetCommentHandler" /usr/include/expat.h:558: error: expected constructor, destructor, or type conversion before "XML_SetCdataSectionHandler" /usr/include/expat.h:563: error: expected constructor, destructor, or type conversion before "XML_SetStartCdataSectionHandler" /usr/include/expat.h:567: error: expected constructor, destructor, or type conversion before "XML_SetEndCdataSectionHandler" /usr/include/expat.h:575: error: expected constructor, destructor, or type conversion before "XML_SetDefaultHandler" /usr/include/expat.h:583: error: expected constructor, destructor, or type conversion before "XML_SetDefaultHandlerExpand" /usr/include/expat.h:587: error: expected constructor, destructor, or type conversion before "XML_SetDoctypeDeclHandler" /usr/include/expat.h:592: error: expected constructor, destructor, or type conversion before "XML_SetStartDoctypeDeclHandler" /usr/include/expat.h:596: error: expected constructor, destructor, or type conversion before "XML_SetEndDoctypeDeclHandler" /usr/include/expat.h:600: error: expected constructor, destructor, or type conversion before "XML_SetUnparsedEntityDeclHandler" /usr/include/expat.h:604: error: expected constructor, destructor, or type conversion before "XML_SetNotationDeclHandler" /usr/include/expat.h:608: error: expected constructor, destructor, or type conversion before "XML_SetNamespaceDeclHandler" /usr/include/expat.h:613: error: expected constructor, destructor, or type conversion before "XML_SetStartNamespaceDeclHandler" /usr/include/expat.h:617: error: expected constructor, destructor, or type conversion before "XML_SetEndNamespaceDeclHandler" /usr/include/expat.h:621: error: expected constructor, destructor, or type conversion before "XML_SetNotStandaloneHandler" /usr/include/expat.h:625: error: expected constructor, destructor, or type conversion before "XML_SetExternalEntityRefHandler" /usr/include/expat.h:633: error: expected constructor, destructor, or type conversion before "XML_SetExternalEntityRefHandlerArg" /usr/include/expat.h:637: error: expected constructor, destructor, or type conversion before "XML_SetSkippedEntityHandler" /usr/include/expat.h:641: error: expected constructor, destructor, or type conversion before "XML_SetUnknownEncodingHandler" /usr/include/expat.h:650: error: expected constructor, destructor, or type conversion before "XML_DefaultCurrent" /usr/include/expat.h:667: error: expected constructor, destructor, or type conversion before "XML_SetReturnNSTriplet" /usr/include/expat.h:671: error: expected constructor, destructor, or type conversion before "XML_SetUserData" /usr/include/expat.h:683: error: expected constructor, destructor, or type conversion before "XML_SetEncoding" /usr/include/expat.h:690: error: expected constructor, destructor, or type conversion before "XML_UseParserAsHandlerArg" /usr/include/expat.h:711: error: expected constructor, destructor, or type conversion before "XML_UseForeignDTD" /usr/include/expat.h:723: error: expected constructor, destructor, or type conversion before "XML_SetBase" /usr/include/expat.h:725: error: expected `,' or `...' before '*' token /usr/include/expat.h:726: error: expected constructor, destructor, or type conversion before "XML_GetBase" /usr/include/expat.h:735: error: expected constructor, destructor, or type conversion before "XML_GetSpecifiedAttributeCount" /usr/include/expat.h:743: error: expected constructor, destructor, or type conversion before "XML_GetIdAttributeIndex" /usr/include/expat.h:755: error: expected constructor, destructor, or type conversion before "XML_Parse" /usr/include/expat.h:758: error: expected constructor, destructor, or type conversion before "XML_GetBuffer" /usr/include/expat.h:761: error: expected constructor, destructor, or type conversion before "XML_ParseBuffer" /usr/include/expat.h:795: error: expected constructor, destructor, or type conversion before "XML_StopParser" /usr/include/expat.h:810: error: expected constructor, destructor, or type conversion before "XML_ResumeParser" /usr/include/expat.h:830: error: expected constructor, destructor, or type conversion before "XML_GetParsingStatus" /usr/include/expat.h:849: error: expected constructor, destructor, or type conversion before "XML_ExternalEntityParserCreate" /usr/include/expat.h:883: error: expected constructor, destructor, or type conversion before "XML_SetParamEntityParsing" /usr/include/expat.h:890: error: expected constructor, destructor, or type conversion before "XML_GetErrorCode" /usr/include/expat.h:908: error: expected constructor, destructor, or type conversion before '(' token /usr/include/expat.h:909: error: expected constructor, destructor, or type conversion before '(' token /usr/include/expat.h:910: error: expected constructor, destructor, or type conversion before '(' token /usr/include/expat.h:916: error: expected constructor, destructor, or type conversion before "XML_GetCurrentByteCount" /usr/include/expat.h:929: error: expected constructor, destructor, or type conversion before "XML_GetInputContext" /usr/include/expat.h:940: error: expected constructor, destructor, or type conversion before "XML_FreeContentModel" /usr/include/expat.h:944: error: expected constructor, destructor, or type conversion before "XML_MemMalloc" /usr/include/expat.h:947: error: expected constructor, destructor, or type conversion before "XML_MemRealloc" /usr/include/expat.h:950: error: expected constructor, destructor, or type conversion before "XML_MemFree" /usr/include/expat.h:954: error: expected constructor, destructor, or type conversion before "XML_ParserFree" /usr/include/expat.h:957: error: expected `,' or `...' before '*' token /usr/include/expat.h:958: error: expected constructor, destructor, or type conversion before "XML_ErrorString" /usr/include/expat.h:961: error: expected `,' or `...' before '*' token /usr/include/expat.h:962: error: expected constructor, destructor, or type conversion before "XML_ExpatVersion" /usr/include/expat.h:974: error: expected constructor, destructor, or type conversion before "XML_ExpatVersionInfo" /usr/include/expat.h:993: error: expected `;' before '*' token /usr/include/expat.h:998: error: expected constructor, destructor, or type conversion before "XML_GetFeatureList" gmake[2]: *** [parser.o] Error 1 gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' gmake[1]: *** [srvconf.lib] Error 2 gmake[1]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs' gmake: *** [libs] Error 2 _______________________________________ ????????
-
Помогло! Дякую! Но не дуже! Тепер видає: ____________________________________________________________ # ./build ############################################################################# Building sgconf for FreeBSD 6 ############################################################################# Checking for -lexpat... yes Makefile:88: deps: No such file or directory gmake -C /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../stglibs includes gmake[1]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs' gmake includes -C conffiles.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/conffiles.lib' cp -p conffiles.h /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/conffiles.lib' gmake includes -C crypto.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/crypto.lib' cp -p ag_md5.h blowfish.h /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/crypto.lib' gmake includes -C common.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/common.lib' cp -p debug.h stg_error.h common.h /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/common.lib' gmake includes -C srvconf.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' cp -p servconf.h netunit.h /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' gmake[1]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs' gmake -C /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../stglibs gmake[1]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs' gmake -C conffiles.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/conffiles.lib' gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/conffiles.lib' gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/conffiles.lib' g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c conffiles.cpp g++ -shared -Wl,-rpath,//usr/lib/stg -Wl,-soname,libconffiles.so conffiles.o -o libconffiles.so -L /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib ar rc libconffiles.a conffiles.o ranlib libconffiles.a cp *.so /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib cp *.a /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/conffiles.lib' gmake -C crypto.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/crypto.lib' gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/crypto.lib' gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/crypto.lib' g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c ag_md5.c g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c blowfish.cpp g++ -shared -Wl,-rpath,//usr/lib/stg -Wl,-soname,libstg_crypto.so ag_md5.o blowfish.o -o libstg_crypto.so -L /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib ar rc libstg_crypto.a ag_md5.o blowfish.o ranlib libstg_crypto.a cp *.so /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib cp *.a /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/crypto.lib' gmake -C common.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/common.lib' gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/common.lib' gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/common.lib' g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c debug.c g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c stg_error.c g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c common.cpp g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c stg_strptime.cpp g++ -shared -Wl,-rpath,//usr/lib/stg -Wl,-soname,libstg_common.so debug.o stg_error.o common.o stg_strptime.o -lstg_crypto -o libstg_common.so -L /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib ar rc libstg_common.a debug.o stg_error.o common.o stg_strptime.o ranlib libstg_common.a cp *.so /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib cp *.a /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../lib gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/common.lib' gmake -C srvconf.lib gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' ../Makefile.in:85: deps: No such file or directory gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' gmake[2]: Entering directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c netunit.cpp g++ -O2 -Wall -fPIC -I /usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/projects/sgconf_xml/../../include -I ./ -DFREE_BSD5 -c parser.cpp In file included from parser.cpp:39: servconf.h:32:19: expat.h: No such file or directory In file included from parser.cpp:39: servconf.h:283: error: `XML_Parser' does not name a type gmake[2]: *** [parser.o] Error 1 gmake[2]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs/srvconf.lib' gmake[1]: *** [srvconf.lib] Error 2 gmake[1]: Leaving directory `/usr/home/admin/tmp/stg-2.405.9.8_STG-WEB/stglibs' gmake: *** [libs] Error 2 ___________________________________
-
При сборці sgconf_xml: ______________________________________ # ./build ############################################################################# Building sgconf for FreeBSD 6 ############################################################################# Checking for -lexpat... yes deps:1: *** missing separator. Stop. uzh-net# ___________________________________________________________ В чому може бути проблема?
-
Я маю на увазі все пропатчити, добавити всі необхідні модулі в установку старгазера і зробити з цього всього архів. Щоб я його міг переписати до себе на комп і встановити з нуля старгазер. Чи мож ливо таке. Можливо у когось є робоча установка?
-
Вия вляється у мен проблеми поглудже! у мене не собирається стг з модулем mysql! у мене не получається ні пропатчити ні скомпілити sgconf_xml ЛАЖА одним словом!! А чи можливо зробити всі дії на одному компі а по тім перенести на інший і запустити тільки ./build чи я багато хочу! Блін дуже треба!
-
Таке питання: Стояв старгазер без всяких там mysql, рішив я поставити веб морду. Зробив все вроді по ніструкції. Чи мала появитися якась база у mysql чи я маю сам її створити. Якщо так то яку?
-
Та вроді електрика між домами відстань десь 80м
-
Я розумію, що питання дуже несерйозне, але всежтаки: - Може хтось підскаже де почитати про натяжку кабеля між 9-ти поверховиими домами. якщо між ними єідуть електричні лінії. дякую
-
Доброго дня! Може у когось є договір з провайдером, де ви виступаєте як субпровайдером (сорі за не грамотність). Прийшов сьогодні заключити з ними договір, що буду від їхнього імені роздавати інет, а вони мені дали звичайний абонентський договір. Хотя вони в курсі і не заперечують проти такої моєї діяльності. Може хоть щось подібне в когось є? Буду дуже вдячний!!!!
-
А може у когось є гігабітні DGS-1008D???
-
Питання до тих у кого HTTP+FTP А як у вас з авторськими правами на фільми, музику, софт і т.д.??? Якщо на сайті написати, що всі матеріали виставлені тільки для ознайомлення. прокатить?
