Project

General

Profile

Actions

Bug #3210

closed

Problem compiling ruby 1.9.1-p376

Bug #3210: Problem compiling ruby 1.9.1-p376

Added by pierre (pierre b) over 15 years ago. Updated over 14 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
1.9.1-p376
Backport:
[ruby-core:29830]

Description

=begin
[...]
compiling openssl
make[1]: Entering directory /tmp/ruby-1.9.1-p376/ext/openssl' gcc -I. -I../../.ext/include/i686-linux -I../.././include -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -fPIC -s -O3 -march=i686 -O2 -g -Wall -Wno-parentheses -fPIC -I/usr/local/ssl/include -o ossl_x509ext.o -c ossl_x509ext.c In file included from ossl.h:193, from ossl_x509ext.c:11: openssl_missing.h:68: error: conflicting types for 'HMAC_CTX_copy' /usr/local/ssl/include/openssl/hmac.h:102: note: previous declaration of 'HMAC_CTX_copy' was here make[1]: *** [ossl_x509ext.o] Error 1 make[1]: Leaving directory /tmp/ruby-1.9.1-p376/ext/openssl'
make: *** [mkmain.sh] Error 1
=end

Updated by luislavena (Luis Lavena) over 15 years ago Actions #1

=begin
Hello,

Can you tell us what version of OpenSSL headers and libraries have you installed in your system?

It appears that openssl_missing is defining something that OpenSSL already does, which might indicate you have a newer OpenSSL for the specific Ruby 1.9.1 code you're trying to compile.

=end

Updated by mame (Yusuke Endoh) over 15 years ago Actions #2

  • Status changed from Open to Rejected

=begin
Hi, pierre

You have not answered yet, but I assume you are using openssl 1.0.0
or its beta.

Ruby 1.9.1-p376 is tested with openssl 0.9.8. Perhaps it is compilable
with openssl 0.9.x, but openssl 1.0.0 is not compatible to 0.9.x.

AFAIK, 1.9.2 is ready for both 0.9.x and 1.0.0. So please wait for
1.9.2 release.

--
Yusuke Endoh
=end

Actions

Also available in: PDF Atom