Skip to content

Instantly share code, notes, and snippets.

@josephlord
Created February 27, 2013 00:57
Show Gist options
  • Save josephlord/5043925 to your computer and use it in GitHub Desktop.
Save josephlord/5043925 to your computer and use it in GitHub Desktop.
RVM master install 2.0.0 on OS X
~ » rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/josephl/.rvm/archives
Extracting openssl to /Users/josephl/.rvm/src/openssl-1.0.1c
Configuring openssl in /Users/josephl/.rvm/src/openssl-1.0.1c..
Error running './Configure darwin64-x86_64-cc -I/Users/josephl/.rvm/usr/include -L/Users/josephl/.rvm/usr/lib zlib no-krb5 --prefix=/Users/josephl/.rvm/usr --disable-install-doc shared',
please read /Users/josephl/.rvm/log/openssl/configure.log
Compiling openssl in /Users/josephl/.rvm/src/openssl-1.0.1c............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Error running 'make -j1',
please read /Users/josephl/.rvm/log/openssl/make.log
Please note that it's required to reinstall all rubies:
rvm reinstall all --force
Updating openssl certificates...
[2013-02-27 00:49:54] ./Configure
current path: /Users/josephl/.rvm/src/openssl-1.0.1c
command(9): ./Configure darwin64-x86_64-cc -I/Users/josephl/.rvm/usr/include -L/Users/josephl/.rvm/usr/lib zlib no-krb5 --prefix=/Users/josephl/.rvm/usr --disable-install-doc shared
Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimental-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]
[2013-02-27 00:49:54] make
current path: /Users/josephl/.rvm/src/openssl-1.0.1c
command(2): make -j1
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo ' #define CFLAGS "cc -O"'; \
echo ' #define PLATFORM "dist"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
cc -I. -I.. -I../include -O -c -o cryptlib.o cryptlib.c
cc -I. -I.. -I../include -O -c -o mem.o mem.c
cc -I. -I.. -I../include -O -c -o mem_dbg.o mem_dbg.c
cc -I. -I.. -I../include -O -c -o cversion.o cversion.c
cc -I. -I.. -I../include -O -c -o ex_data.o ex_data.c
cc -I. -I.. -I../include -O -c -o cpt_err.o cpt_err.c
cc -I. -I.. -I../include -O -c -o ebcdic.o ebcdic.c
cc -I. -I.. -I../include -O -c -o uid.o uid.c
cc -I. -I.. -I../include -O -c -o o_time.o o_time.c
cc -I. -I.. -I../include -O -c -o o_str.o o_str.c
cc -I. -I.. -I../include -O -c -o o_dir.o o_dir.c
cc -I. -I.. -I../include -O -c -o o_fips.o o_fips.c
cc -I. -I.. -I../include -O -c -o o_init.o o_init.c
cc -I. -I.. -I../include -O -c -o fips_ers.o fips_ers.c
cc -I. -I.. -I../include -O -c -o mem_clr.o mem_clr.c
ar r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o o_fips.o o_init.o fips_ers.o mem_clr.o
ar: creating archive ../libcrypto.a
/usr/bin/ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(fips_ers.o) has no symbols
[ -z "" ] || ar r ../libcrypto.a fipscanister.o
/usr/bin/ranlib ../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/objects...
/usr/bin/perl obj_dat.pl obj_mac.h obj_dat.h
/usr/bin/perl objxref.pl obj_mac.num obj_xref.txt > obj_xref.h
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o o_names.o o_names.c
o_names.c:76:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((name_funcs_stack == NULL))
~~~~~~~~~~~~~~~~~^~~~~~~
o_names.c:76:24: note: remove extraneous parentheses around the comparison to silence this warning
if ((name_funcs_stack == NULL))
~ ^ ~
o_names.c:76:24: note: use '=' to turn this equality comparison into an assignment
if ((name_funcs_stack == NULL))
^~
=
1 warning generated.
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o obj_dat.o obj_dat.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o obj_lib.o obj_lib.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o obj_err.o obj_err.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o obj_xref.o obj_xref.c
ar r ../../libcrypto.a o_names.o obj_dat.o obj_lib.o obj_err.o obj_xref.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/md4...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o md4_dgst.o md4_dgst.c
In file included from md4_dgst.c:62:
In file included from ./md4_locl.h:87:
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md4_locl.h:80:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->A; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md4_locl.h:81:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->B; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md4_locl.h:82:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->C; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md4_locl.h:83:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->D; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
md4_dgst.c:109:16: warning: expression result unused [-Wunused-value]
HOST_c2l(data,l); X( 0)=l; HOST_c2l(data,l); X( 1)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:109:44: warning: expression result unused [-Wunused-value]
HOST_c2l(data,l); X( 0)=l; HOST_c2l(data,l); X( 1)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:111:40: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X( 0), 3,0); HOST_c2l(data,l); X( 2)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:112:40: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X( 1), 7,0); HOST_c2l(data,l); X( 3)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:113:40: warning: expression result unused [-Wunused-value]
R0(C,D,A,B,X( 2),11,0); HOST_c2l(data,l); X( 4)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:114:40: warning: expression result unused [-Wunused-value]
R0(B,C,D,A,X( 3),19,0); HOST_c2l(data,l); X( 5)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:115:40: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X( 4), 3,0); HOST_c2l(data,l); X( 6)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:116:40: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X( 5), 7,0); HOST_c2l(data,l); X( 7)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:117:40: warning: expression result unused [-Wunused-value]
R0(C,D,A,B,X( 6),11,0); HOST_c2l(data,l); X( 8)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:118:40: warning: expression result unused [-Wunused-value]
R0(B,C,D,A,X( 7),19,0); HOST_c2l(data,l); X( 9)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:119:40: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X( 8), 3,0); HOST_c2l(data,l); X(10)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:120:40: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X( 9), 7,0); HOST_c2l(data,l); X(11)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:121:40: warning: expression result unused [-Wunused-value]
R0(C,D,A,B,X(10),11,0); HOST_c2l(data,l); X(12)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:122:40: warning: expression result unused [-Wunused-value]
R0(B,C,D,A,X(11),19,0); HOST_c2l(data,l); X(13)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:123:40: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X(12), 3,0); HOST_c2l(data,l); X(14)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md4_dgst.c:124:40: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X(13), 7,0); HOST_c2l(data,l); X(15)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
20 warnings generated.
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o md4_one.o md4_one.c
ar r ../../libcrypto.a md4_dgst.o md4_one.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/md5...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o md5_dgst.o md5_dgst.c
In file included from md5_dgst.c:60:
In file included from ./md5_locl.h:96:
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md5_locl.h:89:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->A; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md5_locl.h:90:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->B; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md5_locl.h:91:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->C; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./md5_locl.h:92:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->D; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
md5_dgst.c:109:16: warning: expression result unused [-Wunused-value]
HOST_c2l(data,l); X( 0)=l; HOST_c2l(data,l); X( 1)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:109:44: warning: expression result unused [-Wunused-value]
HOST_c2l(data,l); X( 0)=l; HOST_c2l(data,l); X( 1)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:111:50: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X( 0), 7,0xd76aa478L); HOST_c2l(data,l); X( 2)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:112:50: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X( 1),12,0xe8c7b756L); HOST_c2l(data,l); X( 3)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:113:50: warning: expression result unused [-Wunused-value]
R0(C,D,A,B,X( 2),17,0x242070dbL); HOST_c2l(data,l); X( 4)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:114:50: warning: expression result unused [-Wunused-value]
R0(B,C,D,A,X( 3),22,0xc1bdceeeL); HOST_c2l(data,l); X( 5)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:115:50: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X( 4), 7,0xf57c0fafL); HOST_c2l(data,l); X( 6)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:116:50: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X( 5),12,0x4787c62aL); HOST_c2l(data,l); X( 7)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:117:50: warning: expression result unused [-Wunused-value]
R0(C,D,A,B,X( 6),17,0xa8304613L); HOST_c2l(data,l); X( 8)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:118:50: warning: expression result unused [-Wunused-value]
R0(B,C,D,A,X( 7),22,0xfd469501L); HOST_c2l(data,l); X( 9)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:119:50: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X( 8), 7,0x698098d8L); HOST_c2l(data,l); X(10)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:120:50: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X( 9),12,0x8b44f7afL); HOST_c2l(data,l); X(11)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:121:50: warning: expression result unused [-Wunused-value]
R0(C,D,A,B,X(10),17,0xffff5bb1L); HOST_c2l(data,l); X(12)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:122:50: warning: expression result unused [-Wunused-value]
R0(B,C,D,A,X(11),22,0x895cd7beL); HOST_c2l(data,l); X(13)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:123:50: warning: expression result unused [-Wunused-value]
R0(A,B,C,D,X(12), 7,0x6b901122L); HOST_c2l(data,l); X(14)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
md5_dgst.c:124:50: warning: expression result unused [-Wunused-value]
R0(D,A,B,C,X(13),12,0xfd987193L); HOST_c2l(data,l); X(15)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
20 warnings generated.
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o md5_one.o md5_one.c
ar r ../../libcrypto.a md5_dgst.o md5_one.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/sha...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o sha_dgst.o sha_dgst.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o sha1dgst.o sha1dgst.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o sha_one.o sha_one.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o sha1_one.o sha1_one.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o sha256.o sha256.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o sha512.o sha512.c
ar r ../../libcrypto.a sha_dgst.o sha1dgst.o sha_one.o sha1_one.o sha256.o sha512.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/mdc2...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o mdc2dgst.o mdc2dgst.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o mdc2_one.o mdc2_one.c
ar r ../../libcrypto.a mdc2dgst.o mdc2_one.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/hmac...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o hmac.o hmac.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o hm_ameth.o hm_ameth.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o hm_pmeth.o hm_pmeth.c
ar r ../../libcrypto.a hmac.o hm_ameth.o hm_pmeth.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/ripemd...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o rmd_dgst.o rmd_dgst.c
In file included from rmd_dgst.c:60:
In file included from ./rmd_locl.h:99:
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./rmd_locl.h:91:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->A; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./rmd_locl.h:92:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->B; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./rmd_locl.h:93:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->C; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./rmd_locl.h:94:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->D; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
../md32_common.h:379:2: warning: expression result unused [-Wunused-value]
HASH_MAKE_STRING(c,md);
^~~~~~~~~~~~~~~~~~~~~~
./rmd_locl.h:95:22: note: expanded from macro 'HASH_MAKE_STRING'
ll=(c)->E; HOST_l2c(ll,(s)); \
^~
../md32_common.h:257:62: note: expanded from macro 'HOST_l2c'
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
^
rmd_dgst.c:108:16: warning: expression result unused [-Wunused-value]
HOST_c2l(data,l); X( 0)=l; HOST_c2l(data,l); X( 1)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:108:43: warning: expression result unused [-Wunused-value]
HOST_c2l(data,l); X( 0)=l; HOST_c2l(data,l); X( 1)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:109:43: warning: expression result unused [-Wunused-value]
RIP1(A,B,C,D,E,WL00,SL00); HOST_c2l(data,l); X( 2)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:110:43: warning: expression result unused [-Wunused-value]
RIP1(E,A,B,C,D,WL01,SL01); HOST_c2l(data,l); X( 3)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:111:43: warning: expression result unused [-Wunused-value]
RIP1(D,E,A,B,C,WL02,SL02); HOST_c2l(data,l); X( 4)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:112:43: warning: expression result unused [-Wunused-value]
RIP1(C,D,E,A,B,WL03,SL03); HOST_c2l(data,l); X( 5)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:113:43: warning: expression result unused [-Wunused-value]
RIP1(B,C,D,E,A,WL04,SL04); HOST_c2l(data,l); X( 6)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:114:43: warning: expression result unused [-Wunused-value]
RIP1(A,B,C,D,E,WL05,SL05); HOST_c2l(data,l); X( 7)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:115:43: warning: expression result unused [-Wunused-value]
RIP1(E,A,B,C,D,WL06,SL06); HOST_c2l(data,l); X( 8)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:116:43: warning: expression result unused [-Wunused-value]
RIP1(D,E,A,B,C,WL07,SL07); HOST_c2l(data,l); X( 9)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:117:43: warning: expression result unused [-Wunused-value]
RIP1(C,D,E,A,B,WL08,SL08); HOST_c2l(data,l); X(10)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:118:43: warning: expression result unused [-Wunused-value]
RIP1(B,C,D,E,A,WL09,SL09); HOST_c2l(data,l); X(11)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:119:43: warning: expression result unused [-Wunused-value]
RIP1(A,B,C,D,E,WL10,SL10); HOST_c2l(data,l); X(12)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:120:43: warning: expression result unused [-Wunused-value]
RIP1(E,A,B,C,D,WL11,SL11); HOST_c2l(data,l); X(13)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:121:43: warning: expression result unused [-Wunused-value]
RIP1(D,E,A,B,C,WL12,SL12); HOST_c2l(data,l); X(14)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
rmd_dgst.c:122:43: warning: expression result unused [-Wunused-value]
RIP1(C,D,E,A,B,WL13,SL13); HOST_c2l(data,l); X(15)=l;
^
../md32_common.h:256:68: note: expanded from macro 'HOST_c2l'
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
21 warnings generated.
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o rmd_one.o rmd_one.c
ar r ../../libcrypto.a rmd_dgst.o rmd_one.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/whrlpool...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o wp_dgst.o wp_dgst.c
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o wp_block.o wp_block.c
ar r ../../libcrypto.a wp_dgst.o wp_block.o
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
/usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols
making all in crypto/des...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -O -c -o set_key.o set_key.c
set_key.c:399:17: error: unsupported inline asm: input with type 'unsigned long' matching output with type 'unsigned int'
*(k++)=ROTATE(t2,30)&0xffffffffL;
~~~~~~~^~~~~~
./des_locl.h:170:19: note: expanded from macro 'ROTATE'
: "I"(n),"0"(a) \
^
set_key.c:402:17: error: unsupported inline asm: input with type 'unsigned long' matching output with type 'unsigned int'
*(k++)=ROTATE(t2,26)&0xffffffffL;
~~~~~~~^~~~~~
./des_locl.h:170:19: note: expanded from macro 'ROTATE'
: "I"(n),"0"(a) \
^
2 errors generated.
make[2]: *** [set_key.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [build_crypto] Error 1
~ » rvm list
rvm rubies
=* ruby-1.9.3-p327 [ x86_64 ]
# => - current
# =* - current && default
# * - default
~ » rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing Ruby from source to: /Users/josephl/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)...
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection...
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /Users/josephl/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #extracted to /Users/josephl/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #configuring..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p0 - #compiling...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p0 - #installing ...................................................................................................................................
Retrieving rubygems-2.0.0
Extracting rubygems-2.0.0 ...
Removing old Rubygems files...
Installing rubygems-2.0.0 for ruby-2.0.0-p0.............................
Error running 'env GEM_PATH=/Users/josephl/.rvm/gems/ruby-2.0.0-p0:/Users/josephl/.rvm/gems/ruby-2.0.0-p0@global:/Users/josephl/.rvm/gems/ruby-2.0.0-p0:/Users/josephl/.rvm/gems/ruby-2.0.0-p0@global GEM_HOME=/Users/josephl/.rvm/gems/ruby-2.0.0-p0 /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -d /Users/josephl/.rvm/src/rubygems-2.0.0/setup.rb',
please read /Users/josephl/.rvm/log/ruby-2.0.0-p0/rubygems.install.log
Installation of rubygems did not complete successfully.
Saving wrappers to '/Users/josephl/.rvm/wrappers/ruby-2.0.0-p0'........
ruby-2.0.0-p0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-2.0.0-p0 - #importing default gemsets, this may take time ...
Install of ruby-2.0.0-p0 - #complete
__rvm_run_compiler:7: command not found: gcc:
~ » rvm -v
rvm 1.18.14 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
[2013-02-27 00:30:31] /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
Exception `LoadError' at /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1073 - cannot load such file -- rubygems/defaults/operating_system
Exception `LoadError' at /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1082 - cannot load such file -- rubygems/defaults/ruby
/Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- openssl (LoadError)
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/security.rb:8:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/package.rb:43:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/installer.rb:8:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/request_set.rb:5:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems.rb:195:in `finish_resolve'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/rdoc.rb:14:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/uninstaller.rb:10:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/commands/setup_command.rb:440:in `uninstall_old_gemcutter'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/commands/setup_command.rb:144:in `execute'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/command.rb:305:in `invoke_with_build_args'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/command_manager.rb:170:in `process_args'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/command_manager.rb:130:in `run'
from /Users/josephl/.rvm/src/rubygems-2.0.0/lib/rubygems/gem_runner.rb:60:in `run'
from setup.rb:45:in `<main>'
RubyGems 2.0.0 installed
@illepille
Copy link

Gg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment