Skip to content

Instantly share code, notes, and snippets.

@PatrickTulskie
Last active December 26, 2015 07:09
Show Gist options
  • Save PatrickTulskie/7112611 to your computer and use it in GitHub Desktop.
Save PatrickTulskie/7112611 to your computer and use it in GitHub Desktop.
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Welcome to the Ruby Enterprise Edition installer
This installer will help you install Ruby Enterprise Edition 1.8.7-2012.02.
Don't worry, none of your system files will be touched if you don't want them
to, so there is no risk that things will screw up.
You can expect this from the installation process:
1. Ruby Enterprise Edition will be compiled and optimized for speed for this
system.
2. Ruby on Rails will be installed for Ruby Enterprise Edition.
3. You will learn how to tell Phusion Passenger to use Ruby Enterprise
Edition instead of regular Ruby.
Press Enter to continue, or Ctrl-C to abort.
Checking for required software...
* Non-broken C compiler... found at gcc-4.2
* Non-broken C++ compiler... found at /usr/bin/g++
* The 'make' tool... found at /usr/bin/make
* The 'patch' tool... found at /usr/bin/patch
* Zlib development headers... not found
* OpenSSL development headers... not found
* GNU Readline development headers... not found
Some required software is not installed.
But don't worry, this installer will tell you how to install them.
Press Enter to continue, or Ctrl-C to abort.
--------------------------------------------
Installation instructions for required software
* To install Zlib development headers:
Please download it from http://www.zlib.net/
* To install OpenSSL development headers:
Please download it from http://www.openssl.org/
* To install GNU Readline development headers:
Please download it from http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html

:~ ls $(brew --prefix apple-gcc42)/bin
c++-4.2 g++-4.2 gcov-4.2 i686-apple-darwin11-cpp-4.2.1 i686-apple-darwin11-gcc-4.2.1
cpp-4.2 gcc-4.2 gfortran-4.2 i686-apple-darwin11-g++-4.2.1 i686-apple-darwin11-gfortran-4.2.1
:~ CC=gcc-4.2 rvm --debug install ree --without-tcl --without-tk
ree - install
Installing Ruby Enterprise Edition from source to: /Users/jivemastert/.rvm/rubies/ree-1.8.7-2012.02
ree-1.8.7-2012.02 - #fetching (ruby-enterprise-1.8.7-2012.02)
Archive checksum matched, not downloading
Downloaded archive checksum matched.
Log prefix: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/
Log filesystem: local,
Log max name length: 250
Log file: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/extract.log
[2013-10-23 00:04:30] __rvm_package_extract
__rvm_package_extract () {
rvm_debug __rvm_package_extract:$#: "$@"
typeset __tempdir __path __file __return
__return=0
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )"
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?
if (( __return == 0 ))
then
for __path in "$__tempdir"/*
do
__file="${__path##*/}"
if [[ -n "${__file}" && -e "$2/${__file}" ]]
then
\rm -rf "$2/${__file}" || __return=$?
fi
\mv -f "${__path}" "$2/" || __return=$?
done
fi
if [[ -n "$__tempdir" ]]
then
\rm -rf "$__tempdir"
fi
return $__return
}
current path: /Users/jivemastert/.rvm/src
command(3): __rvm_package_extract /Users/jivemastert/.rvm/archives/ruby-enterprise-1.8.7-2012.02.tar.gz /Users/jivemastert/.rvm/src/
ree-1.8.7-2012.02 - #extracting ruby-enterprise-1.8.7-2012.02 to /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02 - using Zsh, can not show progress, be patient...
__rvm_rm_rf already gone: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
__rvm_setup_compile_environment_setup ree-1.8.7-2012.02
rvm_autolibs_flag=enable
__rvm_setup_compile_environment_movable_early ree-1.8.7-2012.02
__rvm_setup_compile_environment_requirements ree-1.8.7-2012.02
Checking requirements for osx.
requirements code for osx loaded
requirements lib type set to osx_brew
brew seems to be writable
Found required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libksba, openssl098.
PATH=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/lib:/usr/lib:/Users/jivemastert/.ec2/bin:/usr/local/mysql/bin:/Users/jivemastert/dotfiles/osx_scripts:/Users/jivemastert/.rvm/bin
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libyaml/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libyaml/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/readline/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/readline/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libksba/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libksba/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/openssl098/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/openssl098/lib:
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
__rvm_setup_compile_environment_movable ree-1.8.7-2012.02
__rvm_setup_compile_environment_osx_compiler ree-1.8.7-2012.02
Warning: found user selected compiler 'gcc-4.2', this will suppress RVM auto detection mechanisms.
__rvm_setup_compile_environment_architectures ree-1.8.7-2012.02
rvm_architectures(0):.
__rvm_setup_compile_environment_gcc47plus ree-1.8.7-2012.02
__rvm_setup_compile_environment_bison ree-1.8.7-2012.02
__rvm_setup_compile_environment_smartos ree-1.8.7-2012.02
__rvm_setup_compile_environment_openindiana ree-1.8.7-2012.02
__rvm_setup_compile_environment_sunos ree-1.8.7-2012.02
__rvm_setup_compile_environment_openbsd ree-1.8.7-2012.02
__rvm_setup_compile_environment_auto_conf_make ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_docs ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_tcltk ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_shared_static ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_threads ree-1.8.7-2012.02
__rvm_setup_compile_environment_compatibility_flag ree-1.8.7-2012.02
found compiler: gcc-4.2
Patch name 'default', expanded_name(s) 'tcmalloc stdout-rouge-fix no_sslv2'.
Patch name 'OSX', expanded_name(s) ''.
All found patches(3): tcmalloc stdout-rouge-fix no_sslv2.
Patch full path '/Users/jivemastert/.rvm/patches/ree/1.8.7/tcmalloc.patch'.
Log file: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/patch.apply.tcmalloc.log
[2013-10-23 00:04:37] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02/source
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/1.8.7/tcmalloc.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/1.8.7/tcmalloc.patch - using Zsh, can not show progress, be patient...
Patch full path '/Users/jivemastert/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch'.
Log file: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/patch.apply.stdout-rouge-fix.log
[2013-10-23 00:04:37] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02/source
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch - using Zsh, can not show progress, be patient...
Patch full path '/Users/jivemastert/.rvm/patches/ree/1.8.7/no_sslv2.diff'.
Log file: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/patch.apply.no_sslv2.log
[2013-10-23 00:04:37] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02/source
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/1.8.7/no_sslv2.diff
Applying patch /Users/jivemastert/.rvm/patches/ree/1.8.7/no_sslv2.diff - using Zsh, can not show progress, be patient...
All found patches(1): lib64.
Patch full path '/Users/jivemastert/.rvm/patches/ree/lib64.patch'.
Log file: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/patch.apply.lib64.log
[2013-10-23 00:04:37] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/lib64.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/lib64.patch - using Zsh, can not show progress, be patient...
All found patches(1): ruby-binary-shebang.
Patch full path '/Users/jivemastert/.rvm/patches/ree/ruby-binary-shebang.patch'.
Log file: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/patch.apply.ruby-binary-shebang.log
[2013-10-23 00:04:37] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/ruby-binary-shebang.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/ruby-binary-shebang.patch - using Zsh, can not show progress, be patient...
Log file: /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/install.log
[2013-10-23 00:04:37] ./installer
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
command(14): env CFLAGS=-I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl098/lib ./installer -a /Users/jivemastert/.rvm/rubies/ree-1.8.7-2012.02 --no-tcmalloc --dont-install-useful-gems -c --without-tcl -c --without-tk -c --enable-shared
ree-1.8.7-2012.02 - #installing - using Zsh, can not show progress, be patient...
Error running 'env CFLAGS=-I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl098/lib ./installer -a /Users/jivemastert/.rvm/rubies/ree-1.8.7-2012.02 --no-tcmalloc --dont-install-useful-gems -c --without-tcl -c --without-tk -c --enable-shared',
please read /Users/jivemastert/.rvm/log/1382501070_ree-1.8.7-2012.02/install.log
__rvm_rm_rf already gone: /Users/jivemastert/.rvm/tmp/22959*
:~ rvm install --debug ree --without-tcl --without-tk
ree - install
Installing Ruby Enterprise Edition from source to: /Users/jivemastert/.rvm/rubies/ree-1.8.7-2012.02
ree-1.8.7-2012.02 - #fetching (ruby-enterprise-1.8.7-2012.02)
Archive checksum matched, not downloading
Downloaded archive checksum matched.
Log prefix: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/
Log filesystem: local,
Log max name length: 250
Log file: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/extract.log
[2013-10-23 00:27:58] __rvm_package_extract
__rvm_package_extract () {
rvm_debug __rvm_package_extract:$#: "$@"
typeset __tempdir __path __file __return
__return=0
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )"
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?
if (( __return == 0 ))
then
for __path in "$__tempdir"/*
do
__file="${__path##*/}"
if [[ -n "${__file}" && -e "$2/${__file}" ]]
then
\rm -rf "$2/${__file}" || __return=$?
fi
\mv -f "${__path}" "$2/" || __return=$?
done
fi
if [[ -n "$__tempdir" ]]
then
\rm -rf "$__tempdir"
fi
return $__return
}
current path: /Users/jivemastert/.rvm/src
command(3): __rvm_package_extract /Users/jivemastert/.rvm/archives/ruby-enterprise-1.8.7-2012.02.tar.gz /Users/jivemastert/.rvm/src/
ree-1.8.7-2012.02 - #extracting ruby-enterprise-1.8.7-2012.02 to /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02 - using Zsh, can not show progress, be patient...
__rvm_rm_rf already gone: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
__rvm_setup_compile_environment_setup ree-1.8.7-2012.02
rvm_autolibs_flag=enable
__rvm_setup_compile_environment_movable_early ree-1.8.7-2012.02
__rvm_setup_compile_environment_requirements ree-1.8.7-2012.02
Checking requirements for osx.
requirements code for osx loaded
requirements lib type set to osx_brew
brew seems to be writable
Found required packages: apple-gcc42, autoconf, automake, libtool, pkg-config, libyaml, readline, libksba, openssl098.
PATH=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/lib:/usr/lib:/Users/jivemastert/.ec2/bin:/usr/local/mysql/bin:/Users/jivemastert/dotfiles/osx_scripts:/Users/jivemastert/.rvm/bin
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libyaml/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libyaml/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/readline/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/readline/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libksba/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libksba/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/openssl098/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/openssl098/lib:
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
__rvm_setup_compile_environment_movable ree-1.8.7-2012.02
__rvm_setup_compile_environment_osx_compiler ree-1.8.7-2012.02
__rvm_setup_compile_environment_architectures ree-1.8.7-2012.02
rvm_architectures(0):.
__rvm_setup_compile_environment_gcc47plus ree-1.8.7-2012.02
__rvm_setup_compile_environment_bison ree-1.8.7-2012.02
__rvm_setup_compile_environment_smartos ree-1.8.7-2012.02
__rvm_setup_compile_environment_openindiana ree-1.8.7-2012.02
__rvm_setup_compile_environment_sunos ree-1.8.7-2012.02
__rvm_setup_compile_environment_openbsd ree-1.8.7-2012.02
__rvm_setup_compile_environment_auto_conf_make ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_docs ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_tcltk ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_shared_static ree-1.8.7-2012.02
__rvm_setup_compile_environment_flags_threads ree-1.8.7-2012.02
__rvm_setup_compile_environment_compatibility_flag ree-1.8.7-2012.02
found compiler: /usr/bin/clang
Patch name 'default', expanded_name(s) 'tcmalloc stdout-rouge-fix no_sslv2'.
Patch name 'OSX', expanded_name(s) ''.
All found patches(3): tcmalloc stdout-rouge-fix no_sslv2.
Patch full path '/Users/jivemastert/.rvm/patches/ree/1.8.7/tcmalloc.patch'.
Log file: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/patch.apply.tcmalloc.log
[2013-10-23 00:28:07] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02/source
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/1.8.7/tcmalloc.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/1.8.7/tcmalloc.patch - using Zsh, can not show progress, be patient...
Patch full path '/Users/jivemastert/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch'.
Log file: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/patch.apply.stdout-rouge-fix.log
[2013-10-23 00:28:07] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02/source
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch - using Zsh, can not show progress, be patient...
Patch full path '/Users/jivemastert/.rvm/patches/ree/1.8.7/no_sslv2.diff'.
Log file: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/patch.apply.no_sslv2.log
[2013-10-23 00:28:07] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02/source
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/1.8.7/no_sslv2.diff
Applying patch /Users/jivemastert/.rvm/patches/ree/1.8.7/no_sslv2.diff - using Zsh, can not show progress, be patient...
All found patches(1): lib64.
Patch full path '/Users/jivemastert/.rvm/patches/ree/lib64.patch'.
Log file: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/patch.apply.lib64.log
[2013-10-23 00:28:07] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/lib64.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/lib64.patch - using Zsh, can not show progress, be patient...
All found patches(1): ruby-binary-shebang.
Patch full path '/Users/jivemastert/.rvm/patches/ree/ruby-binary-shebang.patch'.
Log file: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/patch.apply.ruby-binary-shebang.log
[2013-10-23 00:28:07] __rvm_patch
__rvm_patch () {
\patch "$@" || return $?
}
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
command(8): __rvm_patch -F 25 -p1 -N -f -i /Users/jivemastert/.rvm/patches/ree/ruby-binary-shebang.patch
Applying patch /Users/jivemastert/.rvm/patches/ree/ruby-binary-shebang.patch - using Zsh, can not show progress, be patient...
Log file: /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/install.log
[2013-10-23 00:28:07] ./installer
current path: /Users/jivemastert/.rvm/src/ree-1.8.7-2012.02
command(14): env CFLAGS=-I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl098/lib ./installer -a /Users/jivemastert/.rvm/rubies/ree-1.8.7-2012.02 --no-tcmalloc --dont-install-useful-gems -c --without-tcl -c --without-tk -c --enable-shared
ree-1.8.7-2012.02 - #installing - using Zsh, can not show progress, be patient...
Error running 'env CFLAGS=-I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl098/lib ./installer -a /Users/jivemastert/.rvm/rubies/ree-1.8.7-2012.02 --no-tcmalloc --dont-install-useful-gems -c --without-tcl -c --without-tk -c --enable-shared',
please read /Users/jivemastert/.rvm/log/1382502478_ree-1.8.7-2012.02/install.log
__rvm_rm_rf already gone: /Users/jivemastert/.rvm/tmp/30157*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment