Make test-all fails on digest/sha1

on Linux 2.6, 64-bit, these commands seem to work without error:

autoconf
./configure --prefix=$HOME
make

But I need help here. Webrick seems to be the first that needs
digest/sha1:

$ ruby-1.8.6-p111 make test-all
./miniruby ./runruby.rb --extout=.ext – “./test/runner.rb”
–basedir="./test" --runner=console
~/sources/ruby-1.8.6-p111/lib/webrick/httpauth/digestauth.rb:18:in
require': no such file to load -- digest/sha1 (LoadError) from ~/sources/ruby-1.8.6-p111/lib/webrick/httpauth/digestauth.rb:18 from ~/sources/ruby-1.8.6-p111/lib/webrick/httpauth.rb:12:inrequire’
from ~/sources/ruby-1.8.6-p111/lib/webrick/httpauth.rb:12
from ~/sources/ruby-1.8.6-p111/lib/webrick.rb:29:in require' from ~/sources/ruby-1.8.6-p111/lib/webrick.rb:29 from ~/sources/ruby-1.8.6-p111/lib/soap/rpc/httpserver.rb:12:inrequire’
from ~/sources/ruby-1.8.6-p111/lib/soap/rpc/httpserver.rb:12
from
~/sources/ruby-1.8.6-p111/lib/soap/rpc/standaloneServer.rb:9:in
require' ... 16 levels... from ~/sources/ruby-1.8.6-p111/lib/test/unit/autorunner.rb:213:in[]’
from
~/sources/ruby-1.8.6-p111/lib/test/unit/autorunner.rb:213:in run' from ~/sources/ruby-1.8.6-p111/lib/test/unit/autorunner.rb:12:inrun’
from ./test/runner.rb:7
make: *** [test-all] Error 1

Any Ideas At All ??

I installed it in my home directory anyway and ran irb. It can find
sha2 but not sha1.
I can’t see how I messed up so subtly that I got one but not the other.

$ irb
irb(main):001:0> require ‘digest/sha1’
LoadError: no such file to load – digest/sha1
from (irb):1:in `require’
from (irb):1
irb(main):002:0> require ‘digest/sha2’
=> true


The make seems just fine:


compiling digest/sha1
make[1]: Entering directory ~/sources/ruby-1.8.6-p111/ext/digest/sha1' gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_\ SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -g -O2 -c sha1init.c gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_\ SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -g -O2 -c sha1ossl.c ar cru sha1.a sha1init.o sha1ossl.o make[1]: Leaving directory~/sources/ruby-1.8.6-p111/ext/digest/sha1’