I am trying to build Thrift 0.9.2 on Macintosh OS Mavericks (v. 10.9.5).
I've followed the directions for OS X Setup (
https://thrift.apache.org/docs/install/os_x) but after running configure as
given for Thrift, calling make ends with errors.
$ make
...
74 warnings and 2 errors generated.
make[3]: *** [src/thrift/transport/TSSLSocket.lo] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1
Looking back through the messages, the two errors seem to be:
src/thrift/transport/TSSLSocket.cpp:154:24: error: use of undeclared
identifier
'TLSv1_1_method'; did you mean 'TLSv1_method'?
ctx_ = SSL_CTX_new(TLSv1_1_method());
^~~~~~~~~~~~~~
TLSv1_method
...
src/thrift/transport/TSSLSocket.cpp:158:24: error: use of undeclared
identifier
'TLSv1_2_method'; did you mean 'TLSv1_method'?
ctx_ = SSL_CTX_new(TLSv1_2_method());
^~~~~~~~~~~~~~
TLSv1_method
I have installed openssl 1.0.2 via MacPorts. Is there something else I
require? How can I get Thrift to build?
--
"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, *Doctor Faustus* (v. 121-24)