Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing 1.8.7-p358 with rbenv, when glibc >= 2.14 is installed
build_package_stdout_patch() {
wget ''
patch -p1 < stdout-rouge-fix.patch
install_package "ruby-1.8.7-p358" "" stdout_patch standard
install_package "rubygems-1.6.2" "" ruby

This comment has been minimized.

Copy link
Owner Author

commented Mar 22, 2012

This will help with installing 1.8.7-p358 when glibc is newer than 2.14. Without the patch it will not compile, yielding a similar result to this:


Inspect or clean up the working tree at /tmp/ruby-build.20120322164533.20365
Results logged to /tmp/ruby-build.20120322164533.20365.log

Last 10 log lines:
callback.func:78:33: error: expected ‘)’ before ‘(’ token
callback.func:79:3: warning: data definition has no type or storage class [enabled by default]
callback.func:79:24: error: ‘proc’ undeclared here (not in a function)
callback.func:79:39: error: ‘argc’ undeclared here (not in a function)
callback.func:79:45: error: ‘argv’ undeclared here (not in a function)
callback.func:82:1: error: expected identifier or ‘(’ before ‘}’ token
dl.c:106:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘static’
make[1]: *** [dl.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.