Problem compiling ruby-1.8.2-preview3

M

Markus Jais

hi

when trying to compile
ruby-1.8.2-preview3.tar.gz

I get this error:

gcc -fPIC -g -O2 -I. -I../.. -I../../. -I../.././ext/openssl
-DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H
-DHAVE_OPENSSL_CONF_API_H -DHAVE_BN_RAND_RANGE -DHAVE_VA_ARGS_MACRO
-DHAVE_OPENSSL_ENGINE_H -DHAVE_ENGINE_ADD -c ossl_pkey_dh.c
ossl_pkey_dh.c: In function `ossl_dh_is_private':
ossl_pkey_dh.c:181: structure has no member named `engine'
make[1]: *** [ossl_pkey_dh.o] Error 1
make[1]: Leaving directory
`/home/markus/software/devel/ruby/ruby-1.8.2/ext/openssl'
make: *** [all] Error 1



I have
openssl-0.9.6b-18

maybe this is to old.
I also have openssl 0.97 at
/usr/local/ssl
how can I specify this location if the old 0.96 version is the problem ?

I have gcc 2.96 (Red Hat).

any ideas ?

thanks

Markus
 
J

James Britt

Markus Jais wrote:
...
any ideas ?


Well, preview 4 was just released; worth trying?



from Matz, on ruby-core
---------------------------
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2-preview4.tar.gz
md5sum: 2f53d4dc4b24e37799143645772aabd0

The final 1.8.2 will be out on December 25th (JST), unless any
critical bugs will be found.
---------------------------





James
 
G

GOTOU Yuuzou

In message said:
maybe this is to old.
I also have openssl 0.97 at
/usr/local/ssl
how can I specify this location if the old 0.96 version is the problem ?

Try it.

./configure --with-openssl-dir=/usr/local/ssl
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top