daily pastebin goal
6%
SHARE
TWEET

rbenv ree install fails

a guest May 14th, 2012 148 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. On my Ubuntu 12.04 64 big install:
  2. # uname -a
  3. Linux rhapunder 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  4.  
  5. with rbenv:
  6. # rbenv
  7. rbenv 0.3.0
  8. usage: rbenv <command> [<args>]
  9. ...
  10. ---snip---
  11. I am unable to install any ree-1.8.7-* version because of the requirement for libreadline5-dev:
  12. # rbenv install ree-1.8.7-2011.12
  13. Downloading http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.12.tar.gz...
  14. Installing ruby-enterprise-1.8.7-2011.12...
  15.  
  16. BUILD FAILED
  17.  
  18. Inspect or clean up the working tree at /tmp/ruby-build.20120514150633.10784
  19. Results logged to /tmp/ruby-build.20120514150633.10784.log
  20.  
  21. Last 10 log lines:
  22. Some required software is not installed.
  23. But don't worry, this installer will tell you how to install them.
  24. Press Enter to continue, or Ctrl-C to abort.
  25. --------------------------------------------
  26. Installation instructions for required software
  27.  
  28.  * To install GNU Readline development headers:
  29.    Please run apt-get install libreadline5-dev as root.
  30. ---snip---
  31. When I try to install libreadline5-dev it refers me to something else, and then the something else fails too:
  32.  
  33.  
  34. # apt-get install libreadline5-dev
  35. Reading package lists... Done
  36. Building dependency tree      
  37. Reading state information... Done
  38. Package libreadline5-dev is not available, but is referred to by another package.
  39. This may mean that the package is missing, has been obsoleted, or
  40. is only available from another source
  41. However the following packages replace it:
  42.   libreadline-gplv2-dev:i386 lib64readline-gplv2-dev:i386 libreadline-gplv2-dev
  43.  
  44. E: Package 'libreadline5-dev' has no installation candidate
  45. ---snip---
  46. The first two of the above fail to install for me, and the third causes  the original target rbenv install to fail.
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top