Skip to content

Instantly share code, notes, and snippets.

@freiden
Created February 10, 2013 03:37
Show Gist options
  • Save freiden/4748262 to your computer and use it in GitHub Desktop.
Save freiden/4748262 to your computer and use it in GitHub Desktop.
RVM logs when trying to install ruby
current path: /Users/cfreiden/.rvm/src/ruby-2.0.0-rc2
command(1): make
CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/cfreiden/.rvm/usr/include -I/Users/cfreiden/.rvm/usr/include -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/Users/cfreiden/.rvm/usr/lib -L/Users/cfreiden/.rvm/usr/lib -fstack-protector -Wl,-u,_objc_msgSend -pie
SOLIBS =
linking miniruby
rbconfig.rb updated
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
generating encdb.h
encdb.h unchanged
making enc
make[1]: Nothing to be done for `enc'.
making srcs under enc
make[1]: Nothing to be done for `srcs'.
generating transdb.h
transdb.h unchanged
making trans
make[1]: Nothing to be done for `./enc/trans'.
making encs
generating makefile exts.mk
configuring -test-/array/resize
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/bug-5832
configuring -test-/debug
configuring -test-/exception
configuring -test-/fatal
configuring -test-/funcall
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/marshal/compat
configuring -test-/marshal/usr
configuring -test-/method
configuring -test-/num2int
configuring -test-/old_thread_select
configuring -test-/path_to_class
configuring -test-/printf
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/symbol
configuring -test-/typeddata
configuring -test-/wait_for_single_fd
configuring -test-/win32/dln
Failed to configure -test-/win32/dln. It will not be installed.
configuring -test-/win32/fd_setsize
Failed to configure -test-/win32/fd_setsize. It will not be installed.
configuring bigdecimal
configuring continuation
configuring coverage
configuring curses
header: ncurses.h
library: ncurses
configuring date
configuring dbm
header: ndbm.h
library: libc
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring dl
configuring dl/callback
configuring dl/win32
Failed to configure dl/win32. It will not be installed.
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring fiddle/win32
Failed to configure fiddle/win32. It will not be installed.
configuring gdbm
Failed to configure gdbm. It will not be installed.
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring tk
........
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh....................................
Valid [tclConfig.sh, tkConfig.sh] are found in [["/System/Library/Frameworks/Tcl.framework", "/System/Library/Frameworks/Tk.framework"], ["/usr/lib", "/usr/lib"], ["/System/Library/Frameworks/Tcl.framework/Versions/Current", "/System/Library/Frameworks/Tk.framework/Versions/Current"], ["/System/Library/Frameworks/Tcl.framework/Versions/8.5", "/System/Library/Frameworks/Tk.framework/Versions/8.5"], ["/System/Library/Frameworks/Tcl.framework/Versions/8.4", "/System/Library/Frameworks/Tk.framework/Versions/8.4"]]
Use [tclConfig.sh, tkConfig.sh] == ["/System/Library/Frameworks/Tcl.framework/tclConfig.sh", "/System/Library/Frameworks/Tk.framework/tkConfig.sh"]
Use MacOS X Frameworks.
Find Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk.
configuring tk/tkutil
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
linking shared-object -test-/array/resize.bundle
installing default resize libraries
linking shared-object -test-/bug-3571/bug.bundle
installing default bug libraries
linking shared-object -test-/bug-3662/bug.bundle
installing default bug libraries
linking shared-object -test-/bug-5832/bug.bundle
installing default bug libraries
linking shared-object -test-/debug.bundle
installing default debug libraries
linking shared-object -test-/exception.bundle
installing default exception libraries
linking shared-object -test-/fatal/rb_fatal.bundle
installing default rb_fatal libraries
linking shared-object -test-/funcall/funcall.bundle
installing default funcall libraries
linking shared-object -test-/iter/break.bundle
installing default break libraries
linking shared-object -test-/load/dot.dot/dot.dot.bundle
installing default dot.dot libraries
linking shared-object -test-/marshal/compat.bundle
installing default compat libraries
linking shared-object -test-/marshal/usr.bundle
installing default usr libraries
linking shared-object -test-/method.bundle
installing default method libraries
linking shared-object -test-/num2int/num2int.bundle
installing default num2int libraries
linking shared-object -test-/old_thread_select/old_thread_select.bundle
installing default old_thread_select libraries
linking shared-object -test-/path_to_class/path_to_class.bundle
installing default path_to_class libraries
linking shared-object -test-/printf.bundle
installing default printf libraries
linking shared-object -test-/st/numhash.bundle
installing default numhash libraries
linking shared-object -test-/st/update.bundle
installing default update libraries
linking shared-object -test-/string/string.bundle
installing default string libraries
linking shared-object -test-/symbol/symbol.bundle
installing default symbol libraries
linking shared-object -test-/typeddata/typeddata.bundle
installing default typeddata libraries
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.bundle
installing default wait_for_single_fd libraries
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
linking shared-object bigdecimal.bundle
installing default bigdecimal libraries
linking shared-object continuation.bundle
installing default continuation libraries
linking shared-object coverage.bundle
installing default coverage libraries
linking shared-object curses.bundle
installing default curses libraries
linking shared-object date_core.bundle
installing default date_core libraries
linking shared-object dbm.bundle
installing default dbm libraries
linking shared-object digest.bundle
installing digest libraries
installing default digest libraries
linking shared-object digest/bubblebabble.bundle
installing default bubblebabble libraries
linking shared-object digest/md5.bundle
installing default md5 libraries
linking shared-object digest/rmd160.bundle
installing default rmd160 libraries
linking shared-object digest/sha1.bundle
installing default sha1 libraries
linking shared-object digest/sha2.bundle
installing default sha2 libraries
linking shared-object dl.bundle
installing dl libraries
installing default dl libraries
linking shared-object dl/callback.bundle
installing default callback libraries
make[2]: Nothing to be done for `all'.
linking shared-object etc.bundle
installing default etc libraries
linking shared-object fcntl.bundle
installing default fcntl libraries
linking shared-object fiber.bundle
installing default fiber libraries
linking shared-object fiddle.bundle
installing default fiddle libraries
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
linking shared-object io/console.bundle
installing default console libraries
linking shared-object io/nonblock.bundle
installing default nonblock libraries
linking shared-object io/wait.bundle
installing default wait libraries
installing default libraries
linking shared-object json/ext/generator.bundle
installing default generator libraries
linking shared-object json/ext/parser.bundle
installing default parser libraries
linking shared-object mathn/complex.bundle
installing default complex libraries
linking shared-object mathn/rational.bundle
installing default rational libraries
linking shared-object nkf.bundle
installing default nkf libraries
linking shared-object objspace.bundle
installing default objspace libraries
compiling openssl_missing.c
In file included from openssl_missing.c:22:
openssl_missing.h:71: error: conflicting types for ‘HMAC_CTX_copy’
/Users/cfreiden/.rvm/usr/include/openssl/hmac.h:102: error: previous declaration of ‘HMAC_CTX_copy’ was here
openssl_missing.h:95: error: conflicting types for ‘EVP_CIPHER_CTX_copy’
/Users/cfreiden/.rvm/usr/include/openssl/evp.h:503: error: previous declaration of ‘EVP_CIPHER_CTX_copy’ was here
openssl_missing.c:27: error: conflicting types for ‘HMAC_CTX_copy’
/Users/cfreiden/.rvm/usr/include/openssl/hmac.h:102: error: previous declaration of ‘HMAC_CTX_copy’ was here
openssl_missing.c:122: error: conflicting types for ‘EVP_CIPHER_CTX_copy’
/Users/cfreiden/.rvm/usr/include/openssl/evp.h:503: error: previous declaration of ‘EVP_CIPHER_CTX_copy’ was here
make[2]: *** [openssl_missing.o] Error 1
make[1]: *** [ext/openssl/all] Error 2
make: *** [build-ext] Error 2
@timcharper
Copy link

I got the same error. Here's how I got around it: https://gist.github.com/timcharper/5778185

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