Guest User

Untitled

a guest
May 21st, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.14 KB | None | 0 0
  1. ERROR: Error installing ultraviolet:
  2. ERROR: Failed to build gem native extension.
  3.  
  4. /usr/bin/ruby1.8 extconf.rb install ultraviolet
  5. checking for main() in -lonig... no
  6. creating Makefile
  7.  
  8. make
  9. cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -D_FILE_OFFSET_BITS=64 -fPIC -Wall -c oregexp.c
  10. oregexp.c:2:23: error: oniguruma.h: No such file or directory
  11. oregexp.c:9: error: expected specifier-qualifier-list before ‘regex_t’
  12. oregexp.c: In function ‘oregexp_free’:
  13. oregexp.c:16: warning: implicit declaration of function ‘onig_free’
  14. oregexp.c:16: error: ‘ORegexp’ has no member named ‘reg’
  15. oregexp.c: In function ‘oregexp_allocate’:
  16. oregexp.c:22: error: ‘ORegexp’ has no member named ‘reg’
  17. oregexp.c: At top level:
  18. oregexp.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  19. oregexp.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  20. oregexp.c:95: error: expected specifier-qualifier-list before ‘OnigRegion’
  21. oregexp.c:99: warning: type defaults to ‘int’ in declaration of ‘UChar’
  22. oregexp.c:99: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
  23. oregexp.c: In function ‘oregexp_initialize’:
  24. oregexp.c:123: error: ‘UChar’ undeclared (first use in this function)
  25. oregexp.c:123: error: (Each undeclared identifier is reported only once
  26. oregexp.c:123: error: for each function it appears in.)
  27. oregexp.c:123: error: ‘pat_ptr’ undeclared (first use in this function)
  28. oregexp.c:129: error: ‘OnigEncodingType’ undeclared (first use in this function)
  29. oregexp.c:129: error: ‘iEncoding’ undeclared (first use in this function)
  30. oregexp.c:129: warning: implicit declaration of function ‘int2encoding’
  31. oregexp.c:130: error: ‘OnigSyntaxType’ undeclared (first use in this function)
  32. oregexp.c:130: error: ‘iSyntax’ undeclared (first use in this function)
  33. oregexp.c:130: warning: implicit declaration of function ‘int2syntax’
  34. oregexp.c:134: error: ‘OnigErrorInfo’ undeclared (first use in this function)
  35. oregexp.c:134: error: expected ‘;’ before ‘einfo’
  36. oregexp.c:135: warning: implicit declaration of function ‘onig_new’
  37. oregexp.c:135: error: ‘ORegexp’ has no member named ‘reg’
  38. oregexp.c:135: error: ‘einfo’ undeclared (first use in this function)
  39. oregexp.c:136: error: ‘ONIG_NORMAL’ undeclared (first use in this function)
  40. oregexp.c:137: error: ‘ONIG_MAX_ERROR_MESSAGE_LEN’ undeclared (first use in this function)
  41. oregexp.c:138: warning: implicit declaration of function ‘onig_error_code_to_str’
  42. oregexp.c:137: warning: unused variable ‘s’
  43. oregexp.c: At top level:
  44. oregexp.c:153: error: expected declaration specifiers or ‘...’ before ‘OnigRegion’
  45. oregexp.c: In function ‘oregexp_make_match_data’:
  46. oregexp.c:158: error: ‘region’ undeclared (first use in this function)
  47. oregexp.c:162: error: invalid application of ‘sizeof’ to incomplete type ‘struct re_registers’
  48. oregexp.c:163: error: dereferencing pointer to incomplete type
  49. oregexp.c:164: error: dereferencing pointer to incomplete type
  50. oregexp.c:165: error: dereferencing pointer to incomplete type
  51. oregexp.c:166: error: dereferencing pointer to incomplete type
  52. oregexp.c:169: error: dereferencing pointer to incomplete type
  53. oregexp.c:170: error: dereferencing pointer to incomplete type
  54. oregexp.c:173: error: ‘struct callback_packet’ has no member named ‘region’
  55. oregexp.c:174: warning: implicit declaration of function ‘onig_number_of_names’
  56. oregexp.c:174: error: ‘ORegexp’ has no member named ‘reg’
  57. oregexp.c:176: warning: implicit declaration of function ‘onig_foreach_name’
  58. oregexp.c:176: error: ‘ORegexp’ has no member named ‘reg’
  59. oregexp.c:176: error: ‘name_callback’ undeclared (first use in this function)
  60. oregexp.c: In function ‘oregexp_match’:
  61. oregexp.c:211: warning: statement with no effect
  62. oregexp.c:215: error: ‘UChar’ undeclared (first use in this function)
  63. oregexp.c:215: error: ‘str_ptr’ undeclared (first use in this function)
  64. oregexp.c:229: error: ‘OnigRegion’ undeclared (first use in this function)
  65. oregexp.c:229: error: ‘region’ undeclared (first use in this function)
  66. oregexp.c:229: warning: implicit declaration of function ‘onig_region_new’
  67. oregexp.c:230: warning: implicit declaration of function ‘onig_search’
  68. oregexp.c:230: error: ‘ORegexp’ has no member named ‘reg’
  69. oregexp.c:230: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function)
  70. oregexp.c:233: error: too many arguments to function ‘oregexp_make_match_data’
  71. oregexp.c:234: warning: implicit declaration of function ‘onig_region_free’
  72. oregexp.c:238: error: ‘ONIG_MISMATCH’ undeclared (first use in this function)
  73. oregexp.c:243: error: ‘ONIG_MAX_ERROR_MESSAGE_LEN’ undeclared (first use in this function)
  74. oregexp.c:243: warning: unused variable ‘s’
  75. oregexp.c:248: warning: control reaches end of non-void function
  76. oregexp.c: At top level:
  77. oregexp.c:250: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BACKSLASH’
  78. oregexp.c: In function ‘oregexp_append_replacement’:
  79. oregexp.c:262: error: expected declaration specifiers before ‘OnigRegion’
  80. oregexp.c:268: error: ‘UChar’ undeclared (first use in this function)
  81. oregexp.c:268: error: ‘replacementText’ undeclared (first use in this function)
  82. oregexp.c:269: error: ‘replacementEnd’ undeclared (first use in this function)
  83. oregexp.c:272: error: ‘OnigCodePoint’ undeclared (first use in this function)
  84. oregexp.c:272: error: expected ‘;’ before ‘digitC’
  85. oregexp.c:273: error: ‘OnigEncoding’ undeclared (first use in this function)
  86. oregexp.c:273: error: expected ‘;’ before ‘enc’
  87. oregexp.c:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  88. oregexp.c:274: error: ‘matchText’ undeclared (first use in this function)
  89. oregexp.c:280: error: ‘enc’ undeclared (first use in this function)
  90. oregexp.c:280: warning: implicit declaration of function ‘onig_get_encoding’
  91. oregexp.c:280: error: ‘ORegexp’ has no member named ‘reg’
  92. oregexp.c:283: error: expected ‘;’ before ‘c’
  93. oregexp.c:284: warning: implicit declaration of function ‘ONIGENC_MBC_ENC_LEN’
  94. oregexp.c:286: error: ‘c’ undeclared (first use in this function)
  95. oregexp.c:290: error: ‘BACKSLASH’ undeclared (first use in this function)
  96. oregexp.c:307: error: ‘digitC’ undeclared (first use in this function)
  97. oregexp.c:307: warning: implicit declaration of function ‘ONIGENC_MBC_TO_CODE’
  98. oregexp.c:309: warning: implicit declaration of function ‘ONIGENC_IS_CODE_DIGIT’
  99. oregexp.c:328: error: invalid type argument of ‘->’ (have ‘int’)
  100. oregexp.c:328: error: invalid type argument of ‘->’ (have ‘int’)
  101. oregexp.c:328: error: invalid type argument of ‘->’ (have ‘int’)
  102. oregexp.c:332: error: invalid type argument of ‘->’ (have ‘int’)
  103. oregexp.c:336: error: invalid type argument of ‘->’ (have ‘int’)
  104. oregexp.c:336: error: invalid type argument of ‘->’ (have ‘int’)
  105. oregexp.c:346: error: invalid type argument of ‘->’ (have ‘int’)
  106. oregexp.c:347: error: invalid type argument of ‘->’ (have ‘int’)
  107. oregexp.c:348: error: invalid type argument of ‘->’ (have ‘int’)
  108. oregexp.c:363: warning: implicit declaration of function ‘ONIGENC_IS_CODE_WORD’
  109. oregexp.c:375: warning: implicit declaration of function ‘onig_name_to_backref_number’
  110. oregexp.c:375: error: ‘ORegexp’ has no member named ‘reg’
  111. oregexp.c:378: error: invalid type argument of ‘->’ (have ‘int’)
  112. oregexp.c:379: error: invalid type argument of ‘->’ (have ‘int’)
  113. oregexp.c:379: error: invalid type argument of ‘->’ (have ‘int’)
  114. oregexp.c:391: error: invalid type argument of ‘->’ (have ‘int’)
  115. oregexp.c:391: error: invalid type argument of ‘->’ (have ‘int’)
  116. oregexp.c:392: error: invalid type argument of ‘->’ (have ‘int’)
  117. oregexp.c:392: error: invalid type argument of ‘->’ (have ‘int’)
  118. oregexp.c:392: error: invalid type argument of ‘->’ (have ‘int’)
  119. oregexp.c: In function ‘oregexp_gsub’:
  120. oregexp.c:417: error: expected declaration specifiers before ‘OnigRegion’
  121. oregexp.c:429: error: ‘OnigEncoding’ undeclared (first use in this function)
  122. oregexp.c:429: error: expected ‘;’ before ‘enc’
  123. oregexp.c:444: error: ‘UChar’ undeclared (first use in this function)
  124. oregexp.c:444: error: ‘str_ptr’ undeclared (first use in this function)
  125. oregexp.c:447: error: ‘ORegexp’ has no member named ‘reg’
  126. oregexp.c:447: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function)
  127. oregexp.c:457: error: ‘enc’ undeclared (first use in this function)
  128. oregexp.c:457: error: ‘ORegexp’ has no member named ‘reg’
  129. oregexp.c:460: error: invalid type argument of ‘->’ (have ‘int’)
  130. oregexp.c:461: error: invalid type argument of ‘->’ (have ‘int’)
  131. oregexp.c:464: error: too many arguments to function ‘oregexp_make_match_data’
  132. oregexp.c:487: error: ‘ORegexp’ has no member named ‘reg’
  133. oregexp.c: At top level:
  134. oregexp.c:510: error: expected specifier-qualifier-list before ‘OnigRegion’
  135. oregexp.c: In function ‘oregexp_packed_gsub’:
  136. oregexp.c:513: error: ‘gsub_packet’ has no member named ‘region’
  137. oregexp.c: At top level:
  138. oregexp.c:515: error: expected ‘)’ before ‘*’ token
  139. oregexp.c: In function ‘oregexp_safe_gsub’:
  140. oregexp.c:525: error: ‘OnigRegion’ undeclared (first use in this function)
  141. oregexp.c:525: error: ‘region’ undeclared (first use in this function)
  142. oregexp.c:526: warning: excess elements in struct initializer
  143. oregexp.c:526: warning: (near initialization for ‘call_args’)
  144. oregexp.c:527: error: ‘oregexp_cleanup_region’ undeclared (first use in this function)
  145. oregexp.c: At top level:
  146. oregexp.c:597: error: expected declaration specifiers or ‘...’ before ‘OnigRegion’
  147. oregexp.c: In function ‘oregexp_scan’:
  148. oregexp.c:606: error: ‘OnigEncoding’ undeclared (first use in this function)
  149. oregexp.c:606: error: expected ‘;’ before ‘enc’
  150. oregexp.c:614: error: ‘UChar’ undeclared (first use in this function)
  151. oregexp.c:614: error: ‘str_ptr’ undeclared (first use in this function)
  152. oregexp.c:616: error: ‘ORegexp’ has no member named ‘reg’
  153. oregexp.c:616: error: ‘region’ undeclared (first use in this function)
  154. oregexp.c:616: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function)
  155. oregexp.c:622: error: ‘enc’ undeclared (first use in this function)
  156. oregexp.c:622: error: ‘ORegexp’ has no member named ‘reg’
  157. oregexp.c:624: error: too many arguments to function ‘oregexp_make_match_data’
  158. oregexp.c:641: error: ‘ORegexp’ has no member named ‘reg’
  159. oregexp.c: At top level:
  160. oregexp.c:651: error: expected specifier-qualifier-list before ‘OnigRegion’
  161. oregexp.c: In function ‘oregexp_packed_scan’:
  162. oregexp.c:654: error: ‘struct scan_packet’ has no member named ‘region’
  163. oregexp.c:654: error: too many arguments to function ‘oregexp_scan’
  164. oregexp.c: In function ‘oregexp_m_scan’:
  165. oregexp.c:669: error: ‘OnigRegion’ undeclared (first use in this function)
  166. oregexp.c:669: error: ‘region’ undeclared (first use in this function)
  167. oregexp.c:670: warning: excess elements in struct initializer
  168. oregexp.c:670: warning: (near initialization for ‘call_args’)
  169. oregexp.c:671: error: ‘oregexp_cleanup_region’ undeclared (first use in this function)
  170. oregexp.c: In function ‘oregexp_match_op’:
  171. oregexp.c:727: error: dereferencing pointer to incomplete type
  172. oregexp.c:728: warning: control reaches end of non-void function
  173. oregexp.c: In function ‘Init_oregexp’:
  174. oregexp.c:743: warning: implicit declaration of function ‘onig_version’
  175. oregexp.c:743: warning: passing argument 1 of ‘rb_str_new2’ makes pointer from integer without a cast
  176. make: *** [oregexp.o] Error 1
  177.  
  178.  
  179. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/oniguruma-1.1.0 for inspection.
  180. Results logged to /usr/lib/ruby/gems/1.8/gems/oniguruma-1.1.0/ext/gem_make.out
  181. [/home/haze]$
Add Comment
Please, Sign In to add comment