FYI Compile problem - SSL support

Adam Glass <[email protected]> Sat, 03 Jul 2004 16:47:56 -0400
Newsgroups gmane.network.everybuddy.user
Message-ID <[email protected]>
Hi there,

Ran into a compile eb-lite-alpha-13 on a SuSE 9.1 system.
Solved it but thought others may want to know.  The problem
started with a warning in ./configure in the core directory.
It said libgnutls couldn't be found so SSL would be disabled.
That was okay for now so I ran make, and it died looking for
the SSL stuff.   ./configure and make output from that run is
at the end of this message.

The solution was to install gnutls-1.0.8-26 from the SuSE 9.1
DVD.  That package required two others also on the DVD,
lzo-1.08-104.i586.rpm and libopencdk-0.5.3-34.i586.rpm .  I
also installed gnutls-devel-1.0.8-26 but am not sure if it
was needed.

After that I was able to compile and run.  Here's the relevant
output.  Apologies for the wrapped lines...


checking for libgnutls-config... no
checking for libgnutls - version >= 1.0.0... no
*** The libgnutls-config script installed by LIBGNUTLS could not be found
*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBGNUTLS_CONFIG environment variable to the
*** full path to libgnutls-config.
configure: WARNING: Disabling SSL support



g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -g -O2 -c 
msn_ssl_openssl.C -MT msn_ssl_openssl.lo -MD -MP -MF 
.deps/msn_ssl_openssl.TPlo  -fPIC -DPIC -o .libs/msn_ssl_openssl.lo
msn_ssl_openssl.C:9:28: gnutls/openssl.h: No such file or directory
msn_ssl_openssl.C:15: error: syntax error before `*' token
msn_ssl_openssl.C: In function `void get_passport(msnconn*, char*, char*,
    char*)':
msn_ssl_openssl.C:26: error: `SSL' undeclared (first use this function)
msn_ssl_openssl.C:26: error: (Each undeclared identifier is reported 
only once
    for each function it appears in.)
msn_ssl_openssl.C:26: error: `ssl' undeclared (first use this function)
msn_ssl_openssl.C:36: error: `ctx' undeclared (first use this function)
msn_ssl_openssl.C:38: error: `SSL_load_error_strings' undeclared (first use
    this function)
msn_ssl_openssl.C:39: error: `SSL_library_init' undeclared (first use this
    function)
msn_ssl_openssl.C:40: error: `SSLv23_client_method' undeclared (first 
use this
    function)
msn_ssl_openssl.C:40: error: `SSL_CTX_new' undeclared (first use this 
function)
msn_ssl_openssl.C:42: error: `SSL_new' undeclared (first use this function)
msn_ssl_openssl.C:44: error: `SSL_set_fd' undeclared (first use this 
function)
msn_ssl_openssl.C:45: error: `SSL_connect' undeclared (first use this 
function)
msn_ssl_openssl.C:46: error: `SSL_write' undeclared (first use this 
function)
msn_ssl_openssl.C:59: error: `SSL_read' undeclared (first use this function)
msn_ssl_openssl.C:95: error: `SSL_free' undeclared (first use this function)
make[3]: *** [msn_ssl_openssl.lo] Error 1
make[3]: Leaving directory `/packages/eb-lite-alpha-13/core/plugins/msn'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/packages/eb-lite-alpha-13/core/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/packages/eb-lite-alpha-13/core'
make: *** [all] Error 2



                                                       --Adam
-- 
Adam Glass                           US Digital TV
[email protected]                       http://www.usdtv.com
---------------------------------------------------------
FLUX : Florida Linux User Xchange -- http://www.flux.org
--                                                                     -