[Help] Проблема при обновлении xbt

Тема в разделе "Торрент Трекеры", создана пользователем killoff, 28 дек 2011.

  1. killoff

    killoff CD тихо, и не DVD меня ;)

    Moderator
    Регистр.:
    13 май 2008
    Сообщения:
    2.015
    Симпатии:
    679
    VPS - Debian lenny
    При обновлении xbt во время ./make.sh постоянно вылетают ошибки:
    Код:
    ../misc/bvalue.cpp: In member function 'shared_data Cbvalue::read() const':
    ../misc/bvalue.cpp:308: error: 'BOOST_VERIFY' was not declared in this scope
    In file included from ../misc/virtual_binary.cpp:1:
    ../misc/xbt/virtual_binary.h:3:33: error: boost/make_shared.hpp: No such file or directory
    ../misc/virtual_binary.cpp: In member function 'void Cvirtual_binary::assign(data_ref)':
    ../misc/virtual_binary.cpp:11: error: 'make_shared' is not a member of 'boost'
    ../misc/virtual_binary.cpp:11: error: expected primary-expression before '>' token
    In file included from connection.cpp:2:
    connection.h:23: error: ISO C++ forbids declaration of 'array' with no type
    connection.h:23: error: invalid use of '::'
    connection.h:23: error: expected ';' before '<' token
    In file included from connection.cpp:6:
    server.h:78: error: ISO C++ forbids declaration of 'array' with no type
    ...тут много всего...
    server.h: In member function 'const Cserver::t_torrent* Cserver::torrent(const std::string&) const':
    server.h:155: error: 'm_torrents' was not declared in this scope
    Boost обновил до 1.4.8.0. Как можно скомпилировать без этих ошибок? И в чем ошибка?
    PS если ставить из
    svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/misc misc
    svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/Tracker/ Tracker
    то все проходит, а если из
    svn co http://xbt.googlecode.com/svn/trunk/xbt/misc misc
    svn co http://xbt.googlecode.com/svn/trunk/xbt/Tracker Tracker
    то тогда и вылетают ошибки...
     
  2. killoff

    killoff CD тихо, и не DVD меня ;)

    Moderator
    Регистр.:
    13 май 2008
    Сообщения:
    2.015
    Симпатии:
    679
    И вот еще забыл добавить:
    Код:
    root@root:~# apt-get install cmake g++ libboost-date-time-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev libboost-serialization-dev libmysqlclient15-dev make subversion zlib1g-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    cmake is already the newest version.
    g++ is already the newest version.
    libboost-date-time-dev is already the newest version.
    libboost-dev is already the newest version.
    libboost-filesystem-dev is already the newest version.
    libboost-program-options-dev is already the newest version.
    libboost-regex-dev is already the newest version.
    libboost-serialization-dev is already the newest version.
    libmysqlclient15-dev is already the newest version.
    make is already the newest version.
    subversion is already the newest version.
    zlib1g-dev is already the newest version.
    The following packages were automatically installed and are no longer required:
    proftpd-mod-mysql proftpd-basic libcap1 libclamav5 proftpd-mod-pgsql
    proftpd-mod-ldap
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.
     
  3. killoff

    killoff CD тихо, и не DVD меня ;)

    Moderator
    Регистр.:
    13 май 2008
    Сообщения:
    2.015
    Симпатии:
    679
    Все разобрался, обновился с debian lenny до debian squeeze, и все стало нормально :)