Skip to content

Instantly share code, notes, and snippets.

@theHamdiz
Created January 12, 2015 10:05
Show Gist options
  • Select an option

  • Save theHamdiz/e9b1f1dda834b8b33c66 to your computer and use it in GitHub Desktop.

Select an option

Save theHamdiz/e9b1f1dda834b8b33c66 to your computer and use it in GitHub Desktop.
Complete error
Ahmads-Mac-Pro:~ a7madx7$ cat /Users/a7madx7/.rvm/log/1421056561_ruby-2.2.0/install.log
[2015-01-12 11:58:33] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /Users/a7madx7/.rvm/src/ruby-2.2.0
PATH=/usr/local/opt/pkg-config/bin:/usr/local/Cellar/libtool/2.4.2/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/a7madx7/.rbenv/shims:/Users/a7madx7/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/a7madx7/.rvm/bin
command(2): __rvm_make install
++ make install
config.status: creating x86_64-darwin14-fake.rb
CC = gcc
LD = ld
LDSHARED = gcc -dynamiclib
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I/usr/local/Cellar/libyaml/0.1.6/include -I/usr/local/opt/readline/include -I/usr/local/Cellar/libksba/1.3.2/include -I/usr/local/opt/openssl/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin14 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/Cellar/libyaml/0.1.6/lib -L/usr/local/opt/readline/lib -L/usr/local/Cellar/libksba/1.3.2/lib -L/usr/local/opt/openssl/lib -install_name /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/libruby.2.2.0.dylib -current_version 2.2.0 -compatibility_version 2.2.0 -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation
SOLIBS = -lpthread -ldl -lobjc
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
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
Failed to configure -test-/win32/console. It will not be installed.
Failed to configure -test-/win32/dln. It will not be installed.
Failed to configure -test-/win32/dln/empty. It will not be installed.
Failed to configure -test-/win32/fd_setsize. It will not be installed.
Failed to configure gdbm. It will not be installed.
configuring socket
Failed to configure win32. It will not be installed.
Failed to configure win32ole. It will not be installed.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
installing default bigdecimal libraries
installing default date_core libraries
installing digest libraries
installing default digest libraries
installing default sha2 libraries
installing default fiddle libraries
make[2]: Nothing to be done for `all'.
installing default console libraries
installing default libraries
installing default nkf libraries
installing default openssl libraries
installing default pathname libraries
installing default psych libraries
installing default pty libraries
linking shared-object ripper.bundle
installing default ripper libraries
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
linking shared-object socket.bundle
installing default socket libraries
installing default syslog libraries
installing tcltklib libraries
installing default tcltklib libraries
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: `ruby' is up to date.
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -r./x86_64-darwin14-fake ./tool/rbinstall.rb --make="/Applications/Xcode.app/Contents/Developer/usr/bin/make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
installing binary commands: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/bin
installing base libraries: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib
installing arch files: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14
installing pkgconfig data: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/pkgconfig
installing command scripts: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/bin
installing library scripts: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0
installing common headers: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/include/ruby-2.2.0
installing manpages: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/share/man/man1
installing extension objects: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14
installing extension objects: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/x86_64-darwin14
installing extension objects: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/vendor_ruby/2.2.0/x86_64-darwin14
installing extension headers: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/include/ruby-2.2.0/x86_64-darwin14
installing extension scripts: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0
installing extension scripts: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0
installing extension scripts: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/vendor_ruby/2.2.0
installing extension headers: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/include/ruby-2.2.0/ruby
installing default gems: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, specifications)
bigdecimal 1.2.6
io-console 0.4.3
json 1.8.1
psych 2.0.8
rake 10.4.2
rdoc 4.2.0
installing bundle gems: /Users/a7madx7/.rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, specifications)
/Users/a7madx7/.rvm/src/ruby-2.2.0/lib/yaml.rb:4:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Users/a7madx7/.rvm/src/ruby-2.2.0/.ext/x86_64-darwin14/psych.bundle, 9): Library not loaded: /usr/local/opt/libyaml/lib/libyaml-0.2.dylib (LoadError)
Referenced from: /Users/a7madx7/.rvm/src/ruby-2.2.0/.ext/x86_64-darwin14/psych.bundle
Reason: image not found - /Users/a7madx7/.rvm/src/ruby-2.2.0/.ext/x86_64-darwin14/psych.bundle
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/.ext/common/psych.rb:1:in `<top (required)>'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/yaml.rb:5:in `<top (required)>'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems.rb:624:in `load_yaml'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/config_file.rb:328:in `load_file'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/config_file.rb:197:in `initialize'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems.rb:297:in `new'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems.rb:297:in `configuration'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/remote_fetcher.rb:51:in `fetcher'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:76:in `initialize'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:42:in `new'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:42:in `fetcher'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/resolver/installer_set.rb:37:in `initialize'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `new'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `resolve_dependencies'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:373:in `install'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems.rb:558:in `install'
from ./tool/rbinstall.rb:717:in `block (2 levels) in <main>'
from ./tool/rbinstall.rb:716:in `each'
from ./tool/rbinstall.rb:716:in `block in <main>'
from ./tool/rbinstall.rb:749:in `call'
from ./tool/rbinstall.rb:749:in `block in <main>'
from ./tool/rbinstall.rb:746:in `each'
from ./tool/rbinstall.rb:746:in `<main>'
make: *** [do-install-nodoc] Error 1
++ return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment