Guest User

Untitled

a guest
Feb 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.82 KB | None | 0 0
  1. ~ >sudo gem install textpow
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing textpow:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /usr/local/bin/ruby extconf.rb install textpow
  7. checking for main() in -lonig... no
  8. creating Makefile
  9.  
  10. make
  11. gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin9.4.0 -I. -fno-common -Wall -c oregexp.c
  12. oregexp.c:2:23: error: oniguruma.h: No such file or directory
  13. oregexp.c:9: error: syntax error before ‘regex_t’
  14. oregexp.c:9: warning: no semicolon at end of struct or union
  15. oregexp.c:10: warning: type defaults to ‘int’ in declaration of ‘ORegexp’
  16. oregexp.c:10: warning: data definition has no type or storage class
  17. oregexp.c:15: error: syntax error before ‘*’ token
  18. oregexp.c: In function ‘oregexp_free’:
  19. oregexp.c:16: warning: implicit declaration of function ‘onig_free’
  20. oregexp.c:16: error: ‘oregexp’ undeclared (first use in this function)
  21. oregexp.c:16: error: (Each undeclared identifier is reported only once
  22. oregexp.c:16: error: for each function it appears in.)
  23. oregexp.c: In function ‘oregexp_allocate’:
  24. oregexp.c:21: error: ‘oregexp’ undeclared (first use in this function)
  25. oregexp.c: At top level:
  26. oregexp.c:27: error: syntax error before ‘*’ token
  27. oregexp.c:27: warning: return type defaults to ‘int’
  28. oregexp.c: In function ‘int2encoding’:
  29. oregexp.c:32: error: ‘ONIG_ENCODING_ASCII’ undeclared (first use in this function)
  30. oregexp.c:33: error: ‘ONIG_ENCODING_ISO_8859_1’ undeclared (first use in this function)
  31. oregexp.c:34: error: ‘ONIG_ENCODING_ISO_8859_2’ undeclared (first use in this function)
  32. oregexp.c:35: error: ‘ONIG_ENCODING_ISO_8859_3’ undeclared (first use in this function)
  33. oregexp.c:36: error: ‘ONIG_ENCODING_ISO_8859_4’ undeclared (first use in this function)
  34. oregexp.c:37: error: ‘ONIG_ENCODING_ISO_8859_5’ undeclared (first use in this function)
  35. oregexp.c:38: error: ‘ONIG_ENCODING_ISO_8859_6’ undeclared (first use in this function)
  36. oregexp.c:39: error: ‘ONIG_ENCODING_ISO_8859_7’ undeclared (first use in this function)
  37. oregexp.c:40: error: ‘ONIG_ENCODING_ISO_8859_8’ undeclared (first use in this function)
  38. oregexp.c:41: error: ‘ONIG_ENCODING_ISO_8859_9’ undeclared (first use in this function)
  39. oregexp.c:42: error: ‘ONIG_ENCODING_ISO_8859_10’ undeclared (first use in this function)
  40. oregexp.c:43: error: ‘ONIG_ENCODING_ISO_8859_11’ undeclared (first use in this function)
  41. oregexp.c:45: error: ‘ONIG_ENCODING_ISO_8859_13’ undeclared (first use in this function)
  42. oregexp.c:46: error: ‘ONIG_ENCODING_ISO_8859_14’ undeclared (first use in this function)
  43. oregexp.c:47: error: ‘ONIG_ENCODING_ISO_8859_15’ undeclared (first use in this function)
  44. oregexp.c:48: error: ‘ONIG_ENCODING_ISO_8859_16’ undeclared (first use in this function)
  45. oregexp.c:49: error: ‘ONIG_ENCODING_UTF8’ undeclared (first use in this function)
  46. oregexp.c:50: error: ‘ONIG_ENCODING_UTF16_BE’ undeclared (first use in this function)
  47. oregexp.c:51: error: ‘ONIG_ENCODING_UTF16_LE’ undeclared (first use in this function)
  48. oregexp.c:52: error: ‘ONIG_ENCODING_UTF32_BE’ undeclared (first use in this function)
  49. oregexp.c:53: error: ‘ONIG_ENCODING_UTF32_LE’ undeclared (first use in this function)
  50. oregexp.c:54: error: ‘ONIG_ENCODING_EUC_JP’ undeclared (first use in this function)
  51. oregexp.c:55: error: ‘ONIG_ENCODING_EUC_TW’ undeclared (first use in this function)
  52. oregexp.c:56: error: ‘ONIG_ENCODING_EUC_KR’ undeclared (first use in this function)
  53. oregexp.c:57: error: ‘ONIG_ENCODING_EUC_CN’ undeclared (first use in this function)
  54. oregexp.c:58: error: ‘ONIG_ENCODING_SJIS’ undeclared (first use in this function)
  55. oregexp.c:60: error: ‘ONIG_ENCODING_KOI8_R’ undeclared (first use in this function)
  56. oregexp.c:64: error: ‘ONIG_ENCODING_BIG5’ undeclared (first use in this function)
  57. oregexp.c:65: error: ‘ONIG_ENCODING_GB18030’ undeclared (first use in this function)
  58. oregexp.c:66: error: ‘ONIG_ENCODING_UNDEF’ undeclared (first use in this function)
  59. oregexp.c:70: warning: control reaches end of non-void function
  60. oregexp.c: At top level:
  61. oregexp.c:72: error: syntax error before ‘*’ token
  62. oregexp.c:72: warning: return type defaults to ‘int’
  63. oregexp.c: In function ‘int2syntax’:
  64. oregexp.c:77: error: ‘ONIG_SYNTAX_ASIS’ undeclared (first use in this function)
  65. oregexp.c:78: error: ‘ONIG_SYNTAX_POSIX_BASIC’ undeclared (first use in this function)
  66. oregexp.c:79: error: ‘ONIG_SYNTAX_POSIX_EXTENDED’ undeclared (first use in this function)
  67. oregexp.c:80: error: ‘ONIG_SYNTAX_EMACS’ undeclared (first use in this function)
  68. oregexp.c:81: error: ‘ONIG_SYNTAX_GREP’ undeclared (first use in this function)
  69. oregexp.c:82: error: ‘ONIG_SYNTAX_GNU_REGEX’ undeclared (first use in this function)
  70. oregexp.c:83: error: ‘ONIG_SYNTAX_JAVA’ undeclared (first use in this function)
  71. oregexp.c:84: error: ‘ONIG_SYNTAX_PERL’ undeclared (first use in this function)
  72. oregexp.c:85: error: ‘ONIG_SYNTAX_PERL_NG’ undeclared (first use in this function)
  73. oregexp.c:86: error: ‘ONIG_SYNTAX_RUBY’ undeclared (first use in this function)
  74. oregexp.c:87: error: ‘ONIG_SYNTAX_DEFAULT’ undeclared (first use in this function)
  75. oregexp.c:91: warning: control reaches end of non-void function
  76. oregexp.c: At top level:
  77. oregexp.c:95: error: syntax error before ‘OnigRegion’
  78. oregexp.c:95: warning: no semicolon at end of struct or union
  79. oregexp.c:99: warning: type defaults to ‘int’ in declaration of ‘UChar’
  80. oregexp.c:99: error: syntax error before ‘*’ token
  81. oregexp.c: In function ‘name_callback’:
  82. oregexp.c:107: error: ‘arg’ undeclared (first use in this function)
  83. oregexp.c:109: error: ‘ngroup_num’ undeclared (first use in this function)
  84. oregexp.c:110: error: ‘group_nums’ undeclared (first use in this function)
  85. oregexp.c:111: error: ‘name’ undeclared (first use in this function)
  86. oregexp.c: In function ‘oregexp_initialize’:
  87. oregexp.c:117: error: ‘oregexp’ undeclared (first use in this function)
  88. oregexp.c:118: error: syntax error before ‘)’ token
  89. oregexp.c:123: error: ‘UChar’ undeclared (first use in this function)
  90. oregexp.c:123: error: ‘pat_ptr’ undeclared (first use in this function)
  91. oregexp.c:129: error: ‘OnigEncodingType’ undeclared (first use in this function)
  92. oregexp.c:129: error: ‘iEncoding’ undeclared (first use in this function)
  93. oregexp.c:130: error: ‘OnigSyntaxType’ undeclared (first use in this function)
  94. oregexp.c:130: error: ‘iSyntax’ undeclared (first use in this function)
  95. oregexp.c:134: error: ‘OnigErrorInfo’ undeclared (first use in this function)
  96. oregexp.c:134: error: syntax error before ‘einfo’
  97. oregexp.c:135: warning: implicit declaration of function ‘onig_new’
  98. oregexp.c:135: error: ‘einfo’ undeclared (first use in this function)
  99. oregexp.c:136: error: ‘ONIG_NORMAL’ undeclared (first use in this function)
  100. oregexp.c:137: error: ‘ONIG_MAX_ERROR_MESSAGE_LEN’ undeclared (first use in this function)
  101. oregexp.c:138: warning: implicit declaration of function ‘onig_error_code_to_str’
  102. oregexp.c:137: warning: unused variable ‘s’
  103. oregexp.c: At top level:
  104. oregexp.c:153: error: syntax error before ‘*’ token
  105. oregexp.c: In function ‘oregexp_make_match_data’:
  106. oregexp.c:158: error: ‘region’ undeclared (first use in this function)
  107. oregexp.c:159: error: storage size of ‘packet’ isn’t known
  108. oregexp.c:161: error: ‘string_str’ undeclared (first use in this function)
  109. oregexp.c:162: error: invalid application of ‘sizeof’ to incomplete type ‘struct re_registers’
  110. oregexp.c:163: error: dereferencing pointer to incomplete type
  111. oregexp.c:164: error: dereferencing pointer to incomplete type
  112. oregexp.c:165: error: dereferencing pointer to incomplete type
  113. oregexp.c:166: error: dereferencing pointer to incomplete type
  114. oregexp.c:169: error: dereferencing pointer to incomplete type
  115. oregexp.c:170: error: dereferencing pointer to incomplete type
  116. oregexp.c:174: warning: implicit declaration of function ‘onig_number_of_names’
  117. oregexp.c:174: error: ‘oregexp’ undeclared (first use in this function)
  118. oregexp.c:176: warning: implicit declaration of function ‘onig_foreach_name’
  119. oregexp.c:159: warning: unused variable ‘packet’
  120. oregexp.c: In function ‘oregexp_match’:
  121. oregexp.c:205: error: ‘oregexp’ undeclared (first use in this function)
  122. oregexp.c:206: error: syntax error before ‘)’ token
  123. oregexp.c:211: warning: statement with no effect
  124. oregexp.c:215: error: ‘UChar’ undeclared (first use in this function)
  125. oregexp.c:215: error: ‘str_ptr’ undeclared (first use in this function)
  126. oregexp.c:229: error: ‘OnigRegion’ undeclared (first use in this function)
  127. oregexp.c:229: error: ‘region’ undeclared (first use in this function)
  128. oregexp.c:229: warning: implicit declaration of function ‘onig_region_new’
  129. oregexp.c:230: warning: implicit declaration of function ‘onig_search’
  130. oregexp.c:230: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function)
  131. oregexp.c:234: warning: implicit declaration of function ‘onig_region_free’
  132. oregexp.c:238: error: ‘ONIG_MISMATCH’ undeclared (first use in this function)
  133. oregexp.c:243: error: ‘ONIG_MAX_ERROR_MESSAGE_LEN’ undeclared (first use in this function)
  134. oregexp.c:243: warning: unused variable ‘s’
  135. oregexp.c:248: warning: control reaches end of non-void function
  136. oregexp.c: At top level:
  137. oregexp.c:250: error: syntax error before ‘BACKSLASH’
  138. oregexp.c:250: warning: type defaults to ‘int’ in declaration of ‘BACKSLASH’
  139. oregexp.c:250: warning: data definition has no type or storage class
  140. oregexp.c: In function ‘oregexp_append_replacement’:
  141. oregexp.c:262: error: syntax error before ‘OnigRegion’
  142. oregexp.c:265: error: ‘oregexp’ undeclared (first use in this function)
  143. oregexp.c:268: error: ‘UChar’ undeclared (first use in this function)
  144. oregexp.c:268: error: ‘replacementText’ undeclared (first use in this function)
  145. oregexp.c:269: error: ‘replacementEnd’ undeclared (first use in this function)
  146. oregexp.c:272: error: ‘OnigCodePoint’ undeclared (first use in this function)
  147. oregexp.c:272: error: syntax error before ‘digitC’
  148. oregexp.c:273: error: ‘OnigEncoding’ undeclared (first use in this function)
  149. oregexp.c:274: error: nested functions are disabled, use -fnested-functions to re-enable
  150. oregexp.c:274: error: syntax error before ‘*’ token
  151. oregexp.c:277: error: ‘matchText’ undeclared (first use in this function)
  152. oregexp.c:279: error: syntax error before ‘)’ token
  153. oregexp.c:280: error: ‘enc’ undeclared (first use in this function)
  154. oregexp.c:280: warning: implicit declaration of function ‘onig_get_encoding’
  155. oregexp.c:283: error: syntax error before ‘c’
  156. oregexp.c:284: warning: implicit declaration of function ‘ONIGENC_MBC_ENC_LEN’
  157. oregexp.c:286: error: ‘c’ undeclared (first use in this function)
  158. oregexp.c:307: error: ‘digitC’ undeclared (first use in this function)
  159. oregexp.c:307: warning: implicit declaration of function ‘ONIGENC_MBC_TO_CODE’
  160. oregexp.c:309: warning: implicit declaration of function ‘ONIGENC_IS_CODE_DIGIT’
  161. oregexp.c:328: error: invalid type argument of ‘->’
  162. oregexp.c:328: error: invalid type argument of ‘->’
  163. oregexp.c:328: error: invalid type argument of ‘->’
  164. oregexp.c:332: error: invalid type argument of ‘->’
  165. oregexp.c:336: error: invalid type argument of ‘->’
  166. oregexp.c:336: error: invalid type argument of ‘->’
  167. oregexp.c:346: error: invalid type argument of ‘->’
  168. oregexp.c:347: error: invalid type argument of ‘->’
  169. oregexp.c:348: error: invalid type argument of ‘->’
  170. oregexp.c:363: warning: implicit declaration of function ‘ONIGENC_IS_CODE_WORD’
  171. oregexp.c:375: warning: implicit declaration of function ‘onig_name_to_backref_number’
  172. oregexp.c:378: error: invalid type argument of ‘->’
  173. oregexp.c:379: error: invalid type argument of ‘->’
  174. oregexp.c:379: error: invalid type argument of ‘->’
  175. oregexp.c:391: error: invalid type argument of ‘->’
  176. oregexp.c:391: error: invalid type argument of ‘->’
  177. oregexp.c:392: error: invalid type argument of ‘->’
  178. oregexp.c:392: error: invalid type argument of ‘->’
  179. oregexp.c:392: error: invalid type argument of ‘->’
  180. oregexp.c: In function ‘oregexp_gsub’:
  181. oregexp.c:417: error: syntax error before ‘OnigRegion’
  182. oregexp.c:428: error: ‘oregexp’ undeclared (first use in this function)
  183. oregexp.c:429: error: ‘OnigEncoding’ undeclared (first use in this function)
  184. oregexp.c:429: error: syntax error before ‘enc’
  185. oregexp.c:441: error: syntax error before ‘)’ token
  186. oregexp.c:444: error: ‘UChar’ undeclared (first use in this function)
  187. oregexp.c:444: error: ‘str_ptr’ undeclared (first use in this function)
  188. oregexp.c:447: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function)
  189. oregexp.c:457: error: ‘enc’ undeclared (first use in this function)
  190. oregexp.c:460: error: invalid type argument of ‘->’
  191. oregexp.c:461: error: invalid type argument of ‘->’
  192. oregexp.c: At top level:
  193. oregexp.c:510: error: syntax error before ‘OnigRegion’
  194. oregexp.c:510: warning: no semicolon at end of struct or union
  195. oregexp.c:511: warning: type defaults to ‘int’ in declaration of ‘gsub_packet’
  196. oregexp.c:511: warning: data definition has no type or storage class
  197. oregexp.c:512: error: syntax error before ‘*’ token
  198. oregexp.c: In function ‘oregexp_packed_gsub’:
  199. oregexp.c:513: error: ‘args’ undeclared (first use in this function)
  200. oregexp.c: At top level:
  201. oregexp.c:515: error: syntax error before ‘*’ token
  202. oregexp.c: In function ‘oregexp_cleanup_region’:
  203. oregexp.c:516: error: ‘region’ undeclared (first use in this function)
  204. oregexp.c: In function ‘oregexp_safe_gsub’:
  205. oregexp.c:525: error: ‘OnigRegion’ undeclared (first use in this function)
  206. oregexp.c:525: error: ‘region’ undeclared (first use in this function)
  207. oregexp.c:526: error: syntax error before ‘call_args’
  208. oregexp.c:526: warning: control reaches end of non-void function
  209. oregexp.c: At top level:
  210. oregexp.c:597: error: syntax error before ‘OnigRegion’
  211. oregexp.c: In function ‘oregexp_scan’:
  212. oregexp.c:605: error: ‘oregexp’ undeclared (first use in this function)
  213. oregexp.c:606: error: ‘OnigEncoding’ undeclared (first use in this function)
  214. oregexp.c:606: error: syntax error before ‘enc’
  215. oregexp.c:611: error: ‘self’ undeclared (first use in this function)
  216. oregexp.c:611: error: syntax error before ‘)’ token
  217. oregexp.c:613: error: ‘str’ undeclared (first use in this function)
  218. oregexp.c:614: error: ‘UChar’ undeclared (first use in this function)
  219. oregexp.c:614: error: ‘str_ptr’ undeclared (first use in this function)
  220. oregexp.c:616: error: ‘region’ undeclared (first use in this function)
  221. oregexp.c:616: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function)
  222. oregexp.c:622: error: ‘enc’ undeclared (first use in this function)
  223. oregexp.c: At top level:
  224. oregexp.c:651: error: syntax error before ‘OnigRegion’
  225. oregexp.c:651: warning: no semicolon at end of struct or union
  226. oregexp.c: In function ‘oregexp_packed_scan’:
  227. oregexp.c:654: error: dereferencing pointer to incomplete type
  228. oregexp.c:654: error: dereferencing pointer to incomplete type
  229. oregexp.c:654: error: dereferencing pointer to incomplete type
  230. oregexp.c: In function ‘oregexp_m_scan’:
  231. oregexp.c:669: error: ‘OnigRegion’ undeclared (first use in this function)
  232. oregexp.c:669: error: ‘region’ undeclared (first use in this function)
  233. oregexp.c:670: error: variable ‘call_args’ has initializer but incomplete type
  234. oregexp.c:670: warning: excess elements in struct initializer
  235. oregexp.c:670: warning: (near initialization for ‘call_args’)
  236. oregexp.c:670: warning: excess elements in struct initializer
  237. oregexp.c:670: warning: (near initialization for ‘call_args’)
  238. oregexp.c:670: warning: excess elements in struct initializer
  239. oregexp.c:670: warning: (near initialization for ‘call_args’)
  240. oregexp.c:670: error: storage size of ‘call_args’ isn’t known
  241. oregexp.c:671: warning: passing argument 3 of ‘rb_ensure’ from incompatible pointer type
  242. oregexp.c:670: warning: unused variable ‘call_args’
  243. oregexp.c: In function ‘oregexp_match_op’:
  244. oregexp.c:727: error: dereferencing pointer to incomplete type
  245. oregexp.c:728: warning: control reaches end of non-void function
  246. oregexp.c: In function ‘Init_oregexp’:
  247. oregexp.c:743: warning: implicit declaration of function ‘onig_version’
  248. oregexp.c:743: warning: passing argument 1 of ‘rb_str_new2’ makes pointer from integer without a cast
  249. make: *** [oregexp.o] Error 1
  250.  
  251.  
  252. Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/oniguruma-1.1.0 for inspection.
  253. Results logged to /usr/local/lib/ruby/gems/1.8/gems/oniguruma-1.1.0/ext/gem_make.out
  254. ~ >
Add Comment
Please, Sign In to add comment