Добавлено: 22 дек 2009, 15:11
а клиентская часть под вынь существует? чтобы можно было с винды управлять хабом, установленным на линуховой тачке?
P.S.: держать иксы на сервере-грешно!
P.S.: держать иксы на сервере-грешно!
Воистину грешно!FAT_32 писал(а):держать иксы на сервере-грешно
Запрашиваемый файл 20skriptov._Ptokax.rar не найденсурогат писал(а):у кого эта прога, проверте пожалуйста, хоть один из 20-ти скриптов будет на ней работать. все скрипты дополнял и настраивал сам.
отпишите результат. спасибо.
... x.rar.html
Код: Выделить всё
<путь к ptokax>/start_ptokaxКод: Выделить всё
/home/username/PtokaX/start_ptokaxЗвучит примерно как "я дурак".sanche писал(а):работаю из под рута
Код: Выделить всё
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1469: error: `lua_pushnil' was not decla red in this scope
...
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1503: error: `lua_pushnil' was not decla red in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1502: warning: unused variable 'lua_sett op'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1503: warning: unused variable 'lua_push nil'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1508: error: `lua_tolstring' was not dec lared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1525: error: `lua_toboolean' was not dec lared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1531: error: `lua_settop' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1532: error: `lua_pushboolean' was not d eclared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1531: warning: unused variable 'lua_sett op'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1532: warning: unused variable 'lua_push boolean'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1536: error: `lua_settop' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1537: error: `lua_pushnil' was not decla red in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1525: warning: unused variable 'lua_tobo olean'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1536: warning: unused variable 'lua_sett op'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1537: warning: unused variable 'lua_push nil'
/home/neolo/PtokaX/src/LuaBanManLib.cpp: In function `int RangeTempBan(lua_State *)':
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1543: error: `lua_gettop' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1544: error: `luaL_error' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1545: error: `lua_settop' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1546: error: `lua_pushnil' was not decla red in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1544: warning: unused variable 'luaL_err or'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1545: warning: unused variable 'lua_sett op'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1546: warning: unused variable 'lua_push nil'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1550: error: `lua_type' was not declared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1550: error: `LUA_TSTRING' was not decla red in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1550: error: `LUA_TNUMBER' was not decla red in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1551: error: `LUA_TBOOLEAN' was not decl ared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1552: error: `luaL_checktype' was not de clared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1558: error: `lua_settop' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1559: error: `lua_pushnil' was not decla red in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1558: warning: unused variable 'lua_sett op'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1559: warning: unused variable 'lua_push nil'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1564: error: `lua_tolstring' was not dec lared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1569: error: `lua_tonumber' was not decl ared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1583: error: `lua_toboolean' was not dec lared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1589: error: `lua_settop' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1590: error: `lua_pushboolean' was not d eclared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1589: warning: unused variable 'lua_sett op'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1590: warning: unused variable 'lua_push boolean'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1594: error: `lua_settop' was not declar ed in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1595: error: `lua_pushnil' was not decla red in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1569: warning: unused variable 'lua_tonu mber'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1583: warning: unused variable 'lua_tobo olean'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1594: warning: unused variable 'lua_sett op'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1595: warning: unused variable 'lua_push nil'
/home/neolo/PtokaX/src/LuaBanManLib.cpp: At global scope:
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1600: error: `luaL_reg' does not name a type
/home/neolo/PtokaX/src/LuaBanManLib.cpp: In function `void RegBanMan(lua_State*) ':
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1641: error: `void RegBanMan(lua_State*) ' redeclared as different kind of symbol
/home/neolo/PtokaX/src/LuaBanManLib.h:28: error: previous declaration of `int Re gBanMan'
/home/neolo/PtokaX/src/LuaBanManLib.h:28: error: previous non-function declarati on `int RegBanMan'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1641: error: conflicts with function dec laration `void RegBanMan(lua_State*)'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1642: error: `banman_funcs' was not decl ared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1642: error: `luaL_register' was not dec lared in this scope
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1642: warning: unused variable 'banman_f uncs'
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1642: warning: unused variable 'luaL_reg ister'
/home/neolo/PtokaX/src/LuaBanManLib.cpp: At global scope:
/home/neolo/PtokaX/src/LuaBanManLib.cpp:119: warning: 'int Save(lua_State*)' def ined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:132: warning: 'int GetBans(lua_State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:179: warning: 'int GetTempBans(lua_State *)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:215: warning: 'int GetPermBans(lua_State *)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:241: warning: 'int GetBan(lua_State*)' d efined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:317: warning: 'int GetPermBan(lua_State* )' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:387: warning: 'int GetTempBan(lua_State* )' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:465: warning: 'int GetRangeBans(lua_Stat e*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:501: warning: 'int GetTempRangeBans(lua_ State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:541: warning: 'int GetPermRangeBans(lua_ State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:571: warning: 'int GetRangeBan(lua_State *)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:630: warning: 'int GetRangePermBan(lua_S tate*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:679: warning: 'int GetRangeTempBan(lua_S tate*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:739: warning: 'int Unban(lua_State*)' de fined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:775: warning: 'int UnbanPerm(lua_State*) ' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:811: warning: 'int UnbanTemp(lua_State*) ' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:847: warning: 'int UnbanAll(lua_State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:878: warning: 'int UnbanPermAll(lua_Stat e*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:909: warning: 'int UnbanTempAll(lua_Stat e*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:940: warning: 'int RangeUnban(lua_State* )' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:975: warning: 'int RangeUnbanPerm(lua_St ate*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1010: warning: 'int RangeUnbanTemp(lua_S tate*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1045: warning: 'int ClearBans(lua_State* )' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1060: warning: 'int ClearPermBans(lua_St ate*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1074: warning: 'int ClearTempBans(lua_St ate*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1088: warning: 'int ClearRangeBans(lua_S tate*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1102: warning: 'int ClearRangePermBans(l ua_State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1116: warning: 'int ClearRangeTempBans(l ua_State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1130: warning: 'int Ban(lua_State*)' def ined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1185: warning: 'int BanIP(lua_State*)' d efined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1237: warning: 'int BanNick(lua_State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1303: warning: 'int TempBan(lua_State*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1362: warning: 'int TempBanIP(lua_State* )' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1418: warning: 'int TempBanNick(lua_Stat e*)' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1487: warning: 'int RangeBan(lua_State*) ' defined but not used
/home/neolo/PtokaX/src/LuaBanManLib.cpp:1542: warning: 'int RangeTempBan(lua_Sta te*)' defined but not used
gmake: *** [/home/neolo/PtokaX/obj/LuaBanManLib.o] Error 1Скорее они не очень дружат с *BSD.Neolo писал(а):разработчики не очень дружат с линуксом
Похоже заголовочные файлы от Lua не может найти. Они установлены?Neolo писал(а):/home/neolo/PtokaX/src/LuaBanManLib.cpperror: `lua_pushnil' was not decla red in this scope
Как и любая минорная версия она содержит только незначительные исправления, читайте changelog:TiGRpp писал(а):Чем принципиально отличается PtokaX 0.4.1.2?
-O2 -fomit-frame-pointer -march=i686 -pipeTiGRpp писал(а):при компиляции программы применяется ли оптимизация
"Оптимизация вручную" - что вы имеете в виду?TiGRpp писал(а):Происходит ли она вручную
Все есть "из коробки".TiGRpp писал(а):предписано установить зависимости пакета. Почему такого нет в Вашей сборке?
Функционально обе версии должны быть одинаковы.TiGRpp писал(а):используется эта библиотека, как в Window, так и в *nix, что между ними общего?
Код: Выделить всё
Alt+F2 konsole EnterКод: Выделить всё
cd /home/ilya/ЗагрузкиКод: Выделить всё
suКод: Выделить всё
wget http://www.czdc.org/PtokaX/0.4.1.2-nix-src.tgzКод: Выделить всё
tar xfvz 0.4.1.2-nix-src.tgzКод: Выделить всё
cd PtokaXКод: Выделить всё
zypper in make
zypper in gcc-c++
zypper in zlib-devel
zypper in lua-devel
zypper in libtinyxml-develКод: Выделить всё
kwrite makefileКод: Выделить всё
$(CXX) -lpthread -lz -llua5.1 -lrt -o PtokaX \Код: Выделить всё
$(CXX) -lpthread -lz -lrt -ldl -o PtokaX \Код: Выделить всё
$(CURDIR)/tinyxml/tinyxml.aКод: Выделить всё
$(CURDIR)/tinyxml/tinyxml.a /usr/lib64/liblua.aКод: Выделить всё
Ctrl+SКод: Выделить всё
zypper if libtinyxml-develКод: Выделить всё
Версия: 2.5.3-20.1Код: Выделить всё
wget http://downloads.sourceforge.net/project/tinyxml/tinyxml/2.5.3/tinyxml_2_5_3.tar.gzКод: Выделить всё
tar xvfz tinyxml_2_5_3.tar.gzКод: Выделить всё
cd tinyxmlКод: Выделить всё
makeКод: Выделить всё
ar: creating tinyxml.aКод: Выделить всё
cd ..Код: Выделить всё
makeКод: Выделить всё
/home/ilya/Загрузки/PtokaX/tinyxml/tinyxml.a /usr/lib64/liblua.aТак знать бы где искать и что делать, ибо чайник...mariner писал(а):А что мешает использовать убунтовые библиотеки, просто добавив в скрипт запуска переменную окружения.