TTsWeb / xbt

Automatically exported from code.google.com/p/xbt
0 stars 0 forks source link

cannot install - centos #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
../misc/bt_misc.cpp: In function ‘std::string escape_string(const 
std::string&)’:
../misc/bt_misc.cpp:20: error: expected initializer before ‘:’ token
../misc/bt_misc.cpp:377: error: expected primary-expression at end of input
../misc/bt_misc.cpp:377: error: expected ‘;’ at end of input
../misc/bt_misc.cpp:377: error: expected primary-expression at end of input
../misc/bt_misc.cpp:377: error: expected ‘)’ at end of input
../misc/bt_misc.cpp:377: error: expected statement at end of input
../misc/bt_misc.cpp:377: error: expected ‘}’ at end of input
server.cpp: In function ‘void read_db_torrents_sql()’:
server.cpp:189: error: expected initializer before ‘:’ token
server.cpp:194: error: could not convert ‘m_torrents.boost::unordered_map<K, 
T, H, P, A>::erase [with K = std::array<char, 20ul>, T = t_torrent, H = 
boost::hash<std::array<char, 20ul> >, P = std::equal_to<std::array<char, 20ul> 
>, A = std::allocator<std::pair<const std::array<char, 20ul>, t_torrent> 
>](boost::unordered_detail::hash_const_iterator<std::allocator<std::pair<const 
std::array<char, 20ul>, t_torrent> >, 
boost::unordered_detail::ungrouped>(((const 
boost::unordered_detail::hash_iterator<std::allocator<std::pair<const 
std::array<char, 20ul>, t_torrent> >, 
boost::unordered_detail::ungrouped>&)((const 
boost::unordered_detail::hash_iterator<std::allocator<std::pair<const 
std::array<char, 20ul>, t_torrent> >, boost::unordered_detail::ungrouped>*)(& 
i)))))’ to ‘bool’
server.cpp:195: error: expected primary-expression before ‘}’ token
server.cpp:195: error: expected ‘)’ before ‘}’ token
server.cpp:195: error: expected primary-expression before ‘}’ token
server.cpp:195: error: expected ‘;’ before ‘}’ token
server.cpp: In function ‘void read_db_users()’:
server.cpp:269: error: expected initializer before ‘:’ token
server.cpp:271: error: could not convert 
‘m_users_torrent_passes.boost::unordered_map<K, T, H, P, A>::clear [with K = 
std::array<char, 32ul>, T = t_user*, H = boost::hash<std::array<char, 32ul> >, 
P = std::equal_to<std::array<char, 32ul> >, A = std::allocator<std::pair<const 
std::array<char, 32ul>, t_user*> >]()’ to ‘bool’
server.cpp:272: error: expected primary-expression before ‘while’
server.cpp:272: error: expected ‘)’ before ‘while’
server.cpp: In function ‘void write_db_torrents()’:
server.cpp:322: error: expected initializer before ‘:’ token
server.cpp:1004: error: expected primary-expression at end of input
server.cpp:1004: error: expected ‘;’ at end of input
server.cpp:1004: error: expected primary-expression at end of input
server.cpp:1004: error: expected ‘)’ at end of input
server.cpp:1004: error: expected statement at end of input
server.cpp:1004: error: expected ‘}’ at end of input
server.cpp:1004: error: expected ‘}’ at end of input
server.cpp:1004: error: expected ‘catch’ at end of input
server.cpp:1004: error: expected ‘(’ at end of input
server.cpp:1004: error: expected type-specifier at end of input
server.cpp:1004: error: expected ‘)’ at end of input
server.cpp:1004: error: expected ‘{’ at end of input
server.cpp:1004: error: expected ‘}’ at end of input

Original issue reported on code.google.com by peter.hu...@gmail.com on 9 Jan 2014 at 9:15

GoogleCodeExporter commented 9 years ago
Is this a bug report or a support request?

Original comment by olafvdspek on 9 Jan 2014 at 9:48

GoogleCodeExporter commented 9 years ago
I dont know. Mybe bug but definetly support :)

Original comment by peter.hu...@gmail.com on 9 Jan 2014 at 10:08

GoogleCodeExporter commented 9 years ago
Use the following commands to install some of the dependencies on CentOS, 
Fedora Core and Red Hat. The g++ version should be at least 4.6.

Original comment by olafvdspek on 9 Jan 2014 at 10:13

GoogleCodeExporter commented 9 years ago
I have centos 64 bit ... Package gcc-c++-4.4.7-4.el6.x86_64 already installed 
and latest version

Original comment by peter.hu...@gmail.com on 9 Jan 2014 at 10:20

GoogleCodeExporter commented 9 years ago
4.4 is not 4.6 is it?

Original comment by olafvdspek on 9 Jan 2014 at 10:23

GoogleCodeExporter commented 9 years ago
CentOS doesn't provide g++ 4.6

Original comment by erem...@gmail.com on 9 Jan 2014 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by olafvdspek on 12 Jan 2014 at 12:26