Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.

Barkeep's Ruby 1.9.3 is unable to compile on Ubuntu 14.04 #519

@fjerhammer

Description

@fjerhammer

I am trying to install Barkeep on a fully updated Ubuntu 14.04.4 LTS machine using the install_barkeep.sh script, but the compilation of Ruby 1.9.3-p194 fails:

make[2]: Entering directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194/ext/stringio'
compiling stringio.c
compiling socket.c
compiling ossl_pkcs5.c
compiling ossl.c
compiling _sdbm.c
compiling ossl_ssl.c
compiling ipsocket.c
compiling tcpsocket.c
ossl_ssl.c:116:27: error: 'SSLv3_method' undeclared here (not in a function)
     OSSL_SSL_METHOD_ENTRY(SSLv3),
                           ^
ossl_ssl.c:106:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
 #define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
                                                                     ^
ossl_ssl.c:117:27: error: 'SSLv3_server_method' undeclared here (not in a function)
     OSSL_SSL_METHOD_ENTRY(SSLv3_server),
                           ^
ossl_ssl.c:106:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
 #define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
                                                                     ^
ossl_ssl.c:118:27: error: 'SSLv3_client_method' undeclared here (not in a function)
     OSSL_SSL_METHOD_ENTRY(SSLv3_client),
                           ^
ossl_ssl.c:106:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
 #define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
                                                                     ^
make[2]: *** [ossl_ssl.o] Error 1
make[2]: Leaving directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194/ext/openssl'
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling tcpserver.c
installing default sdbm libraries
linking shared-object sdbm.so
installing default stringio libraries
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
make[2]: Leaving directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194/ext/sdbm'
compiling sockssocket.c
installing default ripper libraries
compiling udpsocket.c
compiling unixsocket.c
compiling unixserver.c
compiling option.c
compiling ancdata.c
linking shared-object stringio.so
compiling raddrinfo.c
make[2]: Leaving directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194/ext/stringio'
installing default socket libraries
compiling init.c
compiling constants.c
linking shared-object dl/callback.so
make[2]: Leaving directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194/ext/dl/callback'
linking shared-object socket.so
make[2]: Leaving directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194/ext/socket'
linking shared-object ripper.so
make[2]: Leaving directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194/ext/ripper'
make[1]: Leaving directory `/tmp/ruby-build.20160301121818.4579/ruby-1.9.3-p194'
make: *** [build-ext] Error 2

Seems to have something to do with OpenSSL lacking SSLv3 support.
Is there a newer Ruby release that can be used for running Barkeep on newer distributions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions