Created
August 20, 2008 02:21
-
-
Save zeke/6309 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ >sudo gem install ultraviolet | |
Building native extensions. This could take a while... | |
ERROR: Error installing ultraviolet: | |
ERROR: Failed to build gem native extension. | |
/usr/local/bin/ruby extconf.rb install ultraviolet | |
checking for main() in -lonig... no | |
creating Makefile | |
make | |
gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin9.4.0 -I. -fno-common -Wall -c oregexp.c | |
oregexp.c:2:23: error: oniguruma.h: No such file or directory | |
oregexp.c:9: error: syntax error before ‘regex_t’ | |
oregexp.c:9: warning: no semicolon at end of struct or union | |
oregexp.c:10: warning: type defaults to ‘int’ in declaration of ‘ORegexp’ | |
oregexp.c:10: warning: data definition has no type or storage class | |
oregexp.c:15: error: syntax error before ‘*’ token | |
oregexp.c: In function ‘oregexp_free’: | |
oregexp.c:16: warning: implicit declaration of function ‘onig_free’ | |
oregexp.c:16: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c:16: error: (Each undeclared identifier is reported only once | |
oregexp.c:16: error: for each function it appears in.) | |
oregexp.c: In function ‘oregexp_allocate’: | |
oregexp.c:21: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c: At top level: | |
oregexp.c:27: error: syntax error before ‘*’ token | |
oregexp.c:27: warning: return type defaults to ‘int’ | |
oregexp.c: In function ‘int2encoding’: | |
oregexp.c:32: error: ‘ONIG_ENCODING_ASCII’ undeclared (first use in this function) | |
oregexp.c:33: error: ‘ONIG_ENCODING_ISO_8859_1’ undeclared (first use in this function) | |
oregexp.c:34: error: ‘ONIG_ENCODING_ISO_8859_2’ undeclared (first use in this function) | |
oregexp.c:35: error: ‘ONIG_ENCODING_ISO_8859_3’ undeclared (first use in this function) | |
oregexp.c:36: error: ‘ONIG_ENCODING_ISO_8859_4’ undeclared (first use in this function) | |
oregexp.c:37: error: ‘ONIG_ENCODING_ISO_8859_5’ undeclared (first use in this function) | |
oregexp.c:38: error: ‘ONIG_ENCODING_ISO_8859_6’ undeclared (first use in this function) | |
oregexp.c:39: error: ‘ONIG_ENCODING_ISO_8859_7’ undeclared (first use in this function) | |
oregexp.c:40: error: ‘ONIG_ENCODING_ISO_8859_8’ undeclared (first use in this function) | |
oregexp.c:41: error: ‘ONIG_ENCODING_ISO_8859_9’ undeclared (first use in this function) | |
oregexp.c:42: error: ‘ONIG_ENCODING_ISO_8859_10’ undeclared (first use in this function) | |
oregexp.c:43: error: ‘ONIG_ENCODING_ISO_8859_11’ undeclared (first use in this function) | |
oregexp.c:45: error: ‘ONIG_ENCODING_ISO_8859_13’ undeclared (first use in this function) | |
oregexp.c:46: error: ‘ONIG_ENCODING_ISO_8859_14’ undeclared (first use in this function) | |
oregexp.c:47: error: ‘ONIG_ENCODING_ISO_8859_15’ undeclared (first use in this function) | |
oregexp.c:48: error: ‘ONIG_ENCODING_ISO_8859_16’ undeclared (first use in this function) | |
oregexp.c:49: error: ‘ONIG_ENCODING_UTF8’ undeclared (first use in this function) | |
oregexp.c:50: error: ‘ONIG_ENCODING_UTF16_BE’ undeclared (first use in this function) | |
oregexp.c:51: error: ‘ONIG_ENCODING_UTF16_LE’ undeclared (first use in this function) | |
oregexp.c:52: error: ‘ONIG_ENCODING_UTF32_BE’ undeclared (first use in this function) | |
oregexp.c:53: error: ‘ONIG_ENCODING_UTF32_LE’ undeclared (first use in this function) | |
oregexp.c:54: error: ‘ONIG_ENCODING_EUC_JP’ undeclared (first use in this function) | |
oregexp.c:55: error: ‘ONIG_ENCODING_EUC_TW’ undeclared (first use in this function) | |
oregexp.c:56: error: ‘ONIG_ENCODING_EUC_KR’ undeclared (first use in this function) | |
oregexp.c:57: error: ‘ONIG_ENCODING_EUC_CN’ undeclared (first use in this function) | |
oregexp.c:58: error: ‘ONIG_ENCODING_SJIS’ undeclared (first use in this function) | |
oregexp.c:60: error: ‘ONIG_ENCODING_KOI8_R’ undeclared (first use in this function) | |
oregexp.c:64: error: ‘ONIG_ENCODING_BIG5’ undeclared (first use in this function) | |
oregexp.c:65: error: ‘ONIG_ENCODING_GB18030’ undeclared (first use in this function) | |
oregexp.c:66: error: ‘ONIG_ENCODING_UNDEF’ undeclared (first use in this function) | |
oregexp.c:70: warning: control reaches end of non-void function | |
oregexp.c: At top level: | |
oregexp.c:72: error: syntax error before ‘*’ token | |
oregexp.c:72: warning: return type defaults to ‘int’ | |
oregexp.c: In function ‘int2syntax’: | |
oregexp.c:77: error: ‘ONIG_SYNTAX_ASIS’ undeclared (first use in this function) | |
oregexp.c:78: error: ‘ONIG_SYNTAX_POSIX_BASIC’ undeclared (first use in this function) | |
oregexp.c:79: error: ‘ONIG_SYNTAX_POSIX_EXTENDED’ undeclared (first use in this function) | |
oregexp.c:80: error: ‘ONIG_SYNTAX_EMACS’ undeclared (first use in this function) | |
oregexp.c:81: error: ‘ONIG_SYNTAX_GREP’ undeclared (first use in this function) | |
oregexp.c:82: error: ‘ONIG_SYNTAX_GNU_REGEX’ undeclared (first use in this function) | |
oregexp.c:83: error: ‘ONIG_SYNTAX_JAVA’ undeclared (first use in this function) | |
oregexp.c:84: error: ‘ONIG_SYNTAX_PERL’ undeclared (first use in this function) | |
oregexp.c:85: error: ‘ONIG_SYNTAX_PERL_NG’ undeclared (first use in this function) | |
oregexp.c:86: error: ‘ONIG_SYNTAX_RUBY’ undeclared (first use in this function) | |
oregexp.c:87: error: ‘ONIG_SYNTAX_DEFAULT’ undeclared (first use in this function) | |
oregexp.c:91: warning: control reaches end of non-void function | |
oregexp.c: At top level: | |
oregexp.c:95: error: syntax error before ‘OnigRegion’ | |
oregexp.c:95: warning: no semicolon at end of struct or union | |
oregexp.c:99: warning: type defaults to ‘int’ in declaration of ‘UChar’ | |
oregexp.c:99: error: syntax error before ‘*’ token | |
oregexp.c: In function ‘name_callback’: | |
oregexp.c:107: error: ‘arg’ undeclared (first use in this function) | |
oregexp.c:109: error: ‘ngroup_num’ undeclared (first use in this function) | |
oregexp.c:110: error: ‘group_nums’ undeclared (first use in this function) | |
oregexp.c:111: error: ‘name’ undeclared (first use in this function) | |
oregexp.c: In function ‘oregexp_initialize’: | |
oregexp.c:117: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c:118: error: syntax error before ‘)’ token | |
oregexp.c:123: error: ‘UChar’ undeclared (first use in this function) | |
oregexp.c:123: error: ‘pat_ptr’ undeclared (first use in this function) | |
oregexp.c:129: error: ‘OnigEncodingType’ undeclared (first use in this function) | |
oregexp.c:129: error: ‘iEncoding’ undeclared (first use in this function) | |
oregexp.c:130: error: ‘OnigSyntaxType’ undeclared (first use in this function) | |
oregexp.c:130: error: ‘iSyntax’ undeclared (first use in this function) | |
oregexp.c:134: error: ‘OnigErrorInfo’ undeclared (first use in this function) | |
oregexp.c:134: error: syntax error before ‘einfo’ | |
oregexp.c:135: warning: implicit declaration of function ‘onig_new’ | |
oregexp.c:135: error: ‘einfo’ undeclared (first use in this function) | |
oregexp.c:136: error: ‘ONIG_NORMAL’ undeclared (first use in this function) | |
oregexp.c:137: error: ‘ONIG_MAX_ERROR_MESSAGE_LEN’ undeclared (first use in this function) | |
oregexp.c:138: warning: implicit declaration of function ‘onig_error_code_to_str’ | |
oregexp.c:137: warning: unused variable ‘s’ | |
oregexp.c: At top level: | |
oregexp.c:153: error: syntax error before ‘*’ token | |
oregexp.c: In function ‘oregexp_make_match_data’: | |
oregexp.c:158: error: ‘region’ undeclared (first use in this function) | |
oregexp.c:159: error: storage size of ‘packet’ isn’t known | |
oregexp.c:161: error: ‘string_str’ undeclared (first use in this function) | |
oregexp.c:162: error: invalid application of ‘sizeof’ to incomplete type ‘struct re_registers’ | |
oregexp.c:163: error: dereferencing pointer to incomplete type | |
oregexp.c:164: error: dereferencing pointer to incomplete type | |
oregexp.c:165: error: dereferencing pointer to incomplete type | |
oregexp.c:166: error: dereferencing pointer to incomplete type | |
oregexp.c:169: error: dereferencing pointer to incomplete type | |
oregexp.c:170: error: dereferencing pointer to incomplete type | |
oregexp.c:174: warning: implicit declaration of function ‘onig_number_of_names’ | |
oregexp.c:174: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c:176: warning: implicit declaration of function ‘onig_foreach_name’ | |
oregexp.c:159: warning: unused variable ‘packet’ | |
oregexp.c: In function ‘oregexp_match’: | |
oregexp.c:205: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c:206: error: syntax error before ‘)’ token | |
oregexp.c:211: warning: statement with no effect | |
oregexp.c:215: error: ‘UChar’ undeclared (first use in this function) | |
oregexp.c:215: error: ‘str_ptr’ undeclared (first use in this function) | |
oregexp.c:229: error: ‘OnigRegion’ undeclared (first use in this function) | |
oregexp.c:229: error: ‘region’ undeclared (first use in this function) | |
oregexp.c:229: warning: implicit declaration of function ‘onig_region_new’ | |
oregexp.c:230: warning: implicit declaration of function ‘onig_search’ | |
oregexp.c:230: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function) | |
oregexp.c:234: warning: implicit declaration of function ‘onig_region_free’ | |
oregexp.c:238: error: ‘ONIG_MISMATCH’ undeclared (first use in this function) | |
oregexp.c:243: error: ‘ONIG_MAX_ERROR_MESSAGE_LEN’ undeclared (first use in this function) | |
oregexp.c:243: warning: unused variable ‘s’ | |
oregexp.c:248: warning: control reaches end of non-void function | |
oregexp.c: At top level: | |
oregexp.c:250: error: syntax error before ‘BACKSLASH’ | |
oregexp.c:250: warning: type defaults to ‘int’ in declaration of ‘BACKSLASH’ | |
oregexp.c:250: warning: data definition has no type or storage class | |
oregexp.c: In function ‘oregexp_append_replacement’: | |
oregexp.c:262: error: syntax error before ‘OnigRegion’ | |
oregexp.c:265: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c:268: error: ‘UChar’ undeclared (first use in this function) | |
oregexp.c:268: error: ‘replacementText’ undeclared (first use in this function) | |
oregexp.c:269: error: ‘replacementEnd’ undeclared (first use in this function) | |
oregexp.c:272: error: ‘OnigCodePoint’ undeclared (first use in this function) | |
oregexp.c:272: error: syntax error before ‘digitC’ | |
oregexp.c:273: error: ‘OnigEncoding’ undeclared (first use in this function) | |
oregexp.c:274: error: nested functions are disabled, use -fnested-functions to re-enable | |
oregexp.c:274: error: syntax error before ‘*’ token | |
oregexp.c:277: error: ‘matchText’ undeclared (first use in this function) | |
oregexp.c:279: error: syntax error before ‘)’ token | |
oregexp.c:280: error: ‘enc’ undeclared (first use in this function) | |
oregexp.c:280: warning: implicit declaration of function ‘onig_get_encoding’ | |
oregexp.c:283: error: syntax error before ‘c’ | |
oregexp.c:284: warning: implicit declaration of function ‘ONIGENC_MBC_ENC_LEN’ | |
oregexp.c:286: error: ‘c’ undeclared (first use in this function) | |
oregexp.c:307: error: ‘digitC’ undeclared (first use in this function) | |
oregexp.c:307: warning: implicit declaration of function ‘ONIGENC_MBC_TO_CODE’ | |
oregexp.c:309: warning: implicit declaration of function ‘ONIGENC_IS_CODE_DIGIT’ | |
oregexp.c:328: error: invalid type argument of ‘->’ | |
oregexp.c:328: error: invalid type argument of ‘->’ | |
oregexp.c:328: error: invalid type argument of ‘->’ | |
oregexp.c:332: error: invalid type argument of ‘->’ | |
oregexp.c:336: error: invalid type argument of ‘->’ | |
oregexp.c:336: error: invalid type argument of ‘->’ | |
oregexp.c:346: error: invalid type argument of ‘->’ | |
oregexp.c:347: error: invalid type argument of ‘->’ | |
oregexp.c:348: error: invalid type argument of ‘->’ | |
oregexp.c:363: warning: implicit declaration of function ‘ONIGENC_IS_CODE_WORD’ | |
oregexp.c:375: warning: implicit declaration of function ‘onig_name_to_backref_number’ | |
oregexp.c:378: error: invalid type argument of ‘->’ | |
oregexp.c:379: error: invalid type argument of ‘->’ | |
oregexp.c:379: error: invalid type argument of ‘->’ | |
oregexp.c:391: error: invalid type argument of ‘->’ | |
oregexp.c:391: error: invalid type argument of ‘->’ | |
oregexp.c:392: error: invalid type argument of ‘->’ | |
oregexp.c:392: error: invalid type argument of ‘->’ | |
oregexp.c:392: error: invalid type argument of ‘->’ | |
oregexp.c: In function ‘oregexp_gsub’: | |
oregexp.c:417: error: syntax error before ‘OnigRegion’ | |
oregexp.c:428: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c:429: error: ‘OnigEncoding’ undeclared (first use in this function) | |
oregexp.c:429: error: syntax error before ‘enc’ | |
oregexp.c:441: error: syntax error before ‘)’ token | |
oregexp.c:444: error: ‘UChar’ undeclared (first use in this function) | |
oregexp.c:444: error: ‘str_ptr’ undeclared (first use in this function) | |
oregexp.c:447: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function) | |
oregexp.c:457: error: ‘enc’ undeclared (first use in this function) | |
oregexp.c:460: error: invalid type argument of ‘->’ | |
oregexp.c:461: error: invalid type argument of ‘->’ | |
oregexp.c: At top level: | |
oregexp.c:510: error: syntax error before ‘OnigRegion’ | |
oregexp.c:510: warning: no semicolon at end of struct or union | |
oregexp.c:511: warning: type defaults to ‘int’ in declaration of ‘gsub_packet’ | |
oregexp.c:511: warning: data definition has no type or storage class | |
oregexp.c:512: error: syntax error before ‘*’ token | |
oregexp.c: In function ‘oregexp_packed_gsub’: | |
oregexp.c:513: error: ‘args’ undeclared (first use in this function) | |
oregexp.c: At top level: | |
oregexp.c:515: error: syntax error before ‘*’ token | |
oregexp.c: In function ‘oregexp_cleanup_region’: | |
oregexp.c:516: error: ‘region’ undeclared (first use in this function) | |
oregexp.c: In function ‘oregexp_safe_gsub’: | |
oregexp.c:525: error: ‘OnigRegion’ undeclared (first use in this function) | |
oregexp.c:525: error: ‘region’ undeclared (first use in this function) | |
oregexp.c:526: error: syntax error before ‘call_args’ | |
oregexp.c:526: warning: control reaches end of non-void function | |
oregexp.c: At top level: | |
oregexp.c:597: error: syntax error before ‘OnigRegion’ | |
oregexp.c: In function ‘oregexp_scan’: | |
oregexp.c:605: error: ‘oregexp’ undeclared (first use in this function) | |
oregexp.c:606: error: ‘OnigEncoding’ undeclared (first use in this function) | |
oregexp.c:606: error: syntax error before ‘enc’ | |
oregexp.c:611: error: ‘self’ undeclared (first use in this function) | |
oregexp.c:611: error: syntax error before ‘)’ token | |
oregexp.c:613: error: ‘str’ undeclared (first use in this function) | |
oregexp.c:614: error: ‘UChar’ undeclared (first use in this function) | |
oregexp.c:614: error: ‘str_ptr’ undeclared (first use in this function) | |
oregexp.c:616: error: ‘region’ undeclared (first use in this function) | |
oregexp.c:616: error: ‘ONIG_OPTION_NONE’ undeclared (first use in this function) | |
oregexp.c:622: error: ‘enc’ undeclared (first use in this function) | |
oregexp.c: At top level: | |
oregexp.c:651: error: syntax error before ‘OnigRegion’ | |
oregexp.c:651: warning: no semicolon at end of struct or union | |
oregexp.c: In function ‘oregexp_packed_scan’: | |
oregexp.c:654: error: dereferencing pointer to incomplete type | |
oregexp.c:654: error: dereferencing pointer to incomplete type | |
oregexp.c:654: error: dereferencing pointer to incomplete type | |
oregexp.c: In function ‘oregexp_m_scan’: | |
oregexp.c:669: error: ‘OnigRegion’ undeclared (first use in this function) | |
oregexp.c:669: error: ‘region’ undeclared (first use in this function) | |
oregexp.c:670: error: variable ‘call_args’ has initializer but incomplete type | |
oregexp.c:670: warning: excess elements in struct initializer | |
oregexp.c:670: warning: (near initialization for ‘call_args’) | |
oregexp.c:670: warning: excess elements in struct initializer | |
oregexp.c:670: warning: (near initialization for ‘call_args’) | |
oregexp.c:670: warning: excess elements in struct initializer | |
oregexp.c:670: warning: (near initialization for ‘call_args’) | |
oregexp.c:670: error: storage size of ‘call_args’ isn’t known | |
oregexp.c:671: warning: passing argument 3 of ‘rb_ensure’ from incompatible pointer type | |
oregexp.c:670: warning: unused variable ‘call_args’ | |
oregexp.c: In function ‘oregexp_match_op’: | |
oregexp.c:727: error: dereferencing pointer to incomplete type | |
oregexp.c:728: warning: control reaches end of non-void function | |
oregexp.c: In function ‘Init_oregexp’: | |
oregexp.c:743: warning: implicit declaration of function ‘onig_version’ | |
oregexp.c:743: warning: passing argument 1 of ‘rb_str_new2’ makes pointer from integer without a cast | |
make: *** [oregexp.o] Error 1 | |
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/oniguruma-1.1.0 for inspection. | |
Results logged to /usr/local/lib/ruby/gems/1.8/gems/oniguruma-1.1.0/ext/gem_make.out | |
~ > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment