[Rubyinstaller-devel] compiling OpenSSL

Gordon Thiesfeld gthiesfeld at gmail.com
Fri Apr 11 16:57:34 EDT 2008


On Thu, Apr 10, 2008 at 3:01 PM, Luis Lavena <luislavena at gmail.com> wrote:
>  Hello Gordon!
>
>  I wasn't aware there are OpenSSL failures in the MinGW build. AFAIK
>  the only blocker I still have is test_readline, which hangs and halt
>  the whole 'rake check' process.

I'm running bzr revision 52.  I get this on 'rake check'.

./ruby_1_8/test/openssl/test_hmac.rb:14: [BUG] Segmentation fault
ruby 1.8.6 (2008-03-03) [i386-mingw32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
make: *** [test-all] Error 3
rake aborted!
Command failed with status (2): ["C:/ruby/repo/installer3/sandbox/msys/bin/...]

(See full trace by running task with --trace)


>  Can you provide the output or the error message you're getting when it
>  tries to extract it?

"C:/ruby/repo/oci/sandbox/extract_utils/bsdtar.exe" xzf
"C:/ruby/repo/oci/downloads/openssl-0.9.8g.tar.gz"
openssl-0.9.8g/apps/md4.c: Can't create 'openssl-0.9.8g/apps/md4.c':
No such file or directory
openssl-0.9.8g/include/openssl/dtls1.h: Can't create
'openssl-0.9.8g/include/openssl/dtls1.h': No such file or directory
openssl-0.9.8g/include/openssl/kssl.h: Can't create
'openssl-0.9.8g/include/openssl/kssl.h': No such file or directory
openssl-0.9.8g/include/openssl/ssl.h: Can't create
'openssl-0.9.8g/include/openssl/ssl.h': No such file or directory
openssl-0.9.8g/include/openssl/ssl2.h: Can't create
'openssl-0.9.8g/include/openssl/ssl2.h': No such file or directory
openssl-0.9.8g/include/openssl/ssl23.h: Can't create
'openssl-0.9.8g/include/openssl/ssl23.h': No such file or directory
openssl-0.9.8g/include/openssl/ssl3.h: Can't create
'openssl-0.9.8g/include/openssl/ssl3.h': No such file or directory
openssl-0.9.8g/include/openssl/tls1.h: Can't create
'openssl-0.9.8g/include/openssl/tls1.h': No such file or directory
bsdtar.exe: Error exit delayed from previous errors.
rake aborted!
Command failed with status (1): ["C:/ruby/repo/oci/sandbox/extract_utils/bs...]

(See full trace by running task with --trace)

>  Also, this OpenSSL need ot be extracted in it's
>  own directory, instead of using the OpenSSL package target location,
>  instead of MinGW one.

Right, I had set it up with a similar folder structure to Ruby's
(openssl, openssl_build, openssl_mingw).

>  Please do, I'll suggest you revert your changes, use latest.zip and
>  let rake do it's stuff, then use the sandbox/mingw and sandbox/msys as
>  base MinGW and start playing with manual build of OpenSSL.

I did bzr revert, and I'm going to give this a try.

>  I'll hang out at #ruby-lang the weekend, trying to get other gems
>  working on Windows and MinGW.

I'll try to stop by.  I could use some help ;)

Gordon Thiesfeld


More information about the Rubyinstaller-devel mailing list