[ 
https://issues.apache.org/jira/browse/THRIFT-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991576#comment-13991576
 ] 

Mike Winkelmann commented on THRIFT-2515:
-----------------------------------------

grep -r TLSv1_2_method /usr/include/ -> shows nothing

my version of openssl is OpenSSL 1.0.1g 7 Apr 2014

do you want the whole output from ./configure ?

here the last output rows:

thrift 1.0.0-dev

Building C++ Library ......... : yes
Building C (GLib) Library .... : no
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python Library ...... : yes
Building Ruby Library ........ : no
Building Haskell Library ..... : yes
Building Perl Library ........ : yes
Building PHP Library ......... : yes
Building Erlang Library ...... : no
Building Go Library .......... : no
Building D Library ........... : no
Building NodeJS Library ...... : no
Building Lua Library ......... : no

C++ Library:
   Build TZlibTransport ...... : yes
   Build TNonblockingServer .. : yes
   Build TQTcpServer (Qt) .... : no

Java Library:
   Using javac ............... : javac
   Using java ................ : java
   Using ant ................. : 
/Users/mike/Development/libs/apache-ant-1.9.3/bin/ant

Python Library:
   Using Python .............. : /usr/bin/python

PHP Library:
   Using php-config .......... : /usr/bin/php-config

Haskell Library:
   Using Haskell ............. : /usr/bin/runhaskell
   Using Cabal ............... : /usr/bin/cabal

Perl Library:
   Using Perl ................ : /usr/bin/perl

If something is missing that you think should be present,
please skim the output of configure to find the missing
component.  Details are present in config.log.

> TLS Method error during make
> ----------------------------
>
>                 Key: THRIFT-2515
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2515
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>            Reporter: Mike Winkelmann
>
> Hi,
> currently I have checked out the git repository in revision 
> 37042270ef670aad7b11c94e31bafc9d84092d76. I have checked out the repository 
> because in some forum thread I have read, that my error was resolved in the 
> git repo.
> My Problem is, that I get following errors due the make process:
> src/thrift/transport/TSSLSocket.cpp:73: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:77: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 done following:
> ./configure CXXFLAGS='-g -O2'
> ./configure CFLAGS='-g -O2'
> ./configure CPPFLAGS='-DDEBUG_MY_FEATURE'
> make
> Thereafter I have got these two errors.
> Can someone help me and make a statement weather the bug is fixed ?
> Thanks and regards



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to