Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
make test-all fails on digest/sha1
Warren Seltzer
1/28/2008 8:57:00 PM
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:in
`require'
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:in
`require'
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:in
`run'
from ./test/runner.rb:7
make: *** [test-all] Error 1
Any Ideas At All ??
--
Posted via
http://www.ruby-...
.
1 Answer
Warren Seltzer
1/28/2008 9:24:00 PM
0
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'
...
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
make test-all fails on digest/sha1
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password