Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. predatorian@reincarnate:~/Downloads/ruby-2.3.1
  2. $ RBENV_VERSION=2.3.1 gem install tk
  3. Building native extensions. This could take a while...
  4. ERROR: Error installing tk:
  5. ERROR: Failed to build gem native extension.
  6.  
  7. current directory: /home/predatorian/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/tk-0.1.1/ext/tk
  8. /home/predatorian/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20160925-4025-nw2gr5.rb extconf.rb
  9. check functions.checking for ruby_native_thread_p() in ruby.h... yes
  10. checking for rb_errinfo() in ruby.h... yes
  11. checking for rb_safe_level() in ruby.h... yes
  12. checking for rb_hash_lookup() in ruby.h... yes
  13. checking for rb_proc_new() in ruby.h... yes
  14. checking for rb_obj_untrust() in ruby.h... yes
  15. checking for rb_obj_taint() in ruby.h... yes
  16. checking for rb_set_safe_level_force() in ruby.h... yes
  17. checking for rb_sourcefile() in ruby.h... yes
  18. checking for rb_thread_alive_p() in ruby.h... no
  19. checking for rb_thread_check_trap_pending() in ruby.h... yes
  20. checking for ruby_enc_find_basename() in ruby.h... yes
  21. check libraries.checking for t_open() in -lnsl... no
  22. checking for socket() in -lsocket... no
  23. checking for dlopen() in -ldl... yes
  24. checking for log() in -lm... yes
  25. Use ActiveTcl libraries (if available).
  26. Search tclConfig.sh and tkConfig.sh.
  27. Fail to find [tclConfig.sh, tkConfig.sh]
  28. Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
  29. checking for XOpenDisplay() in -lX11... yes
  30. Search tcl.h
  31. checking for tcl.h... no
  32. Search tk.h
  33. checking for tk.h... no
  34. Search Tcl library...........Search Tcl library...........*** extconf.rb failed ***
  35. Could not create Makefile due to some reason, probably lack of necessary
  36. libraries and/or headers. Check the mkmf.log file for more details. You may
  37. need configuration options.
  38.  
  39. Provided configuration options:
  40. --with-opt-dir
  41. --without-opt-dir
  42. --with-opt-include
  43. --without-opt-include=${opt-dir}/include
  44. --with-opt-lib
  45. --without-opt-lib=${opt-dir}/lib
  46. --with-make-prog
  47. --without-make-prog
  48. --srcdir=.
  49. --curdir
  50. --ruby=/home/predatorian/.rbenv/versions/2.3.1/bin/$(RUBY_BASE_NAME)
  51. --enable-shared
  52. --disable-shared
  53. --with-tk-old-extconf
  54. --without-tk-old-extconf
  55. --with-tk-old-extconf
  56. --without-tk-old-extconf
  57. --with-ActiveTcl
  58. --without-ActiveTcl
  59. --with-tk-shlib-search-path
  60. --without-tk-shlib-search-path
  61. --with-tcltkversion
  62. --without-tcltkversion
  63. --with-tcl-build-dir
  64. --without-tcl-build-dir
  65. --with-tk-build-dir
  66. --without-tk-build-dir
  67. --with-tcl-config
  68. --without-tcl-config
  69. --with-tk-config
  70. --without-tk-config
  71. --with-tclConfig-dir
  72. --without-tclConfig-dir
  73. --with-tkConfig-dir
  74. --without-tkConfig-dir
  75. --with-tclConfig-file
  76. --without-tclConfig-file
  77. --with-tkConfig-file
  78. --without-tkConfig-file
  79. --with-tcllib
  80. --without-tcllib
  81. --with-tklib
  82. --without-tklib
  83. --with-tcl-dir
  84. --without-tcl-dir
  85. --with-tk-dir
  86. --without-tk-dir
  87. --with-tcl-include
  88. --without-tcl-include
  89. --with-tk-include
  90. --without-tk-include
  91. --with-tcl-lib
  92. --without-tcl-lib
  93. --with-tk-lib
  94. --without-tk-lib
  95. --with-tcltk-framework
  96. --without-tcltk-framework
  97. --with-tcl-framework-dir
  98. --without-tcl-framework-dir
  99. --with-tk-framework-dir
  100. --without-tk-framework-dir
  101. --with-tcl-framework-header
  102. --without-tcl-framework-header
  103. --with-tk-framework-header
  104. --without-tk-framework-header
  105. --with-X11
  106. --without-X11
  107. --with-X11-dir
  108. --without-X11-dir
  109. --with-X11-include
  110. --without-X11-include
  111. --with-X11-lib
  112. --without-X11-lib
  113. --enable-tcltk-stubs
  114. --disable-tcltk-stubs
  115. --enable-tcl-h-ver-check
  116. --disable-tcl-h-ver-check
  117. --enable-tk-h-ver-check
  118. --disable-tk-h-ver-check
  119. --enable-mac-tcltk-framework
  120. --disable-mac-tcltk-framework
  121. --enable-tcltk-framework
  122. --disable-tcltk-framework
  123. --enable-pthread
  124. --disable-pthread
  125. --enable-tcl-thread
  126. --disable-tcl-thread
  127. --enable-space-on-tk-libpath
  128. --disable-space-on-tk-libpath
  129. --with-nsllib
  130. --without-nsllib
  131. --with-socketlib
  132. --without-socketlib
  133. --with-dllib
  134. --without-dllib
  135. --with-mlib
  136. --without-mlib
  137. --with-tcl-build-dir
  138. --without-tcl-build-dir
  139. --with-tk-build-dir
  140. --without-tk-build-dir
  141. --with-tcltkversion
  142. --without-tcltkversion
  143. --with-ActiveTcl
  144. --without-ActiveTcl
  145. --enable-space-on-tk-libpath
  146. --disable-space-on-tk-libpath
  147. --enable-tcltk-stubs
  148. --disable-tcltk-stubs
  149. --with-tcltk-stubs
  150. --without-tcltk-stubs
  151. --with-tcl-dir
  152. --without-tcl-dir
  153. --with-tcl-include
  154. --without-tcl-include=${tcl-dir}/include
  155. --with-tcl-lib
  156. --without-tcl-lib=${tcl-dir}/lib
  157. --with-tk-dir
  158. --without-tk-dir
  159. --with-tk-include
  160. --without-tk-include=${tk-dir}/include
  161. --with-tk-lib
  162. --without-tk-lib=${tk-dir}/lib
  163. --with-tclConfig-file
  164. --without-tclConfig-file
  165. --with-tkConfig-file
  166. --without-tkConfig-file
  167. --with-tclConfig-dir
  168. --without-tclConfig-dir
  169. --with-tkConfig-dir
  170. --without-tkConfig-dir
  171. --with-tcl-framework-header
  172. --without-tcl-framework-header
  173. --with-tk-framework-header
  174. --without-tk-framework-header
  175. --with-tcl-framework-dir
  176. --without-tcl-framework-dir
  177. --with-tk-framework-dir
  178. --without-tk-framework-dir
  179. --with-tcltk-framework
  180. --without-tcltk-framework
  181. --enable-tcltk-framework
  182. --disable-tcltk-framework
  183. --with-tcltk-framework
  184. --without-tcltk-framework
  185. --enable-tcltk-framework
  186. --disable-tcltk-framework
  187. --enable-mac-tcltk-framework
  188. --disable-mac-tcltk-framework
  189. --with-tk-shlib-search-path
  190. --without-tk-shlib-search-path
  191. --with-tklib
  192. --without-tklib
  193. --with-tcllib
  194. --without-tcllib
  195. --with-X11
  196. --without-X11
  197. --with-X11-dir
  198. --without-X11-dir
  199. --with-X11-include
  200. --without-X11-include=${X11-dir}/include
  201. --with-X11-lib
  202. --without-X11-lib=${X11-dir}/lib
  203. --with-X11-lib
  204. --without-X11-lib
  205. --with-X11lib
  206. --without-X11lib
  207. --enable-tcl-h-ver-check
  208. --disable-tcl-h-ver-check
  209. --enable-tk-h-ver-check
  210. --disable-tk-h-ver-check
  211.  
  212. Warning:: cannot find Tcl library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options.
  213.  
  214. Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk.
  215. If you have Tcl/Tk libraries on your environment, you may be able to use them with configure options (see ext/tk/README.tcltklib).
  216. At present, Tcl/Tk8.6 is not supported. Although you can try to use Tcl/Tk8.6 with configure options, it will not work correctly. I recommend you to use Tcl/Tk8.5 or 8.4.
  217.  
  218. To see why this extension failed to compile, please check the mkmf.log which can be found here:
  219.  
  220. /home/predatorian/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/tk-0.1.1/mkmf.log
  221.  
  222. extconf failed, exit code 1
  223.  
  224. Gem files will remain installed in /home/predatorian/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/tk-0.1.1 for inspection.
  225. Results logged to /home/predatorian/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/tk-0.1.1/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement