Skip to content

Instantly share code, notes, and snippets.

@pmarreck
Created February 25, 2013 21:08
Show Gist options
  • Save pmarreck/5033327 to your computer and use it in GitHub Desktop.
Save pmarreck/5033327 to your computer and use it in GitHub Desktop.
Can't build ruby 2.0
[2013-02-25 15:41:08] make
CC = /usr/local/bin/gcc-4.2
LD = ld
LDSHARED = /usr/local/bin/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/pmarreck/.rvm/usr/include -I/Users/pmarreck/.rvm/usr/include -I. -I.ext/include/x86_64-darwin11.4.2 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/Users/pmarreck/.rvm/usr/lib -L/Users/pmarreck/.rvm/usr/lib -fstack-protector -Wl,-u,_objc_msgSend -pie
SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
compiling miniprelude.c
translating probes probes.d
dtrace: failed to compile script probes.d: Preprocessor not found
make: *** [probes.h] Error 1
rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/i386/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Fetching yaml-0.1.4.tar.gz to /Users/pmarreck/.rvm/archives
Extracting yaml to /Users/pmarreck/.rvm/src/yaml-0.1.4
Configuring yaml in /Users/pmarreck/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/pmarreck/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/pmarreck/.rvm/usr
Fetching openssl-1.0.1c.tar.gz to /Users/pmarreck/.rvm/archives
Extracting openssl to /Users/pmarreck/.rvm/src/openssl-1.0.1c
Configuring openssl in /Users/pmarreck/.rvm/src/openssl-1.0.1c.
Compiling openssl in /Users/pmarreck/.rvm/src/openssl-1.0.1c.
Installing openssl to /Users/pmarreck/.rvm/usr
Updating openssl certificates
Installing Ruby from source to: /Users/pmarreck/.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...
######################################################################## 100.0%
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /Users/pmarreck/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #extracted to /Users/pmarreck/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #configuring
ruby-2.0.0-p0 - #compiling
Error running 'make', please read /Users/pmarreck/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment