Skip to content

Instantly share code, notes, and snippets.

@stijlist
Created October 11, 2013 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stijlist/6932148 to your computer and use it in GitHub Desktop.
Save stijlist/6932148 to your computer and use it in GitHub Desktop.
Rubinius fails to build on 10.8
bash-3.2$ brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Applications/Postgres.app/Contents/MacOS/bin/gdal-config
/Applications/Postgres.app/Contents/MacOS/bin/geos-config
/Applications/Postgres.app/Contents/MacOS/bin/uuid-config
/Applications/Postgres.app/Contents/MacOS/bin/xml2-config
bash-3.2$
bash-3.2$ brew install -v rubinius 2>&1
==> Downloading http://releases.rubini.us/rubinius-2.0.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/rubinius-2.0.0.tar.bz2
tar xf /Library/Caches/Homebrew/rubinius-2.0.0.tar.bz2
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file configure
==> bundle
bundle
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using bundler (1.3.5)
Using daedalus-core (0.0.1)
Using gems (0.8.3)
Using redcard (1.1.0)
Using rubinius-ast (2.0.8)
Using rubinius-bridge (1.0.3)
Using rubinius-compiler (2.0.4)
Using rubinius-toolset (0.1.1)
Using rubinius-melbourne (2.0.0.18)
Using rubinius-processor (2.0.1)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
==> ./configure --skip-system --bindir /usr/local/Cellar/rubinius/2.0.0/bin --prefix /usr/local/Cellar/rubinius/2.0.0 --includedir /usr/local/Cellar/rubinius/2.0.0/include/rubinius --libdir /usr/local/Cellar/rubinius/2.0.0/lib --mandir /usr/local/Cellar/rubinius/2.0.0/share/man --gemsdir /usr/local/Cellar/rubinius/2.0.0/lib/rubinius/gems
./configure --skip-system --bindir /usr/local/Cellar/rubinius/2.0.0/bin --prefix /usr/local/Cellar/rubinius/2.0.0 --includedir /usr/local/Cellar/rubinius/2.0.0/include/rubinius --libdir /usr/local/Cellar/rubinius/2.0.0/lib --mandir /usr/local/Cellar/rubinius/2.0.0/share/man --gemsdir /usr/local/Cellar/rubinius/2.0.0/lib/rubinius/gems
------------------------- WARNING -----------------------
The specified prefix '/usr/local/Cellar/rubinius/2.0.0' already exists.
Installing Rubinius into an existing directory may
overwrite existing unrelated files or cause conflicts
between different versions of Rubinius files.
---------------------------------------------------------
Checking gcc: found
Checking g++: found
Checking bison: found
Configuring LLVM...
Checking for existing LLVM library tree: not found.
Checking for prebuilt LLVM package...
http://asset.rubini.us/prebuilt/llvm-3.2-x86_64-apple-darwin12.5.0.tar.bz2 not found.
Downloading llvm-3.2-x86_64-apple-darwin12.tar.bz2...
[ 100% (7315560 of 7315560) ]: done!
Downloading llvm-3.2-x86_64-apple-darwin12.tar.bz2.md5...
[ 100% (33 of 33) ]: done!
MD5 checksum for prebuilt LLVM verified.
Prebuilt packages updated.
Unpacking prebuilt LLVM: llvm-3.2-x86_64-apple-darwin12.tar.bz2: done!
Checking sizeof(short): 2 bytes
Checking sizeof(int): 4 bytes
Checking sizeof(void*): 8 bytes
Checking sizeof(size_t): 8 bytes
Checking sizeof(long): 8 bytes
Checking sizeof(long long): 8 bytes
Checking sizeof(float): 4 bytes
Checking sizeof(double): 8 bytes
Checking sizeof(off_t): 8 bytes
Checking sizeof(time_t): 8 bytes
Checking for libc version: libc.dylib found!
Checking platform endianness: little endian
Checking for tr1: found
Checking for tr1/hash definition: found
Checking for x86_32: no
Checking for x86_64: yes
Checking for function 'backtrace': found!
Checking for function 'clock_gettime': not found
Checking for function 'nl_langinfo': found!
Checking for function 'setproctitle': not found
Checking for function 'posix_fadvise': not found
Checking for function 'strnlen': found!
Checking for function 'lchmod': found!
Checking for function 'lchown': found!
Checking for struct tm has member tm_gmtoff: found!
Checking for struct tm has member tm_zone: found!
Checking for global 'timezone': found!
Checking for global 'tzname': found!
Checking for global 'daylight': found!
Checking for header 'zlib.h': found!
Checking for header 'openssl/ssl.h': found!
Checking for header 'alloca.h': found!
Checking for header 'string.h': found!
Checking for header 'sys/time.h': found!
Checking for header 'sys/times.h': found!
Checking for header 'sys/types.h': found!
Checking for header 'unistd.h': found!
Checking for header 'stdarg.h': found!
Checking for header 'sys/pstat.h': not found
Checking for header 'valgrind/valgrind.h': not found
Checking curses library: curses
Checking if function 'strerror_r' returns char*: no
Fetching bootstrap gems...
Checking rubinius-ast (~> 2.0)
Checking rubinius-compiler (~> 2.0)
Checking rubinius-melbourne (~> 2.0)
Checking rubinius-processor (~> 2.0)
Checking rubinius-toolset (~> 0.1)
Checking ffi2-generators (~> 0.1)
Checking rubysl-etc (~> 2.0)
Checking rubysl-fileutils (~> 2.0)
Checking rubysl-mkmf (~> 2.0)
Checking rubysl-shellwords (~> 2.0)
Checking psych (~> 2.0)
Checking rubysl-date (~> 2.0)
Checking rubysl-delegate (~> 2.0)
Checking rubysl-digest (~> 2.0)
Checking rubysl-fcntl (~> 2.0)
Checking rubysl-monitor (~> 2.0)
Checking rubysl-net-http (~> 2.0)
Checking rubysl-net-protocol (~> 2.0)
Checking rubysl-openssl (~> 2.0)
Checking rubysl-optparse (~> 2.0)
Checking rubysl-ostruct (~> 2.0)
Checking rubysl-resolv (~> 2.0)
Checking rubysl-socket (~> 2.0)
Checking rubysl-stringio (~> 2.0)
Checking rubysl-strscan (~> 2.0)
Checking rubysl-tempfile (~> 2.0)
Checking rubysl-thread (~> 2.0)
Checking rubysl-time (~> 2.0)
Checking rubysl-timeout (~> 2.0)
Checking rubysl-tmpdir (~> 2.0)
Checking rubysl-tsort (~> 2.0)
Checking rubysl-uri (~> 2.0)
Checking rubysl-yaml (~> 2.0)
Checking rubysl-zlib (~> 2.0)
Checking json (~> 1.8)
Checking rake (~> 10.1)
Checking rdoc (~> 4.0)
Checking rubysl-rake (~> 2.0)
Checking ffi2-generators (~> 0.1)
Checking rubinius-profiler (~> 2.0)
Checking rubinius-coverage (~> 2.0)
Checking rubinius-debugger (~> 2.0)
Checking rubysl (~> 2.0)
Checking dependencies for json (1.8.0)
Checking dependencies for rake (10.1.0)
Checking dependencies for rdoc (4.0.1)
Checking dependencies for rubysl-rake (2.0.0)
Checking dependencies for ffi2-generators (0.1.1)
Checking dependencies for rubinius-profiler (2.0.0)
Checking dependencies for rubinius-coverage (2.0.1)
Checking dependencies for rubinius-debugger (2.0.0)
Checking dependencies for rubysl (2.0.8)
Fetching gems...
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Unable to download required gems.
Running 'configure' failed. Please check configure.log for more details.
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 6e40529e235477ded51724f2ef6c09c1e21b704b
CPU: quad-core 64-bit haswell
OS X: 10.8.5-x86_64
Xcode: 5.0 => /Applications/Xcode5-DP2.app/Contents/Developer
CLT: 5.0.0.0.1.1364255407
X11: N/A
==> ENV
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline
CMAKE_FRAMEWORK_PATH: /usr/local/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.8
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8:/usr/lib/pkgconfig
PATH: /usr/local/opt/openssl/bin:/Users/bert/source/go/bin:/Applications/Postgres.app/Contents/MacOS/bin:/usr/local/opt/ruby/bin:/usr/local/bin:/Users/bert/scripts:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/go/bin:/Users/bert/plan9/bin:/usr/local/Library/Contributions/cmd
CPATH: /usr/local/include
Error: rubinius did not build
bash-3.2$
There are no logs in /Users/bert/Library/Logs/Homebrew/rubinius.
----
bash-3.2$ cd ~/Library/Logs/Homebrew/rubinius/
bash-3.2$ ls
bash-3.2$ ls -a
. ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment