My first try at openssl. I followed the instructions, and keep failing
here.
running bc
Failed! bc: /bin/sh: bc: command not found
make[2]: *** [test_bn] Error 255
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/test'
make[1]: *** [tests] Error 2
make[1]: Leaving directory `/usr/local/src/openssl-0.9.5a'
Removing the compiler optimization flags from the CFLAGS line in
Makefile.ssl and run "make clean; make", made no difference.
I'm sure I did something stupid. Any cluons gratefully accepted.
Testlog attached.
Thanks,
Vinny
--
"Prohibition will work great injury to the cause of
temperance. ...for it goes beyond the bounds of reason
in that it attempts to control a man's appetite by
legislation and makes a crime out of things that are
not crimes. A prohibition law strikes a blow at the
very principles upon which our government was founded"
-- Abraham Lincoln
OpenSSL self-test report:
OpenSSL version: 0.9.5a
Last change: Make sure _lrotl and _lrotr are only used with MSVC....
OS (uname): Linux ivana 2.2.15 #1 Wed May 17 04:53:14 EDT 2000 i486 unknown
OS (config): i486-whatever-linux2
Target (default): linux-elf
Target: linux-elf
Compiler: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Failure!
-----------------------------------------------------------------------------
make[1]: Entering directory `/usr/local/src/openssl-0.9.5a'
making all in crypto...
make[2]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto'
making all in crypto/md2...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/md2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/md2'
making all in crypto/md5...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/md5'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/md5'
making all in crypto/sha...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/sha'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/sha'
making all in crypto/mdc2...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/mdc2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/mdc2'
making all in crypto/hmac...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/hmac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/hmac'
making all in crypto/ripemd...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/ripemd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/ripemd'
making all in crypto/des...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/des'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/des'
making all in crypto/rc2...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/rc2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/rc2'
making all in crypto/rc4...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/rc4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/rc4'
making all in crypto/rc5...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/rc5'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/rc5'
making all in crypto/idea...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/idea'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/idea'
making all in crypto/bf...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/bf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/bf'
making all in crypto/cast...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/cast'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/cast'
making all in crypto/bn...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/bn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/bn'
making all in crypto/rsa...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/rsa'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/rsa'
making all in crypto/dsa...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/dsa'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/dsa'
making all in crypto/dh...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/dh'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/dh'
making all in crypto/buffer...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/buffer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/buffer'
making all in crypto/bio...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/bio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/bio'
making all in crypto/stack...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/stack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/stack'
making all in crypto/lhash...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/lhash'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/lhash'
making all in crypto/rand...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/rand'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/rand'
making all in crypto/err...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/err'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/err'
making all in crypto/objects...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/objects'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/objects'
making all in crypto/evp...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/evp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/evp'
making all in crypto/asn1...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/asn1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/asn1'
making all in crypto/pem...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/pem'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/pem'
making all in crypto/x509...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/x509'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/x509'
making all in crypto/x509v3...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/x509v3'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/x509v3'
making all in crypto/conf...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/conf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/conf'
making all in crypto/txt_db...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/txt_db'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/txt_db'
making all in crypto/pkcs7...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/pkcs7'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/pkcs7'
making all in crypto/pkcs12...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/pkcs12'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/pkcs12'
making all in crypto/comp...
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/crypto/comp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto/comp'
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/crypto'
making all in ssl...
make[2]: Entering directory `/usr/local/src/openssl-0.9.5a/ssl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/ssl'
making all in rsaref...
make[2]: Entering directory `/usr/local/src/openssl-0.9.5a/rsaref'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/rsaref'
making all in apps...
make[2]: Entering directory `/usr/local/src/openssl-0.9.5a/apps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/apps'
making all in test...
make[2]: Entering directory `/usr/local/src/openssl-0.9.5a/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/test'
making all in tools...
make[2]: Entering directory `/usr/local/src/openssl-0.9.5a/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/tools'
make[1]: Leaving directory `/usr/local/src/openssl-0.9.5a'
-----------------------------------------------------------------------------
make[1]: Entering directory `/usr/local/src/openssl-0.9.5a'
testing...
make[2]: Entering directory `/usr/local/src/openssl-0.9.5a/test'
make[3]: Entering directory `/usr/local/src/openssl-0.9.5a/apps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/openssl-0.9.5a/apps'
./destest
Doing cbcm
Doing ecb
Doing ede ecb
Doing cbc
Doing desx cbc
Doing ede cbc
Doing pcbc
Doing cfb8 cfb16 cfb32 cfb48 cfb64 cfb64() ede_cfb64() done
Doing ofb
Doing ofb64
Doing ede_ofb64
Doing cbc_cksum
Doing quad_cksum
input word alignment test 0 1 2 3
output word alignment test 0 1 2 3
fast crypt test
./ideatest
ecb idea ok
cbc idea ok
cfb64 idea ok
./shatest
test 1 ok
test 2 ok
test 3 ok
./sha1test
test 1 ok
test 2 ok
test 3 ok
./md5test
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
./hmactest
test 0 ok
test 1 ok
test 2 ok
test 3 ok
./md2test
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
./mdc2test
pad1 - ok
pad2 - ok
./rmdtest
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
test 8 ok
./rc2test
ecb RC2 ok
./rc4test
test 0 ok
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test end processing ....................done
test multi-call ....................done
./rc5test
ecb RC5 ok
cbc RC5 ok
./bftest
testing blowfish in raw ecb mode
testing blowfish in ecb mode
testing blowfish set_key
testing blowfish in cbc mode
testing blowfish in cfb64 mode
testing blowfish in ofb64
./casttest
ecb cast5 ok
This test will take some time....123456789ABCDEF ok
./randtest
test 1 done
test 2 done
test 3 done
test 4 done
starting big number library test, could take a while...
test BN_add
test BN_sub
test BN_lshift1
test BN_lshift (fixed)
test BN_lshift
test BN_rshift1
test BN_rshift
test BN_sqr
test BN_mul
test BN_div
test BN_div_recp
test BN_mod
test BN_mod_mul
test BN_mont
test BN_mod_exp
test BN_exp
running bc
Failed! bc: /bin/sh: bc: command not found
make[2]: *** [test_bn] Error 255
make[2]: Leaving directory `/usr/local/src/openssl-0.9.5a/test'
make[1]: *** [tests] Error 2
make[1]: Leaving directory `/usr/local/src/openssl-0.9.5a'
-----------------------------------------------------------------------------