Build error. SSL

Discussion in 'Ruby' started by Mike Blackwell, Apr 7, 2008.

  1. The following error occurs when trying to build ruby on two of my systems. They are both older RedHat systems. Ruby seems to build fine on the z/Linux system I have. Any hints?

    compiling openssl
    make[1]: Entering directory `/opt/ruby-1.8.6-p114/ext/openssl'
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_x509name.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_pkey_dsa.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_pkey_rsa.c
    ossl_pkey_rsa.c: In function `ossl_rsa_to_der':
    ossl_pkey_rsa.c:233: warning: assignment from incompatible pointer type
    ossl_pkey_rsa.c:235: warning: assignment from incompatible pointer type
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_x509store.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_x509revoked.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_engine.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_pkey_dh.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_config.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_pkcs7.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_bn.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c openssl_missing.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_pkcs12.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_cipher.c
    ossl_cipher.c: In function `ossl_cipher_pkcs5_keyivgen':
    ossl_cipher.c:232: warning: passing arg 2 of `EVP_BytesToKey' discards qualifiers from pointer target type
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_asn1.c
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_bio.c
    ossl_bio.c: In function `ossl_obj2bio':
    ossl_bio.c:23: called object is not a function
    make[1]: *** [ossl_bio.o] Error 1
    make[1]: Leaving directory `/opt/ruby-1.8.6-p114/ext/openssl'
    make: *** [all] Error 1


    ----- Original Message ----
    From: Roger Pack <>
    To: ruby-talk ML <>
    Sent: Monday, April 7, 2008 1:02:48 PM
    Subject: Re: ruby wish-list

    > See Facets Kernel#as.
    >
    > http://facets.rubyforge.org
    >
    > T.


    Wow facets looks really nice! It even has the multi-hash that was a
    wish a few posts ago, plus some other utilities that I've had to write
    from scratch before [but not anymore]. Rock on.
    -R
    --
    Posted via http://www.ruby-forum.com/.
     
    Mike Blackwell, Apr 7, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. 620
    Replies:
    2
    Views:
    1,272
    Murat Tunaboylu
    Jan 6, 2004
  2. CW
    Replies:
    2
    Views:
    755
  3. Sean Wolfe
    Replies:
    1
    Views:
    2,570
    Joerg Jooss
    Apr 28, 2005
  4. emukang
    Replies:
    0
    Views:
    3,298
    emukang
    Dec 20, 2005
  5. Matti Kiviharju

    Problem with SSL (Newbie with SSL)

    Matti Kiviharju, Jan 14, 2005, in forum: HTML
    Replies:
    0
    Views:
    494
    Matti Kiviharju
    Jan 14, 2005
  6. Krzysztof Pa¼
    Replies:
    1
    Views:
    881
    Krzysztof Pa¼
    Sep 26, 2003
  7. Robert
    Replies:
    2
    Views:
    2,260
    Robert
    Jun 10, 2004
  8. Luke Venediger

    Erratic SSL Error: Could not establish secure channel for SSL/TLS

    Luke Venediger, Oct 11, 2004, in forum: ASP .Net Web Services
    Replies:
    7
    Views:
    738
    Dan Rogers
    Nov 17, 2004
Loading...