Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.48 KB | None | 0 0
  1. ruby 2.3.0p0
  2.  
  3. Rails 4.1.0
  4.  
  5. rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
  6.  
  7. Fetching gem metadata from http://rubygems.org/...........
  8. Fetching version metadata from http://rubygems.org/...
  9. Fetching dependency metadata from http://rubygems.org/..
  10. Resolving dependencies...........
  11. Rubygems 2.0.3 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
  12. Using rake 11.1.2
  13. Using i18n 0.7.0
  14. Using json 1.8.3
  15. Using minitest 5.8.4
  16. Using thread_safe 0.3.5
  17. Using builder 3.2.2
  18. Using erubis 2.7.0
  19. Using rack 1.5.5
  20. Using mime-types 1.25.1
  21. Using polyglot 0.3.5
  22. Using arel 5.0.1.20140414130214
  23. Using bundler 1.11.2
  24. Using coffee-script-source 1.10.0
  25. Using execjs 2.6.0
  26. Using thor 0.19.1
  27. Using hike 1.2.3
  28. Using multi_json 1.11.3
  29. Using tilt 1.4.1
  30. Using sass 3.2.19
  31. Using spring 1.7.1
  32. Installing sqlite3 1.3.11 with native extensions
  33.  
  34. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  35.  
  36. /home/afsane/.rvm/rubies/ruby-2.3.0/bin/ruby extconf.rb
  37. checking for sqlite3.h... *** extconf.rb failed ***
  38. Could not create Makefile due to some reason, probably lack of necessary
  39. libraries and/or headers. Check the mkmf.log file for more details. You may
  40. need configuration options.
  41.  
  42. Provided configuration options:
  43. --with-opt-dir
  44. --without-opt-dir
  45. --with-opt-include
  46. --without-opt-include=${opt-dir}/include
  47. --with-opt-lib
  48. --without-opt-lib=${opt-dir}/lib
  49. --with-make-prog
  50. --without-make-prog
  51. --srcdir=.
  52. --curdir
  53. --ruby=/home/afsane/.rvm/rubies/ruby-2.3.0/bin/$(RUBY_BASE_NAME)
  54. --with-sqlite3-dir
  55. --without-sqlite3-dir
  56. --with-sqlite3-include
  57. --without-sqlite3-include=${sqlite3-dir}/include
  58. --with-sqlite3-lib
  59. --without-sqlite3-lib=${sqlite3-dir}/lib
  60. /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  61. You have to install development tools first.
  62. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:587:in `try_cpp'
  63. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:1144:in `block in find_header'
  64. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
  65. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
  66. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:320:in `open'
  67. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
  68. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:320:in `open'
  69. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
  70. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
  71. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:1143:in `find_header'
  72. from extconf.rb:30:in `<main>'
  73.  
  74.  
  75. Gem files will remain installed in /home/afsane/.rvm/gems/ruby-2.3.0/gems/sqlite3-1.3.11 for inspection.
  76. Results logged to /home/afsane/.rvm/gems/ruby-2.3.0/gems/sqlite3-1.3.11/ext/sqlite3/gem_make.out
  77. Using rdoc 4.2.2
  78. Using tzinfo 1.2.2
  79. Using rack-test 0.6.3
  80. Using treetop 1.4.15
  81. Using coffee-script 2.4.1
  82. Using uglifier 3.0.0
  83. Using sprockets 2.12.4
  84. An error occurred while installing sqlite3 (1.3.11), and Bundler cannot continue.
  85. Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling.
  86. afsane@afsaneF:~/Desktop/Afsaneh/test2$ clear
  87.  
  88. afsane@afsaneF:~/Desktop/Afsaneh/test2$ cd
  89. afsane@afsaneF:~$ ruby -v
  90. ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
  91. afsane@afsaneF:~$ ^C
  92. afsane@afsaneF:~$ rails -v
  93. Rails 4.1.0
  94. afsane@afsaneF:~$ rvm -v
  95. rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
  96. afsane@afsaneF:~$ cd Desktop
  97. afsane@afsaneF:~/Desktop$ cd Afsaneh
  98. afsane@afsaneF:~/Desktop/Afsaneh$ cd test1
  99. afsane@afsaneF:~/Desktop/Afsaneh/test1$ bundle install
  100. Fetching gem metadata from http://rubygems.org/...........
  101. Fetching version metadata from http://rubygems.org/...
  102. Fetching dependency metadata from http://rubygems.org/..
  103. Resolving dependencies...........
  104. Rubygems 2.0.3 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
  105. Using rake 11.1.2
  106. Using i18n 0.7.0
  107. Using json 1.8.3
  108. Using minitest 5.8.4
  109. Using thread_safe 0.3.5
  110. Using builder 3.2.2
  111. Using erubis 2.7.0
  112. Using rack 1.5.5
  113. Using mime-types 1.25.1
  114. Using polyglot 0.3.5
  115. Using arel 5.0.1.20140414130214
  116. Using bundler 1.11.2
  117. Using coffee-script-source 1.10.0
  118. Using execjs 2.6.0
  119. Using thor 0.19.1
  120. Using columnize 0.9.0
  121. Using debugger-linecache 1.2.0
  122. Using debugger-ruby_core_source 1.3.8
  123. Using hike 1.2.3
  124. Using multi_json 1.11.3
  125. Using tilt 1.4.1
  126. Using sass 3.2.19
  127. Using spring 1.7.1
  128. Installing sqlite3 1.3.11 with native extensions
  129.  
  130. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  131.  
  132. /home/afsane/.rvm/rubies/ruby-2.3.0/bin/ruby extconf.rb
  133. checking for sqlite3.h... *** extconf.rb failed ***
  134. Could not create Makefile due to some reason, probably lack of necessary
  135. libraries and/or headers. Check the mkmf.log file for more details. You may
  136. need configuration options.
  137.  
  138. Provided configuration options:
  139. --with-opt-dir
  140. --without-opt-dir
  141. --with-opt-include
  142. --without-opt-include=${opt-dir}/include
  143. --with-opt-lib
  144. --without-opt-lib=${opt-dir}/lib
  145. --with-make-prog
  146. --without-make-prog
  147. --srcdir=.
  148. --curdir
  149. --ruby=/home/afsane/.rvm/rubies/ruby-2.3.0/bin/$(RUBY_BASE_NAME)
  150. --with-sqlite3-dir
  151. --without-sqlite3-dir
  152. --with-sqlite3-include
  153. --without-sqlite3-include=${sqlite3-dir}/include
  154. --with-sqlite3-lib
  155. --without-sqlite3-lib=${sqlite3-dir}/lib
  156. /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  157. You have to install development tools first.
  158. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:587:in `try_cpp'
  159. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:1144:in `block in find_header'
  160. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
  161. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
  162. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:320:in `open'
  163. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
  164. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:320:in `open'
  165. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
  166. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
  167. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/mkmf.rb:1143:in `find_header'
  168. from extconf.rb:30:in `<main>'
  169.  
  170.  
  171. Gem files will remain installed in /home/afsane/.rvm/gems/ruby-2.3.0/gems/sqlite3-1.3.11 for inspection.
  172. Results logged to /home/afsane/.rvm/gems/ruby-2.3.0/gems/sqlite3-1.3.11/ext/sqlite3/gem_make.out
  173. Using rdoc 4.2.2
  174. Using tzinfo 1.2.2
  175. Using rack-test 0.6.3
  176. Using treetop 1.4.15
  177. Using coffee-script 2.4.1
  178. Using uglifier 3.0.0
  179. Installing debugger 1.6.8 with native extensions
  180.  
  181. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  182.  
  183. /home/afsane/.rvm/rubies/ruby-2.3.0/bin/ruby extconf.rb
  184. *** extconf.rb failed ***
  185. Could not create Makefile due to some reason, probably lack of necessary
  186. libraries and/or headers. Check the mkmf.log file for more details. You may
  187. need configuration options.
  188.  
  189. Provided configuration options:
  190. --with-opt-dir
  191. --without-opt-dir
  192. --with-opt-include
  193. --without-opt-include=${opt-dir}/include
  194. --with-opt-lib
  195. --without-opt-lib=${opt-dir}/lib
  196. --with-make-prog
  197. --without-make-prog
  198. --srcdir=.
  199. --curdir
  200. --ruby=/home/afsane/.rvm/rubies/ruby-2.3.0/bin/$(RUBY_BASE_NAME)
  201. /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1392:in `initialize': No such file or directory @ rb_sysopen - ./230/ruby_debug.h (Errno::ENOENT)
  202. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1392:in `open'
  203. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1392:in `copy_file'
  204. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:486:in `copy_file'
  205. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:403:in `block in cp'
  206. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1571:in `block in fu_each_src_dest'
  207. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1585:in `fu_each_src_dest0'
  208. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:1569:in `fu_each_src_dest'
  209. from /home/afsane/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/fileutils.rb:402:in `cp'
  210. from extconf.rb:83:in `block in <main>'
  211. from extconf.rb:82:in `each'
  212. from extconf.rb:82:in `<main>'
  213.  
  214.  
  215. Gem files will remain installed in /home/afsane/.rvm/gems/ruby-2.3.0/gems/debugger-1.6.8 for inspection.
  216. Results logged to /home/afsane/.rvm/gems/ruby-2.3.0/gems/debugger-1.6.8/ext/ruby_debug/gem_make.out
  217. Using sprockets 2.12.4
  218. An error occurred while installing sqlite3 (1.3.11), and Bundler cannot continue.
  219. Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling.
  220.  
  221. sudo apt-get install sqliteman sqlite3
  222. sudo gem install sqlite3 -v '1.3.7'
  223. sudo apt-get install -y sqlite3 libsqlite3-dev
  224. gem install sqlite3
  225. sudo gem update --system
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement