I download the thrift tar and get this error while running make:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I./src -Wall -g -O2 -MT
TSSLSocket.lo -MD -MP -MF .deps/TSSLSocket.Tpo -c
src/transport/TSSLSocket.cpp  -fPIC -DPIC -o .libs/TSSLSocket.o
src/transport/TSSLSocket.cpp:27:25: error: openssl/err.h: No such file or
directory
src/transport/TSSLSocket.cpp:28:26: error: openssl/rand.h: No such file or
directory
src/transport/TSSLSocket.cpp:29:25: error: openssl/ssl.h: No such file or
directory
src/transport/TSSLSocket.cpp:30:28: error: openssl/x509v3.h: No such file or
directory
In file included from src/transport/TSSLSocket.cpp:32:
src/transport/TSSLSocket.h:98: error: ISO C++ forbids declaration of 'SSL'
with no type
src/transport/TSSLSocket.h:98: error: expected ';' before '*' token
src/transport/TSSLSocket.h:239: error: ISO C++ forbids declaration of 'SSL'
with no type
src/transport/TSSLSocket.h:239: error: expected ';' before '*' token
src/transport/TSSLSocket.h:240: error: ISO C++ forbids declaration of
'SSL_CTX' with no type
src/transport/TSSLSocket.h:240: error: expected ';' before '*' token
src/transport/TSSLSocket.h:241: error: expected ';' before 'private'
src/transport/TSSLSocket.h:242: error: ISO C++ forbids declaration of
'SSL_CTX' with no type
src/transport/TSSLSocket.h:242: error: expected ';' before '*' token
src/transport/TSSLSocket.cpp: In constructor
'apache::thrift::transport::SSLContext::SSLContext()':
src/transport/TSSLSocket.cpp:53: error: 'ctx_' was not declared in this
scope
src/transport/TSSLSocket.cpp:53: error: 'TLSv1_method' was not declared in
this scope

Any idea what the issue might be? I tried building from source as well, but
got the same error.

Usman

Reply via email to