Am I missing something? - wt install help needed
Added by Elliot Laffey over 13 years ago
Hey guys... any help here would be appreciated. I'm on Ubuntu 11.1, trying to compile wt 3.1.11.
The below error is using boost 1.45. Before I tried 1.48 and 1.47. Later I read posts that said wt could not compile with those boost libraries (I got libboost_random errors). I'm not sure but--- why doesn't anywhere in the install or readme inside the wt download state what versions of boost it is compatible with?
In case it helps, I'm installing it to run with Apache. My gcc version is 4.6.1.
...
Linking CXX executable test
[ 80%] Built target test
Scanning dependencies of target wtfcgi
[ 80%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/FCGIRecord.o
[ 80%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/FCGIStream.o
[ 81%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/Server.o
[ 81%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/SessionInfo.o
Linking CXX shared library libwtfcgi.so
[ 81%] Built target wtfcgi
Scanning dependencies of target wthttp
[ 81%] Building CXX object src/http/CMakeFiles/wthttp.dir/Android.o
In file included from /usr/include/boost-1_45/boost/asio/ssl/context_service.hpp:25:0,
from /usr/include/boost-1_45/boost/asio/ssl/context.hpp:21,
from /usr/include/boost-1_45/boost/asio/ssl.hpp:19,
from /usr/local/src/wt-3.1.11/src/http/Server.h:22,
from /usr/local/src/wt-3.1.11/src/http/Android.C:1:
/usr/include/boost-1_45/boost/asio/ssl/detail/openssl_context_service.hpp: In member function 'void boost::asio::ssl::detail::openssl_context_service::create(SSL_CTX*&, boost::asio::ssl::context_base::method)':
/usr/include/boost-1_45/boost/asio/ssl/detail/openssl_context_service.hpp:70:28: error: '::SSLv2_method' has not been declared
/usr/include/boost-1_45/boost/asio/ssl/detail/openssl_context_service.hpp:73:28: error: '::SSLv2_client_method' has not been declared
/usr/include/boost-1_45/boost/asio/ssl/detail/openssl_context_service.hpp:76:28: error: '::SSLv2_server_method' has not been declared
make[2]: * [src/http/CMakeFiles/wthttp.dir/Android.o] Error 1
make[1]: * [src/http/CMakeFiles/wthttp.dir/all] Error 2
make: * [all] Error 2
Replies (1)
RE: Am I missing something? - wt install help needed - Added by Wim Dumon over 13 years ago
Apparently something is incompatible between boost.asio and your openssl setup?
Can you try with adding -DENABLE_SSL=OFF to your cmake command line?
Wim.