Advertisement
Guest User

Python and Ruby installation problems CentOS 5.8. i386

a guest
Sep 27th, 2012
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.48 KB | None | 0 0
  1. # curl http://python-distribute.org/distribute_setup.py | python
  2. ...
  3. byte-compiling build/bdist.linux-i686/egg/easy_install.py to easy_install.pyc
  4. creating build/bdist.linux-i686/egg/EGG-INFO
  5. copying distribute.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
  6. copying distribute.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
  7. copying distribute.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
  8. copying distribute.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
  9. copying distribute.egg-info/not-zip-safe -> build/bdist.linux-i686/egg/EGG-INFO
  10. copying distribute.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
  11. creating dist
  12. creating 'dist/distribute-0.6.28-py2.4.egg' and adding 'build/bdist.linux-i686/egg' to it
  13. removing 'build/bdist.linux-i686/egg' (and everything under it)
  14. Processing distribute-0.6.28-py2.4.egg
  15. removing '/usr/lib/python2.4/site-packages/distribute-0.6.28-py2.4.egg' (and everything under it)
  16. creating /usr/lib/python2.4/site-packages/distribute-0.6.28-py2.4.egg
  17. Extracting distribute-0.6.28-py2.4.egg to /usr/lib/python2.4/site-packages
  18. distribute 0.6.28 is already the active version in easy-install.pth
  19. Installing easy_install script to /usr/bin
  20. Installing easy_install-2.4 script to /usr/bin
  21.  
  22. Installed /usr/lib/python2.4/site-packages/distribute-0.6.28-py2.4.egg
  23. Processing dependencies for distribute==0.6.28
  24. Finished processing dependencies for distribute==0.6.28
  25. After install bootstrap.
  26. /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg-info already exists
  27.  
  28. #
  29.  
  30. and then I have installed:
  31.  
  32. # easy_install pip
  33. Searching for pip
  34. Best match: pip 1.2.1
  35. Processing pip-1.2.1-py2.4.egg
  36. pip 1.2.1 is already the active version in easy-install.pth
  37. Installing pip script to /usr/bin
  38. Installing pip-2.4 script to /usr/bin
  39.  
  40. Using /usr/lib/python2.4/site-packages/pip-1.2.1-py2.4.egg
  41. Processing dependencies for pip
  42. Finished processing dependencies for pip
  43. #
  44.  
  45. but pygments are failed:
  46.  
  47. # pip install pygments
  48. Traceback (most recent call last):
  49. File "/usr/bin/pip", line 8, in ?
  50. sys.exit(
  51. File "/usr/lib/python2.4/site-packages/distribute-0.6.28-py2.4.egg/pkg_resources.py", line 337, in load_entry_point
  52. return get_distribution(dist).load_entry_point(group, name)
  53. File "/usr/lib/python2.4/site-packages/distribute-0.6.28-py2.4.egg/pkg_resources.py", line 2311, in load_entry_point
  54. return ep.load()
  55. File "/usr/lib/python2.4/site-packages/distribute-0.6.28-py2.4.egg/pkg_resources.py", line 2017, in load
  56. entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  57. File "/usr/lib/python2.4/site-packages/pip-1.2.1-py2.4.egg/pip/__init__.py", line 9, in ?
  58. from pip.basecommand import command_dict, load_command, load_all_commands, command_names
  59. File "/usr/lib/python2.4/site-packages/pip-1.2.1-py2.4.egg/pip/basecommand.py", line 4, in ?
  60. from pkgutil import walk_packages
  61. ImportError: cannot import name walk_packages
  62. #
  63.  
  64. Also, I have the same problems with Ruby bundle insall part:
  65.  
  66. # bundle install
  67. Fetching gem metadata from http://rubygems.org/.......
  68. Fetching gem metadata from http://rubygems.org/..
  69. Using rake (0.9.2.2)
  70. Using i18n (0.6.1)
  71. Using multi_json (1.3.6)
  72. Using activesupport (3.2.8)
  73. Using builder (3.0.2)
  74. Using activemodel (3.2.8)
  75. Using erubis (2.7.0)
  76. Using journey (1.0.4)
  77. Using rack (1.4.1)
  78. Using rack-cache (1.2)
  79. Using rack-test (0.6.1)
  80. Using hike (1.2.1)
  81. Using tilt (1.3.3)
  82. Using sprockets (2.1.3)
  83. Using actionpack (3.2.8)
  84. Using mime-types (1.19)
  85. Using polyglot (0.3.3)
  86. Using treetop (1.4.10)
  87. Using mail (2.4.4)
  88. Using actionmailer (3.2.8)
  89. Using arel (3.0.2)
  90. Using tzinfo (0.3.33)
  91. Using activerecord (3.2.8)
  92. Using activeresource (3.2.8)
  93. Using bundler (1.2.1)
  94. Using rack-ssl (1.3.2)
  95. Using json (1.7.5)
  96. Using rdoc (3.12)
  97. Using thor (0.16.0)
  98. Using railties (3.2.8)
  99. Using rails (3.2.8)
  100. Using acts-as-taggable-on (2.3.1)
  101. Using addressable (2.2.8)
  102. Using annotate (2.4.1.beta1) from https://github.com/ctran/annotate_models.git (at master)
  103. Using awesome_print (1.0.2)
  104. Using bcrypt-ruby (3.0.1)
  105. Using blankslate (2.1.2.4)
  106. Using bootstrap-sass (2.0.4.0)
  107. Using nokogiri (1.5.3)
  108. Using ffi (1.0.11)
  109. Using childprocess (0.3.2)
  110. Using libwebsocket (0.1.3)
  111. Using rubyzip (0.9.8)
  112. Using selenium-webdriver (2.22.2)
  113. Using xpath (0.1.4)
  114. Using capybara (1.1.2)
  115. Installing capybara-webkit (0.12.1) with native extensions
  116. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  117.  
  118. /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
  119.  
  120.  
  121. Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.12.1 for inspection.
  122. Results logged to /usr/local/rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.12.1/./gem_make.out
  123. An error occurred while installing capybara-webkit (0.12.1), and Bundler cannot continue.
  124. Make sure that `gem install capybara-webkit -v '0.12.1'` succeeds before bundling.
  125. #
  126.  
  127. # cat /usr/local/rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.12.1
  128. cat: /usr/local/rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.12.1: Is a directory
  129. # ls -Al /usr/local/rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.12.1
  130. total 88
  131. -rw-r--r-- 1 root rvm 103 Sep 27 22:36 Appraisals
  132. drwxrwsr-x 2 root rvm 4096 Sep 27 22:36 bin
  133. -rw-r--r-- 1 root rvm 1001 Sep 27 22:36 capybara-webkit.gemspec
  134. -rw-r--r-- 1 root rvm 2795 Sep 27 22:36 ChangeLog
  135. -rw-r--r-- 1 root rvm 1566 Sep 27 22:36 CONTRIBUTING.md
  136. -rw-r--r-- 1 root rvm 126 Sep 27 22:36 extconf.rb
  137. -rw-r--r-- 1 root rvm 38 Sep 27 22:36 Gemfile
  138. -rw-r--r-- 1 root rvm 1296 Sep 27 22:36 Gemfile.lock
  139. drwxrwsr-x 2 root rvm 4096 Sep 27 22:36 gemfiles
  140. -rw-rw-r-- 1 root rvm 59 Sep 27 22:36 gem_make.out
  141. -rw-r--r-- 1 root rvm 170 Sep 27 22:36 .gitignore
  142. drwxrwsr-x 3 root rvm 4096 Sep 27 22:36 lib
  143. -rw-r--r-- 1 root rvm 1060 Sep 27 22:36 LICENSE
  144. -rw-r--r-- 1 root rvm 1494 Sep 27 22:36 NEWS.md
  145. -rw-r--r-- 1 root rvm 1810 Sep 27 22:36 Rakefile
  146. -rw-r--r-- 1 root rvm 4515 Sep 27 22:36 README.md
  147. -rw-r--r-- 1 root rvm 31 Sep 27 22:36 .rspec
  148. drwxrwsr-x 3 root rvm 4096 Sep 27 22:36 spec
  149. drwxrwsr-x 2 root rvm 4096 Sep 27 22:36 src
  150. drwxrwsr-x 2 root rvm 4096 Sep 27 22:36 templates
  151. -rw-r--r-- 1 root rvm 71 Sep 27 22:36 webkit_server.pro
  152.  
  153. Full output of /usr/local/rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.12.1/gem_make.out is:
  154.  
  155. # cat /usr/local/rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.12.1/gem_make.out
  156. /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
  157. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement