Skip to content

Instantly share code, notes, and snippets.

@zacstewart
Last active August 29, 2015 14:07
Show Gist options
  • Save zacstewart/30f0d16399f49754038a to your computer and use it in GitHub Desktop.
Save zacstewart/30f0d16399f49754038a to your computer and use it in GitHub Desktop.
How is Rubby formed?
~/src $ CC=/usr/bin/gcc ruby-install ruby 2.1.3
>>> Installing ruby 2.1.3 into /Users/zacstewart/.rubies/ruby-2.1.3 ...
>>> Installing dependencies for ruby 2.1.3 ...
Warning: openssl-1.0.1j already installed
Warning: readline-6.3.8 already installed
Warning: libyaml-0.1.6 already installed
Warning: gdbm-1.11 already installed
Warning: libffi-3.0.13 already installed
>>> Downloading http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.bz2 into /Users/zacstewart/src ...
--2014-10-22 10:26:16-- http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.bz2
Resolving cache.ruby-lang.org... 23.235.39.185, 199.27.76.184
Connecting to cache.ruby-lang.org|23.235.39.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11998074 (11M) [application/octet-stream]
Saving to: ‘/Users/zacstewart/src/ruby-2.1.3.tar.bz2.part’
100%[====================================================================================================================================================================================================>] 11,998,074 845KB/s in 18s
2014-10-22 10:26:34 (669 KB/s) - ‘/Users/zacstewart/src/ruby-2.1.3.tar.bz2.part’ saved [11998074/11998074]
>>> Verifying ruby-2.1.3.tar.bz2 ...
>>> Extracting ruby-2.1.3.tar.bz2 to /Users/zacstewart/src/ruby-2.1.3 ...
>>> Configuring ruby 2.1.3 ...
checking build system type... x86_64-apple-darwin14.0.0
checking host system type... x86_64-apple-darwin14.0.0
checking target system type... x86_64-apple-darwin14.0.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether /usr/bin/gcc needs -traditional... no
checking for ld... ld
checking whether the linker is GNU ld... no
checking whether /usr/bin/gcc -E accepts -o... yes
checking for real target cpu... x86_64
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking for objdump... no
checking for gobjdump... no
checking for objcopy... no
checking for gobjcopy... no
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... -d
use 'mkdir -p' as MKDIR_P
checking for dtrace... dtrace
checking for dot... dot
checking for doxygen... no
checking for pkg-config... pkg-config
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... yes
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
checking whether -Wno-parentheses is accepted as CFLAGS... yes
checking whether -Wno-long-long is accepted as CFLAGS... yes
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
checking whether -Wunused-variable is accepted as CFLAGS... yes
checking whether -Wpointer-arith is accepted as CFLAGS... yes
checking whether -Wwrite-strings is accepted as CFLAGS... yes
checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes
checking whether -Wshorten-64-to-32 is accepted as CFLAGS... yes
checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
checking whether -Wdivision-by-zero is accepted as CFLAGS... yes
checking whether -Wextra-tokens is accepted as CFLAGS... yes
checking whether -Wall -Wextra is accepted as CFLAGS... yes
checking whether -Qunused-arguments is accepted as CFLAGS... yes
checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as LDFLAGS... yes
checking whether -fno-strict-overflow is accepted as CFLAGS... yes
checking whether -ggdb3 is accepted as CFLAGS... yes
checking whether -fvisibility=hidden is accepted as CFLAGS... yes
checking whether -fno-fast-math is accepted as CFLAGS... yes
checking whether Mac OS X 10.5 or later... yes
checking for broken crypt with 8bit chars... no
checking for codesign... codesign
checking for crt_externs.h... yes
checking for crypt in -lcrypt... (cached) no
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for shutdown in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... no
checking syscall.h presence... no
checking for syscall.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... no
checking a.out.h presence... no
checking for a.out.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for ucontext.h... (cached) no
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/sendfile.h usability... no
checking sys/sendfile.h presence... no
checking for sys/sendfile.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking net/socket.h usability... no
checking net/socket.h presence... no
checking for net/socket.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking malloc_np.h usability... no
checking malloc_np.h presence... no
checking for malloc_np.h... no
checking malloc/malloc.h usability... yes
checking malloc/malloc.h presence... yes
checking for malloc/malloc.h... yes
checking setjmpex.h usability... no
checking setjmpex.h presence... no
checking for setjmpex.h... no
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking for long long... yes
checking for off_t... yes
checking char bit... 8
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of __int128... 16
checking size of off_t... 8
checking size of void*... 8
checking size of float... 4
checking size of double... 8
checking size of time_t... 8
checking size of clock_t... 8
checking for printf prefix for long long... ll
checking for pid_t... yes
checking for convertible type of pid_t... INT
checking for uid_t... yes
checking for convertible type of uid_t... UINT
checking for gid_t... yes
checking for convertible type of gid_t... UINT
checking for time_t... yes
checking for convertible type of time_t... LONG
checking for dev_t... yes
checking for convertible type of dev_t... INT
checking for mode_t... yes
checking for convertible type of mode_t... UINT
checking for rlim_t... yes
checking for convertible type of rlim_t... ULL
checking for off_t... (cached) yes
checking for convertible type of off_t... LL
checking for clockid_t... no
checking for convertible type of clockid_t... INT
checking for prototypes... yes
checking token paste string... ansi
checking stringization... #expr
checking string literal concatenation... yes
checking for variable length prototypes and stdarg.h... yes
checking for variable length macro... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for deprecated function attribute... __attribute__ ((deprecated)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for stdcall function attribute... x
checking for cdecl function attribute... __attribute__ ((cdecl)) x
checking for fastcall function attribute... x
checking for function alias... no
checking for __atomic builtins... yes
checking for __sync builtins... yes
checking for __builtin_unreachable... yes
checking for exported function attribute... __attribute__ ((visibility("default")))
checking for function name string predefined identifier... __func__
checking whether sys_nerr is declared... yes
checking whether getenv is declared... yes
checking for size_t... yes
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking for printf prefix for size_t... z
checking for printf prefix for ptrdiff_t... t
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking size of struct stat.st_size... SIZEOF_LONG
checking size of struct stat.st_blocks... SIZEOF_LONG
checking for struct stat.st_atim... no
checking for struct stat.st_atimespec... yes
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim... no
checking for struct stat.st_mtimespec... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_ctim... no
checking for struct stat.st_ctimespec... yes
checking for struct stat.st_ctimensec... no
checking for struct timeval... yes
checking size of struct timeval.tv_sec... SIZEOF_TIME_T
checking for struct timespec... yes
checking for struct timezone... yes
checking for clockid_t... (cached) no
checking for fd_mask... yes
checking for int8_t... yes
checking size of int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for int128_t... __int128
checking for uint128_t... unsigned __int128
checking for intptr_t... yes
checking size of intptr_t... 8
checking for uintptr_t... yes
checking size of uintptr_t... 8
checking for ssize_t... yes
checking size of ssize_t... 8
checking for stack end address... no
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... (cached) gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for dynamic size alloca... ok
checking for working memcmp... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for dup2... yes
checking for memmove... yes
checking for strerror... yes
checking for strchr... yes
checking for strstr... yes
checking for crypt... yes
checking for flock... yes
checking for isnan... yes
checking for finite... yes
checking for isinf... yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for tgamma... yes
checking for lgamma_r... yes
checking for cbrt... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for ffs... yes
checking for setproctitle... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for signbit... yes
checking for __syscall... yes
checking for _longjmp... yes
checking for _setjmp... yes
checking for _setjmpex... no
checking for chroot... yes
checking for chsize... no
checking for clock_gettime... no
checking for cosh... yes
checking for daemon... (cached) no
checking for dl_iterate_phdr... no
checking for dlopen... yes
checking for dup... yes
checking for dup3... no
checking for eaccess... no
checking for endgrent... yes
checking for fchmod... yes
checking for fchown... yes
checking for fcntl... yes
checking for fdatasync... (cached) no
checking for fmod... yes
checking for fork... yes
checking for fsync... yes
checking for ftruncate... yes
checking for ftruncate64... no
checking for getcwd... yes
checking for getgrnam_r... yes
checking for getgroups... yes
checking for getpgid... yes
checking for getpgrp... yes
checking for getpriority... yes
checking for getpwnam_r... yes
checking for getrlimit... yes
checking for getsid... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for initgroups... yes
checking for ioctl... yes
checking for isfinite... no
checking for issetugid... yes
checking for killpg... yes
checking for lchmod... yes
checking for lchown... yes
checking for link... yes
checking for llabs... yes
checking for lockf... yes
checking for log2... yes
checking for lstat... yes
checking for malloc_usable_size... no
checking for malloc_size... yes
checking for mblen... yes
checking for memalign... no
checking for memrchr... no
checking for mktime... yes
checking for pipe2... no
checking for poll... yes
checking for posix_fadvise... no
checking for posix_memalign... yes
checking for ppoll... no
checking for pread... yes
checking for readlink... yes
checking for round... yes
checking for seekdir... yes
checking for select_large_fdset... no
checking for sendfile... yes
checking for setegid... yes
checking for setenv... yes
checking for seteuid... yes
checking for setgid... yes
checking for setgroups... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setregid... yes
checking for setresgid... no
checking for setresuid... no
checking for setreuid... yes
checking for setrgid... yes
checking for setrlimit... yes
checking for setruid... yes
checking for setsid... yes
checking for setuid... yes
checking for shutdown... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigprocmask... yes
checking for sinh... yes
checking for spawnv... no
checking for symlink... yes
checking for syscall... yes
checking for sysconf... yes
checking for tanh... yes
checking for telldir... yes
checking for timegm... yes
checking for times... yes
checking for truncate... yes
checking for truncate64... no
checking for unsetenv... yes
checking for utimensat... no
checking for utimes... yes
checking for wait4... yes
checking for waitpid... yes
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzl... yes
checking for __builtin_clzll... yes
checking for __builtin_choose_expr... yes
checking for __builtin_types_compatible_p... yes
checking for clock_gettime in -lrt... no
checking for clock_getres... no
checking for unsetenv returns a value... yes
checking for sigsetjmp as a macro or function... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for external timezone... long
checking for external altzone... no
checking for timezone... yes
checking whether timezone requires zero arguments... yes
checking for negative time_t for gmtime(3)... yes
checking for localtime(3) overflow correctly... yes
checking whether right shift preserve sign bit... yes
checking read count field in FILE structures... _r
checking read buffer ptr field in FILE structures... _p
checking size of struct stat.st_ino... SIZEOF_LONG
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction on x86_64... -1
checking for pthread_kill in -lthr... no
checking for pthread_kill in -lpthread... yes
checking for pthread_np.h... no
checking for sched_yield... yes
checking for pthread_attr_setinheritsched... yes
checking for pthread_getattr_np... no
checking for pthread_attr_get_np... no
checking for pthread_attr_getstack... yes
checking for pthread_get_stackaddr_np... yes
checking for pthread_get_stacksize_np... yes
checking for thr_stksegment... no
checking for pthread_stackseg_np... no
checking for pthread_getthrds_np... no
checking for pthread_cond_init... yes
checking for pthread_condattr_setclock... no
checking for pthread_condattr_init... yes
checking for pthread_sigmask... yes
checking for pthread_setname_np... yes
checking for pthread_attr_init... yes
checking arguments of pthread_setname_np... (name)
checking if fork works with pthread... yes
checking whether ELF binaries are produced... no
checking whether OS depend dynamic link works... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace in -lexecinfo... no
checking for backtrace... yes
checking for broken backtrace... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for strip... strip
checking whether -fPIE is accepted as CFLAGS... yes
checking whether -pie is accepted as LDFLAGS... no
checking whether -Wl,-pie is accepted as LDFLAGS... yes
checking whether dtrace USDT is available... yes
checking whether dtrace USDT is available... (cached) yes
checking whether dtrace needs post processing... no
checking for __builtin_setjmp... no
checking for setjmp type... _setjmp
checking for prefix of external symbols... _
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking if make is GNU make... yes
checking for memmem... yes
checking for broken memmem... yes
checking for nroff... /usr/bin/nroff
.ext/include/x86_64-darwin14.0/ruby/config.h updated
ruby library version = 2.1.0
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.1.pc
>>> Cleaning ruby 2.1.3 ...
cleaning rdoc
cleaning capi
>>> Compiling ruby 2.1.3 ...
CC = /usr/bin/gcc
LD = ld
LDSHARED = /usr/bin/gcc -dynamic -bundle
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 -Wextra-tokens -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I/usr/local/opt/openssl/include -I/usr/local/opt/readline/include -I/usr/local/opt/libyaml/include -I/usr/local/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin14.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/gdbm/lib -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie -framework CoreFoundation
SOLIBS = -lgmp
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.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling miniprelude.c
translating probes probes.d
. ./vm_opts.h
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling compile.c
compiling debug.c
compiling iseq.c
compiling vm.c
compiling vm_dump.c
compiling vm_backtrace.c
compiling vm_trace.c
compiling thread.c
compiling cont.c
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/setproctitle.c
compiling dmyext.c
linking miniruby
rbconfig.rb updated
generating enc.mk
compiling dln.c
compiling localeinit.c
creating verconf.h
compiling loadpath.c
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
generating encdb.h
encdb.h updated
making enc
compiling ./enc/encdb.c
linking encoding encdb.bundle
compiling ./enc/big5.c
linking encoding big5.bundle
compiling ./enc/cp949.c
linking encoding cp949.bundle
compiling ./enc/emacs_mule.c
linking encoding emacs_mule.bundle
compiling ./enc/euc_jp.c
linking encoding euc_jp.bundle
compiling ./enc/euc_kr.c
linking encoding euc_kr.bundle
compiling ./enc/euc_tw.c
linking encoding euc_tw.bundle
compiling ./enc/gb2312.c
linking encoding gb2312.bundle
compiling ./enc/gb18030.c
linking encoding gb18030.bundle
compiling ./enc/gbk.c
linking encoding gbk.bundle
compiling ./enc/iso_8859_1.c
linking encoding iso_8859_1.bundle
compiling ./enc/iso_8859_2.c
linking encoding iso_8859_2.bundle
compiling ./enc/iso_8859_3.c
linking encoding iso_8859_3.bundle
compiling ./enc/iso_8859_4.c
linking encoding iso_8859_4.bundle
compiling ./enc/iso_8859_5.c
linking encoding iso_8859_5.bundle
compiling ./enc/iso_8859_6.c
linking encoding iso_8859_6.bundle
compiling ./enc/iso_8859_7.c
linking encoding iso_8859_7.bundle
compiling ./enc/iso_8859_8.c
linking encoding iso_8859_8.bundle
compiling ./enc/iso_8859_9.c
linking encoding iso_8859_9.bundle
compiling ./enc/iso_8859_10.c
linking encoding iso_8859_10.bundle
compiling ./enc/iso_8859_11.c
linking encoding iso_8859_11.bundle
compiling ./enc/iso_8859_13.c
linking encoding iso_8859_13.bundle
compiling ./enc/iso_8859_14.c
linking encoding iso_8859_14.bundle
compiling ./enc/iso_8859_15.c
linking encoding iso_8859_15.bundle
compiling ./enc/iso_8859_16.c
linking encoding iso_8859_16.bundle
compiling ./enc/koi8_r.c
linking encoding koi8_r.bundle
compiling ./enc/koi8_u.c
linking encoding koi8_u.bundle
compiling ./enc/shift_jis.c
linking encoding shift_jis.bundle
compiling ./enc/utf_16be.c
linking encoding utf_16be.bundle
compiling ./enc/utf_16le.c
linking encoding utf_16le.bundle
compiling ./enc/utf_32be.c
linking encoding utf_32be.bundle
compiling ./enc/utf_32le.c
linking encoding utf_32le.bundle
compiling ./enc/windows_31j.c
linking encoding windows_31j.bundle
compiling ./enc/windows_1251.c
linking encoding windows_1251.bundle
making srcs under enc
make[1]: Nothing to be done for `srcs'.
generating transdb.h
transdb.h updated
making trans
compiling ./enc/trans/transdb.c
linking transcoder transdb.bundle
compiling ./enc/trans/big5.c
linking transcoder big5.bundle
compiling ./enc/trans/chinese.c
linking transcoder chinese.bundle
compiling ./enc/trans/emoji.c
linking transcoder emoji.bundle
compiling ./enc/trans/emoji_iso2022_kddi.c
linking transcoder emoji_iso2022_kddi.bundle
compiling ./enc/trans/emoji_sjis_docomo.c
linking transcoder emoji_sjis_docomo.bundle
compiling ./enc/trans/emoji_sjis_kddi.c
linking transcoder emoji_sjis_kddi.bundle
compiling ./enc/trans/emoji_sjis_softbank.c
linking transcoder emoji_sjis_softbank.bundle
compiling ./enc/trans/escape.c
linking transcoder escape.bundle
compiling ./enc/trans/gb18030.c
linking transcoder gb18030.bundle
compiling ./enc/trans/gbk.c
linking transcoder gbk.bundle
compiling ./enc/trans/iso2022.c
linking transcoder iso2022.bundle
compiling ./enc/trans/japanese.c
linking transcoder japanese.bundle
compiling ./enc/trans/japanese_euc.c
linking transcoder japanese_euc.bundle
compiling ./enc/trans/japanese_sjis.c
linking transcoder japanese_sjis.bundle
compiling ./enc/trans/korean.c
linking transcoder korean.bundle
compiling ./enc/trans/single_byte.c
linking transcoder single_byte.bundle
compiling ./enc/trans/utf8_mac.c
linking transcoder utf8_mac.bundle
compiling ./enc/trans/utf_16_32.c
linking transcoder utf_16_32.bundle
making encs
file2lastrev.rb: does not seem to be under a vcs: .
make: [.revision.time] Error 1 (ignored)
./revision.h unchanged
generating makefile exts.mk
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
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-/postponed_job
configuring -test-/printf
configuring -test-/rational
configuring -test-/recursion
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
configuring -test-/tracepoint
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/dln/empty
Failed to configure -test-/win32/dln/empty. 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 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 etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
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 rbconfig/sizeof
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring thread
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 win32
Failed to configure win32. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
compiling resize.c
linking shared-object -test-/array/resize.bundle
installing default resize libraries
compiling big2str.c
compiling bigzero.c
compiling div.c
compiling init.c
compiling intpack.c
compiling mul.c
compiling str2big.c
linking shared-object -test-/bignum.bundle
installing default bignum libraries
compiling bug.c
linking shared-object -test-/bug-3571/bug.bundle
installing default bug libraries
compiling bug.c
linking shared-object -test-/bug-3662/bug.bundle
installing default bug libraries
compiling bug.c
linking shared-object -test-/bug-5832/bug.bundle
installing default bug libraries
compiling bug_reporter.c
linking shared-object -test-/bug_reporter/bug_reporter.bundle
installing default bug_reporter libraries
compiling class2name.c
compiling init.c
linking shared-object -test-/class.bundle
installing default class libraries
compiling init.c
compiling inspector.c
compiling profile_frames.c
linking shared-object -test-/debug.bundle
installing default debug libraries
compiling dataerror.c
compiling enc_raise.c
compiling ensured.c
compiling init.c
linking shared-object -test-/exception.bundle
installing default exception libraries
compiling rb_fatal.c
linking shared-object -test-/fatal/rb_fatal.bundle
installing default rb_fatal libraries
compiling init.c
compiling stat.c
linking shared-object -test-/file.bundle
installing default file libraries
compiling passing_block.c
linking shared-object -test-/funcall/funcall.bundle
installing default funcall libraries
compiling break.c
compiling init.c
compiling yield.c
linking shared-object -test-/iter.bundle
installing default iter libraries
compiling dot.dot.c
linking shared-object -test-/load/dot.dot/dot.dot.bundle
installing default dot.dot libraries
compiling usrcompat.c
linking shared-object -test-/marshal/compat.bundle
installing default compat libraries
compiling usrmarshal.c
linking shared-object -test-/marshal/usr.bundle
installing default usr libraries
compiling arity.c
compiling init.c
linking shared-object -test-/method.bundle
installing default method libraries
compiling num2int.c
linking shared-object -test-/num2int/num2int.bundle
installing default num2int libraries
compiling old_thread_select.c
linking shared-object -test-/old_thread_select/old_thread_select.bundle
installing default old_thread_select libraries
compiling path_to_class.c
linking shared-object -test-/path_to_class/path_to_class.bundle
installing default path_to_class libraries
compiling postponed_job.c
linking shared-object -test-/postponed_job.bundle
installing default postponed_job libraries
compiling printf.c
linking shared-object -test-/printf.bundle
installing default printf libraries
compiling rat.c
linking shared-object -test-/rational.bundle
installing default rational libraries
compiling recursion.c
linking shared-object -test-/recursion.bundle
installing default recursion libraries
compiling numhash.c
linking shared-object -test-/st/numhash.bundle
installing default numhash libraries
compiling update.c
linking shared-object -test-/st/update.bundle
installing default update libraries
compiling coderange.c
compiling cstr.c
compiling ellipsize.c
compiling enc_associate.c
compiling enc_str_buf_cat.c
compiling init.c
compiling modify.c
compiling normalize.c
compiling qsort.c
compiling set_len.c
linking shared-object -test-/string/string.bundle
installing default string libraries
compiling init.c
compiling member.c
linking shared-object -test-/struct.bundle
installing default struct libraries
compiling init.c
compiling intern.c
compiling type.c
linking shared-object -test-/symbol.bundle
installing default symbol libraries
compiling gc_hook.c
compiling tracepoint.c
linking shared-object -test-/tracepoint.bundle
installing default tracepoint libraries
compiling typeddata.c
linking shared-object -test-/typeddata/typeddata.bundle
installing default typeddata libraries
compiling wait_for_single_fd.c
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'.
make[2]: Nothing to be done for `all'.
compiling bigdecimal.c
linking shared-object bigdecimal.bundle
installing default bigdecimal libraries
compiling continuation.c
linking shared-object continuation.bundle
installing default continuation libraries
compiling coverage.c
linking shared-object coverage.bundle
installing default coverage libraries
compiling date_core.c
compiling date_parse.c
compiling date_strftime.c
compiling date_strptime.c
linking shared-object date_core.bundle
installing default date_core libraries
compiling dbm.c
linking shared-object dbm.bundle
installing default dbm libraries
compiling digest.c
linking shared-object digest.bundle
installing digest libraries
installing default digest libraries
compiling bubblebabble.c
linking shared-object digest/bubblebabble.bundle
installing default bubblebabble libraries
compiling md5init.c
compiling md5ossl.c
linking shared-object digest/md5.bundle
installing default md5 libraries
compiling rmd160init.c
compiling rmd160.c
linking shared-object digest/rmd160.bundle
installing default rmd160 libraries
compiling sha1init.c
compiling sha1ossl.c
linking shared-object digest/sha1.bundle
installing default sha1 libraries
compiling sha2init.c
compiling sha2ossl.c
linking shared-object digest/sha2.bundle
installing default sha2 libraries
compiling cfunc.c
compiling cptr.c
compiling dl.c
compiling handle.c
linking shared-object dl.bundle
installing dl libraries
installing default dl libraries
compiling callback.c
compiling callback-0.c
compiling callback-1.c
compiling callback-2.c
compiling callback-3.c
compiling callback-4.c
compiling callback-5.c
compiling callback-6.c
compiling callback-7.c
compiling callback-8.c
linking shared-object dl/callback.bundle
installing default callback libraries
compiling etc.c
linking shared-object etc.bundle
installing default etc libraries
compiling fcntl.c
linking shared-object fcntl.bundle
installing default fcntl libraries
compiling fiber.c
linking shared-object fiber.bundle
installing default fiber libraries
compiling closure.c
compiling conversions.c
compiling fiddle.c
compiling function.c
compiling handle.c
compiling pointer.c
linking shared-object fiddle.bundle
installing default fiddle libraries
compiling gdbm.c
linking shared-object gdbm.bundle
installing default gdbm libraries
compiling console.c
linking shared-object io/console.bundle
installing default console libraries
compiling nonblock.c
linking shared-object io/nonblock.bundle
installing default nonblock libraries
compiling wait.c
linking shared-object io/wait.bundle
installing default wait libraries
installing default libraries
compiling generator.c
linking shared-object json/ext/generator.bundle
installing default generator libraries
compiling parser.c
linking shared-object json/ext/parser.bundle
installing default parser libraries
compiling complex.c
linking shared-object mathn/complex.bundle
installing default complex libraries
compiling rational.c
linking shared-object mathn/rational.bundle
installing default rational libraries
compiling nkf.c
linking shared-object nkf.bundle
installing default nkf libraries
compiling object_tracing.c
compiling objspace.c
compiling objspace_dump.c
linking shared-object objspace.bundle
installing default objspace libraries
compiling openssl_missing.c
compiling ossl.c
compiling ossl_asn1.c
compiling ossl_bio.c
compiling ossl_bn.c
compiling ossl_cipher.c
compiling ossl_config.c
compiling ossl_digest.c
compiling ossl_engine.c
compiling ossl_hmac.c
compiling ossl_ns_spki.c
compiling ossl_ocsp.c
compiling ossl_pkcs12.c
compiling ossl_pkcs5.c
compiling ossl_pkcs7.c
compiling ossl_pkey.c
compiling ossl_pkey_dh.c
compiling ossl_pkey_dsa.c
compiling ossl_pkey_ec.c
compiling ossl_pkey_rsa.c
compiling ossl_rand.c
compiling ossl_ssl.c
compiling ossl_ssl_session.c
compiling ossl_x509.c
compiling ossl_x509attr.c
compiling ossl_x509cert.c
compiling ossl_x509crl.c
compiling ossl_x509ext.c
compiling ossl_x509name.c
compiling ossl_x509req.c
compiling ossl_x509revoked.c
compiling ossl_x509store.c
linking shared-object openssl.bundle
installing default openssl libraries
compiling pathname.c
linking shared-object pathname.bundle
installing default pathname libraries
compiling psych.c
compiling psych_emitter.c
compiling psych_parser.c
compiling psych_to_ruby.c
compiling psych_yaml_tree.c
linking shared-object psych.bundle
installing default psych libraries
compiling pty.c
linking shared-object pty.bundle
installing default pty libraries
compiling cparse.c
linking shared-object racc/cparse.bundle
installing default cparse libraries
compiling sizes.c
linking shared-object rbconfig/sizeof.bundle
installing default sizeof libraries
compiling readline.c
linking shared-object readline.bundle
installing default readline libraries
compiling ripper.c
linking shared-object ripper.bundle
installing default ripper libraries
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
compiling _sdbm.c
compiling init.c
linking shared-object sdbm.bundle
installing default sdbm libraries
generating constant definitions
compiling init.c
compiling constants.c
compiling basicsocket.c
compiling socket.c
compiling ipsocket.c
compiling tcpsocket.c
compiling tcpserver.c
compiling sockssocket.c
compiling udpsocket.c
compiling unixsocket.c
compiling unixserver.c
compiling option.c
compiling ancdata.c
compiling raddrinfo.c
compiling ifaddr.c
linking shared-object socket.bundle
installing default socket libraries
compiling stringio.c
linking shared-object stringio.bundle
installing default stringio libraries
compiling strscan.c
linking shared-object strscan.bundle
installing default strscan libraries
compiling syslog.c
linking shared-object syslog.bundle
installing default syslog libraries
compiling thread.c
linking shared-object thread.bundle
installing default thread libraries
compiling stubs.c
compiling tcltklib.c
linking shared-object tcltklib.bundle
installing tcltklib libraries
installing default tcltklib libraries
compiling tkutil.c
linking shared-object tkutil.bundle
installing default tkutil libraries
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
compiling zlib.c
linking shared-object zlib.bundle
installing default zlib libraries
linking ruby
Generating RDoc documentation
error loading "/Users/zacstewart/.gem/ruby/2.1.0/gems/sdoc-0.3.20/lib/rdoc/discover.rb": ERROR: Failed to build gem native extension.
/Users/zacstewart/.rubies/ruby-2.1.3/bin/ruby extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:
In file included from ./../fbuffer/fbuffer.h:5:
In file included from /Users/zacstewart/.rubies/ruby-2.1.3/include/ruby-2.1.0/ruby.h:33:
/Users/zacstewart/.rubies/ruby-2.1.3/include/ruby-2.1.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found
#include "ruby/config.h"
^
1 error generated.
make[1]: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/zacstewart/.gem/ruby/2.1.0/gems/json-1.7.7 for inspection.
Results logged to /Users/zacstewart/.gem/ruby/2.1.0/extensions/x86_64-darwin-14/2.1.0-static/json-1.7.7/gem_make.out
(Gem::Ext::BuildError)
/Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
/Users/zacstewart/.rubies/ruby-2.1.3/bin/ruby extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:
In file included from ./../fbuffer/fbuffer.h:5:
In file included from /Users/zacstewart/.rubies/ruby-2.1.3/include/ruby-2.1.0/ruby.h:33:
/Users/zacstewart/.rubies/ruby-2.1.3/include/ruby-2.1.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found
#include "ruby/config.h"
^
1 error generated.
make[1]: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/zacstewart/.gem/ruby/2.1.0/gems/json-1.7.7 for inspection.
Results logged to /Users/zacstewart/.gem/ruby/2.1.0/extensions/x86_64-darwin-14/2.1.0-static/json-1.7.7/gem_make.out
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:51:in `block in make'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:43:in `each'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:43:in `make'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
from /Users/zacstewart/src/ruby-2.1.3/lib/tempfile.rb:324:in `open'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/ext_conf_builder.rb:17:in `build'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:160:in `chdir'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:160:in `block in build_extension'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:159:in `synchronize'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:159:in `build_extension'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:198:in `block in build_extensions'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:195:in `each'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/ext/builder.rb:195:in `build_extensions'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/specification.rb:1436:in `block in build_extensions'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/user_interaction.rb:45:in `use_ui'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/specification.rb:1434:in `build_extensions'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/specification.rb:937:in `block in find_in_unresolved'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/specification.rb:937:in `each'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/specification.rb:937:in `find_all'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/specification.rb:937:in `find_in_unresolved'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/core_ext/kernel_require.rb:80:in `require'
from /Users/zacstewart/src/ruby-2.1.3/lib/rdoc/generator/darkfish.rb:3:in `<top (required)>'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/core_ext/kernel_require.rb:73:in `require'
from /Users/zacstewart/src/ruby-2.1.3/lib/rubygems/core_ext/kernel_require.rb:73:in `require'
from /Users/zacstewart/src/ruby-2.1.3/lib/rdoc/rdoc.rb:566:in `<top (required)>'
from ./bin/rdoc:16:in `require'
from ./bin/rdoc:16:in `<main>'
make: *** [rdoc] Error 1
!!! Compiling ruby 2.1.3 failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment