Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fjerhammer opened this issue Mar 1, 2016 · 0 comments
Open

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

fjerhammer opened this issue Mar 1, 2016 · 0 comments

Comments

@fjerhammer
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant