You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2017/02/22 20:05:44 UTC

[jira] [Reopened] (THRIFT-3369) Implement SSL/TLS support on C with c_glib

     [ https://issues.apache.org/jira/browse/THRIFT-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer reopened THRIFT-3369:
--------------------------------

Without SSL dev headers installed, I get this:

{code}
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I../../lib/c_glib/src/thrift -Isrc -I src/thrift/c_glib -Wall -Wextra -pedantic -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT src/thrift/c_glib/transport/libthrift_c_glib_la-thrift_ssl_socket.lo -MD -MP -MF src/thrift/c_glib/transport/.deps/libthrift_c_glib_la-thrift_ssl_socket.Tpo -c src/thrift/c_glib/transport/thrift_ssl_socket.c  -fPIC -DPIC -o src/thrift/c_glib/transport/.libs/libthrift_c_glib_la-thrift_ssl_socket.o
src/thrift/c_glib/transport/thrift_ssl_socket.c:27:25: fatal error: openssl/ssl.h: File or directory not found
 #include <openssl/ssl.h>
                         ^
compilation terminated.
make[4]: *** [Makefile:1055: src/thrift/c_glib/transport/libthrift_c_glib_la-thrift_ssl_socket.lo] Error 1
make[4]: Leaving „/home/jens/Schreibtisch/Develop/Thrift/lib/c_glib“
make[3]: *** [Makefile:1261: all-recursive] Error 1
make[3]: Leaving „/home/jens/Schreibtisch/Develop/Thrift/lib/c_glib“
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving „/home/jens/Schreibtisch/Develop/Thrift/lib“
make[1]: *** [Makefile:652: all-recursive] Error 1
make[1]: Leaving „/home/jens/Schreibtisch/Develop/Thrift“
make: *** [Makefile:566: all] Error 2
{code}




> Implement SSL/TLS support on C with c_glib
> ------------------------------------------
>
>                 Key: THRIFT-3369
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3369
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C glib - Library
>    Affects Versions: 0.9.1, 0.9.2, 0.9.3, 1.0
>            Reporter: Gonzalo Aguilar
>            Assignee: James E. King, III
>              Labels: features, patch
>             Fix For: 0.11.0
>
>
> Implement SSL/TLS based on plain openssl instead of going through the way defined in THRIFT-1016. 
> This help us to maintain a reference implementation and later switch over GIO or whatever is defined. But also does not add any other dependencies to the project. So bare minimum installation for supporting SSL/TLS is there and aligned with CPP counterpart. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)