{"action":"created","issue":{"url":"https://api.github.com/repos/PurpleI2P/i2pd/issues/390","repository_url":"https://api.github.com/repos/PurpleI2P/i2pd","labels_url":"https://api.github.com/repos/PurpleI2P/i2pd/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/PurpleI2P/i2pd/issues/390/comments","events_url":"https://api.github.com/repos/PurpleI2P/i2pd/issues/390/events","html_url":"https://github.com/PurpleI2P/i2pd/issues/390","id":135865957,"number":390,"title":"Can't make i2pd under centos6 with devtoolset.","user":{"login":"jrthwk","id":17222396,"avatar_url":"https://avatars.githubusercontent.com/u/17222396?v=3","gravatar_id":"","url":"https://api.github.com/users/jrthwk","html_url":"https://github.com/jrthwk","followers_url":"https://api.github.com/users/jrthwk/followers","following_url":"https://api.github.com/users/jrthwk/following{/other_user}","gists_url":"https://api.github.com/users/jrthwk/gists{/gist_id}","starred_url":"https://api.github.com/users/jrthwk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrthwk/subscriptions","organizations_url":"https://api.github.com/users/jrthwk/orgs","repos_url":"https://api.github.com/users/jrthwk/repos","events_url":"https://api.github.com/users/jrthwk/events{/privacy}","received_events_url":"https://api.github.com/users/jrthwk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-23T21:10:41Z","updated_at":"2016-04-05T11:35:46Z","closed_at":null,"body":"Can't make i2pd under centos6 with devtoolset:\r\nI'd install devtoolset and export paths:\r\n\r\nexport CC=/opt/centos/devtoolset-1.1/root/usr/bin/gcc\r\nexport CPP=/opt/centos/devtoolset-1.1/root/usr/bin/cpp\r\nexport CXX=/opt/centos/devtoolset-1.1/root/usr/bin/c++\r\n\r\ncmake  -DCMAKE_BUILD_TYPE=Release  -DBoost_NO_BOOST_CMAKE=BOOL:ON\r\n\r\n\r\n\r\n-- Performing Test CXX11_SUPPORTED\r\n-- Performing Test CXX11_SUPPORTED - Success\r\n-- Performing Test CXX0X_SUPPORTED\r\n-- Performing Test CXX0X_SUPPORTED - Success\r\n-- Looking for include file pthread.h\r\n-- Looking for include file pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE\r\n-- Boost version: 1.41.0\r\n-- Found the following Boost libraries:\r\n--   system\r\n--   filesystem\r\n--   regex\r\n--   program_options\r\n--   date_time\r\n-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version \"1.0.1e\")\r\n-- Found ZLIB: /usr/lib64/libz.so (found version \"1.2.3\")\r\n-- ---------------------------------------\r\n-- Build type         : Release\r\n-- Compiler vendor    : GNU\r\n-- Compiler version   : 4.7.2\r\n-- Compiler path      : /opt/centos/devtoolset-1.1/root/usr/bin/c++\r\n-- Install prefix:    : /usr/local\r\n-- Options:\r\n--   AESNI            : OFF\r\n--   HARDENING        : OFF\r\n--   LIBRARY          : OFF\r\n--   BINARY           : ON\r\n--   STATIC BUILD     : OFF\r\n--   UPnP             : OFF\r\n--   PCH              : OFF\r\n-- ---------------------------------------\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/media/media/wget/4/i2pd-openssl/build\r\n\r\n\r\n\r\n\r\n[root@linux build]# make\r\nScanning dependencies of target libi2pd\r\n[  2%] Building CXX object CMakeFiles/libi2pd.dir/home/media/media/wget/4/i2pd-openssl/NetDb.cpp.o\r\n/home/media/media/wget/4/i2pd-openssl/NetDb.cpp: In member function 'void i2p::data::NetDb::Load()':\r\n/home/media/media/wget/4/i2pd-openssl/NetDb.cpp:316:46: error: invalid initialization of reference of type 'const string& {aka const std::basic_string<char>&}' from expression of type 'const boost::filesystem::basic_path<std::basic_string<char>, boost::filesystem::path_traits>'\r\nmake[2]: *** [CMakeFiles/libi2pd.dir/home/media/media/wget/4/i2pd-openssl/NetDb.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/libi2pd.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/PurpleI2P/i2pd/issues/comments/205765067","html_url":"https://github.com/PurpleI2P/i2pd/issues/390#issuecomment-205765067","issue_url":"https://api.github.com/repos/PurpleI2P/i2pd/issues/390","id":205765067,"user":{"login":"hagen-i2p","id":8813190,"avatar_url":"https://avatars.githubusercontent.com/u/8813190?v=3","gravatar_id":"","url":"https://api.github.com/users/hagen-i2p","html_url":"https://github.com/hagen-i2p","followers_url":"https://api.github.com/users/hagen-i2p/followers","following_url":"https://api.github.com/users/hagen-i2p/following{/other_user}","gists_url":"https://api.github.com/users/hagen-i2p/gists{/gist_id}","starred_url":"https://api.github.com/users/hagen-i2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagen-i2p/subscriptions","organizations_url":"https://api.github.com/users/hagen-i2p/orgs","repos_url":"https://api.github.com/users/hagen-i2p/repos","events_url":"https://api.github.com/users/hagen-i2p/events{/privacy}","received_events_url":"https://api.github.com/users/hagen-i2p/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T11:35:46Z","updated_at":"2016-04-05T11:35:46Z","body":"-- Boost version: 1.41.0\r\n\r\nUse at least 1.49.0"}}