Debian Jessie 8.9 Kompilierungsfehler für Cryptocoin Wallets "Fehler:" :: SSLv3_server_method "wurde nicht deklariert"

583
Darin Peterson

OS : Debian 8.9

Geldbörse : Mooncoin-0.10.5-Tokenblock

Alle Abhängigkeiten installiert : libssl, libdb4.8, libboost, miniupnpc, qt4, protobuf, libqrencode

Installationsanweisungen : /mooncoin-0.10.5-tokenblock/doc/build-unix.md

./autogen.sh ./configure make 

./autogen.sh (letzte Zeilen gedruckt, nicht sicher, ob dies ein Problem ist)

Makefile.am:5: warning: user variable 'GZIP_ENV' defined here ... /usr/share/automake-1.14/am/distdir.am: ... overrides Automake variable 'GZIP_ENV' defined here Makefile.am:48: warning: user target 'distcleancheck' defined here ... /usr/share/automake-1.14/am/distdir.am: ... overrides Automake target 'distcleancheck' defined here src/Makefile.am:403: warning: user target '.mm.o' defined here  .../usr/share/automake-1.14/am/depend2.am: ... overrides Automake target '.mm.o' defined here 

./configure --enable-verhärten (letzte Zeile, kann ein Problem auftreten?)

Fixing libtool for -rpath problems. 

machen

In file included from /usr/include/boost/asio/ssl/context.hpp:786:0, from /usr/include/boost/asio/ssl.hpp:19, from rpcprotocol.h:16, from rpcserver.h:10, from bitcoind.cpp:7: /usr/include/boost/asio/ssl/impl/context.ipp: In constructor ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’: /usr/include/boost/asio/ssl/impl/context.ipp:91:29: error: ‘::SSLv3_method’ has not been declared handle_ = ::SSL_CTX_new(::SSLv3_method()); ^ /usr/include/boost/asio/ssl/impl/context.ipp:94:29: error: ‘::SSLv3_client_method’ has not been declared handle_ = ::SSL_CTX_new(::SSLv3_client_method()); ^ /usr/include/boost/asio/ssl/impl/context.ipp:97:29: error: ‘::SSLv3_server_method’ has not been declared handle_ = ::SSL_CTX_new(::SSLv3_server_method()); ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-self-assign" Makefile:5503: recipe for target 'Mooncoind-bitcoind.o' failed make[2]: *** [Mooncoind-bitcoind.o] Error 1 make[2]: Leaving directory '/home/darin/Downloads/mooncoin-0.10.5-tokenblock/src' Makefile:6269: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/darin/Downloads/mooncoin-0.10.5-tokenblock/src' Makefile:554: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 

Ich habe das gleiche Problem mit Geldbörsen von Earthcoin und Leafcoin. Nachdem ich viel Zeit damit verbracht habe zu googeln und zu versuchen, dieses Problem zu lösen, habe ich keine Ideen mehr.

0

1 Antwort auf die Frage

0
Darin Peterson

Das Problem bestand darin, dass die Unterstützung für SSLv3 in Debian 8 entfernt wurde und die in Debian 8 verfügbare Boost-Bibliothek (1.55.0.2) SSLv3 erfordert, wobei SSLv3 nicht ignoriert werden kann.

Ich habe die Datei unten geändert, indem ich diese Zeilen kommentierte, sodass nicht mehr nach SSLv3 gesucht wird:

/usr/include/boost/asio/ssl/impl/context.ipp 

Normalerweise würde ich die Quellbibliotheken nicht ändern, aber da SSLv3 in Jessie nicht vorhanden ist, war dies die Wahl, die ich getroffen habe.

Kommentarzeilen in libboost 1.55.0.2