Ruby configure check fails

Jeff Mitchell kde-dev at emailgoeshere.com
Sat Aug 26 19:24:54 UTC 2006


Everything used to work fine for me.  One of the latest ruby check commits 
broke it I guess:

http11.c:5:18: ruby.h: No such file or directory
http11.c:13: error: syntax error before "mMongrel"
http11.c:13: warning: type defaults to `int' in declaration of `mMongrel'
http11.c:13: warning: data definition has no type or storage class
http11.c:14: error: syntax error before "cHttpParser"
http11.c:14: warning: type defaults to `int' in declaration of `cHttpParser'
http11.c:14: warning: data definition has no type or storage class
http11.c:15: error: syntax error before "cURIClassifier"
http11.c:15: warning: type defaults to `int' in declaration of 
`cURIClassifier'
http11.c:15: warning: data definition has no type or storage class
http11.c:16: error: syntax error before "eHttpParserError"
http11.c:16: warning: type defaults to `int' in declaration of 
`eHttpParserError'
http11.c:16: warning: data definition has no type or storage class
http11.c:21: error: syntax error before "global_http_prefix"
http11.c:21: warning: type defaults to `int' in declaration of 
`global_http_prefix'
http11.c:21: warning: data definition has no type or storage class
http11.c:22: error: syntax error before "global_request_method"
http11.c:22: warning: type defaults to `int' in declaration of 
`global_request_method'
http11.c:22: warning: data definition has no type or storage class
http11.c:23: error: syntax error before "global_request_uri"
http11.c:23: warning: type defaults to `int' in declaration of 
`global_request_uri'
http11.c:23: warning: data definition has no type or storage class
http11.c:24: error: syntax error before "global_query_string"
http11.c:24: warning: type defaults to `int' in declaration of 
`global_query_string'
http11.c:24: warning: data definition has no type or storage class
http11.c:25: error: syntax error before "global_http_version"
http11.c:25: warning: type defaults to `int' in declaration of 
`global_http_version'
http11.c:25: warning: data definition has no type or storage class
http11.c:26: error: syntax error before "global_content_length"
http11.c:26: warning: type defaults to `int' in declaration of 
`global_content_length'
http11.c:26: warning: data definition has no type or storage class
http11.c:27: error: syntax error before "global_http_content_length"
http11.c:27: warning: type defaults to `int' in declaration of 
`global_http_content_length'
http11.c:27: warning: data definition has no type or storage class
http11.c:28: error: syntax error before "global_request_path"
http11.c:28: warning: type defaults to `int' in declaration of 
`global_request_path'
http11.c:28: warning: data definition has no type or storage class
http11.c:29: error: syntax error before "global_content_type"
http11.c:29: warning: type defaults to `int' in declaration of 
`global_content_type'
http11.c:29: warning: data definition has no type or storage class
http11.c:30: error: syntax error before "global_http_content_type"
http11.c:30: warning: type defaults to `int' in declaration of 
`global_http_content_type'
http11.c:30: warning: data definition has no type or storage class
http11.c:31: error: syntax error before "global_gateway_interface"
http11.c:31: warning: type defaults to `int' in declaration of 
`global_gateway_interface'
http11.c:31: warning: data definition has no type or storage class
http11.c:32: error: syntax error before "global_gateway_interface_value"
http11.c:32: warning: type defaults to `int' in declaration of 
`global_gateway_interface_value'
http11.c:32: warning: data definition has no type or storage class
http11.c:33: error: syntax error before "global_server_name"
http11.c:33: warning: type defaults to `int' in declaration of 
`global_server_name'
http11.c:33: warning: data definition has no type or storage class
http11.c:34: error: syntax error before "global_server_port"
http11.c:34: warning: type defaults to `int' in declaration of 
`global_server_port'
http11.c:34: warning: data definition has no type or storage class
http11.c:35: error: syntax error before "global_server_protocol"
http11.c:35: warning: type defaults to `int' in declaration of 
`global_server_protocol'
http11.c:35: warning: data definition has no type or storage class
http11.c:36: error: syntax error before "global_server_protocol_value"
http11.c:36: warning: type defaults to `int' in declaration of 
`global_server_protocol_value'
http11.c:36: warning: data definition has no type or storage class
http11.c:37: error: syntax error before "global_http_host"
http11.c:37: warning: type defaults to `int' in declaration of 
`global_http_host'
http11.c:37: warning: data definition has no type or storage class
http11.c:38: error: syntax error before "global_mongrel_version"
http11.c:38: warning: type defaults to `int' in declaration of 
`global_mongrel_version'
http11.c:38: warning: data definition has no type or storage class
http11.c:39: error: syntax error before "global_server_software"
http11.c:39: warning: type defaults to `int' in declaration of 
`global_server_software'
http11.c:39: warning: data definition has no type or storage class
http11.c:40: error: syntax error before "global_port_80"
http11.c:40: warning: type defaults to `int' in declaration of 
`global_port_80'
http11.c:40: warning: data definition has no type or storage class
http11.c: In function `http_field':
http11.c:66: error: `VALUE' undeclared (first use in this function)
http11.c:66: error: (Each undeclared identifier is reported only once
http11.c:66: error: for each function it appears in.)
http11.c:66: error: syntax error before "req"
http11.c:70: warning: implicit declaration of function `rb_raise'
http11.c:73: error: `v' undeclared (first use in this function)
http11.c:73: warning: implicit declaration of function `rb_str_new'
http11.c:74: error: `f' undeclared (first use in this function)
http11.c:74: warning: implicit declaration of function `rb_str_dup'
http11.c:75: warning: implicit declaration of function `rb_str_buf_cat'
http11.c:77: warning: implicit declaration of function `RSTRING'
http11.c:77: error: invalid type argument of `->'
http11.c:77: error: invalid type argument of `->'
http11.c:77: warning: left-hand operand of comma expression has no effect
http11.c:85: warning: implicit declaration of function `rb_hash_aset'
http11.c:85: error: `req' undeclared (first use in this function)
http11.c:77: warning: statement with no effect
http11.c: In function `request_method':
http11.c:90: error: `VALUE' undeclared (first use in this function)
http11.c:90: error: syntax error before "req"
http11.c:93: error: `val' undeclared (first use in this function)
http11.c:94: error: `req' undeclared (first use in this function)
http11.c: In function `request_uri':
http11.c:99: error: `VALUE' undeclared (first use in this function)
http11.c:99: error: syntax error before "req"
http11.c:104: error: `val' undeclared (first use in this function)
http11.c:105: error: `req' undeclared (first use in this function)
http11.c: In function `request_path':
http11.c:110: error: `VALUE' undeclared (first use in this function)
http11.c:110: error: syntax error before "req"
http11.c:115: error: `val' undeclared (first use in this function)
http11.c:116: error: `req' undeclared (first use in this function)
http11.c: In function `query_string':
http11.c:121: error: `VALUE' undeclared (first use in this function)
http11.c:121: error: syntax error before "req"
http11.c:126: error: `val' undeclared (first use in this function)
http11.c:127: error: `req' undeclared (first use in this function)
http11.c: In function `http_version':
http11.c:132: error: `VALUE' undeclared (first use in this function)
http11.c:132: error: syntax error before "req"
http11.c:134: error: `req' undeclared (first use in this function)
http11.c:134: error: `val' undeclared (first use in this function)
http11.c: In function `header_done':
http11.c:142: error: `VALUE' undeclared (first use in this function)
http11.c:142: error: syntax error before "req"
http11.c:148: error: `clen' undeclared (first use in this function)
http11.c:148: warning: implicit declaration of function `rb_hash_aref'
http11.c:148: error: `req' undeclared (first use in this function)
http11.c:149: error: `Qnil' undeclared (first use in this function)
http11.c:153: error: `ctype' undeclared (first use in this function)
http11.c:159: error: `temp' undeclared (first use in this function)
http11.c:161: error: invalid type argument of `->'
http11.c:163: warning: implicit declaration of function `rb_str_substr'
http11.c:163: error: invalid type argument of `->'
http11.c:165: error: invalid type argument of `->'
http11.c:166: error: invalid type argument of `->'
http11.c:174: warning: implicit declaration of function `rb_ivar_set'
http11.c:174: warning: implicit declaration of function `rb_intern'
http11.c: In function `HttpParser_free':
http11.c:184: warning: implicit declaration of function `free'
http11.c: At top level:
http11.c:189: error: syntax error before "HttpParser_alloc"
http11.c:189: error: syntax error before "klass"
http11.c:190: warning: return type defaults to `int'
http11.c: In function `HttpParser_alloc':
http11.c:191: error: `VALUE' undeclared (first use in this function)
http11.c:191: error: syntax error before "obj"
http11.c:192: warning: implicit declaration of function `ALLOC_N'
http11.c:192: error: syntax error before "http_parser"
http11.c:203: error: `obj' undeclared (first use in this function)
http11.c:203: warning: implicit declaration of function `Data_Wrap_Struct'
http11.c:203: error: `klass' undeclared (first use in this function)
http11.c: At top level:
http11.c:215: error: syntax error before "HttpParser_init"
http11.c:215: error: syntax error before "self"
http11.c:216: warning: return type defaults to `int'
http11.c: In function `HttpParser_init':
http11.c:218: warning: implicit declaration of function `Data_Get_Struct'
http11.c:218: error: `self' undeclared (first use in this function)
http11.c:218: error: syntax error before "http_parser"
http11.c:218: error: `rb_eArgError' undeclared (first use in this function)
http11.c: At top level:
http11.c:232: error: syntax error before "HttpParser_reset"
http11.c:232: error: syntax error before "self"
http11.c:233: warning: return type defaults to `int'
http11.c: In function `HttpParser_reset':
http11.c:235: error: `self' undeclared (first use in this function)
http11.c:235: error: syntax error before "http_parser"
http11.c:235: error: `rb_eArgError' undeclared (first use in this function)
http11.c:238: error: `Qnil' undeclared (first use in this function)
http11.c: At top level:
http11.c:249: error: syntax error before "HttpParser_finish"
http11.c:249: error: syntax error before "self"
http11.c:250: warning: return type defaults to `int'
http11.c: In function `HttpParser_finish':
http11.c:252: error: `self' undeclared (first use in this function)
http11.c:252: error: syntax error before "http_parser"
http11.c:252: error: `rb_eArgError' undeclared (first use in this function)
http11.c:255: error: `Qtrue' undeclared (first use in this function)
http11.c:255: error: `Qfalse' undeclared (first use in this function)
http11.c: At top level:
http11.c:276: error: syntax error before "HttpParser_execute"
http11.c:276: error: syntax error before "self"
http11.c:277: warning: return type defaults to `int'
http11.c: In function `HttpParser_execute':
http11.c:283: error: `self' undeclared (first use in this function)
http11.c:283: error: syntax error before "http_parser"
http11.c:283: error: `rb_eArgError' undeclared (first use in this function)
http11.c:285: warning: implicit declaration of function `FIX2INT'
http11.c:285: error: `start' undeclared (first use in this function)
http11.c:286: error: `data' undeclared (first use in this function)
http11.c:286: error: invalid type argument of `->'
http11.c:287: error: invalid type argument of `->'
http11.c:292: error: `req_hash' undeclared (first use in this function)
http11.c:300: warning: implicit declaration of function `INT2FIX'
http11.c: At top level:
http11.c:313: error: syntax error before "HttpParser_has_error"
http11.c:313: error: syntax error before "self"
http11.c:314: warning: return type defaults to `int'
http11.c: In function `HttpParser_has_error':
http11.c:316: error: `self' undeclared (first use in this function)
http11.c:316: error: syntax error before "http_parser"
http11.c:316: error: `rb_eArgError' undeclared (first use in this function)
http11.c:318: error: `Qtrue' undeclared (first use in this function)
http11.c:318: error: `Qfalse' undeclared (first use in this function)
http11.c: At top level:
http11.c:328: error: syntax error before "HttpParser_is_finished"
http11.c:328: error: syntax error before "self"
http11.c:329: warning: return type defaults to `int'
http11.c: In function `HttpParser_is_finished':
http11.c:331: error: `self' undeclared (first use in this function)
http11.c:331: error: syntax error before "http_parser"
http11.c:331: error: `rb_eArgError' undeclared (first use in this function)
http11.c:333: error: `Qtrue' undeclared (first use in this function)
http11.c:333: error: `Qfalse' undeclared (first use in this function)
http11.c: At top level:
http11.c:344: error: syntax error before "HttpParser_nread"
http11.c:344: error: syntax error before "self"
http11.c:345: warning: return type defaults to `int'
http11.c: In function `HttpParser_nread':
http11.c:347: error: `self' undeclared (first use in this function)
http11.c:347: error: syntax error before "http_parser"
http11.c:347: error: `rb_eArgError' undeclared (first use in this function)
http11.c: At top level:
http11.c:364: error: syntax error before "URIClassifier_alloc"
http11.c:364: error: syntax error before "klass"
http11.c:365: warning: return type defaults to `int'
http11.c: In function `URIClassifier_alloc':
http11.c:366: error: `VALUE' undeclared (first use in this function)
http11.c:366: error: syntax error before "obj"
http11.c:371: error: `obj' undeclared (first use in this function)
http11.c:371: error: `klass' undeclared (first use in this function)
http11.c: At top level:
http11.c:391: error: syntax error before "URIClassifier_init"
http11.c:391: error: syntax error before "self"
http11.c:392: warning: return type defaults to `int'
http11.c: In function `URIClassifier_init':
http11.c:393: error: `VALUE' undeclared (first use in this function)
http11.c:393: error: syntax error before "hash"
http11.c:396: error: `hash' undeclared (first use in this function)
http11.c:396: warning: implicit declaration of function `rb_hash_new'
http11.c:397: error: `self' undeclared (first use in this function)
http11.c: At top level:
http11.c:419: error: syntax error before "URIClassifier_register"
http11.c:419: error: syntax error before "self"
http11.c:420: warning: return type defaults to `int'
http11.c: In function `URIClassifier_register':
http11.c:424: error: `self' undeclared (first use in this function)
http11.c:424: error: syntax error before "struct"
http11.c:424: error: `rb_eArgError' undeclared (first use in this function)
http11.c:426: warning: implicit declaration of function `StringValueCStr'
http11.c:426: error: `uri' undeclared (first use in this function)
http11.c:426: error: `handler' undeclared (first use in this function)
http11.c:429: error: `rb_eStandardError' undeclared (first use in this 
function)
http11.c:436: warning: implicit declaration of function `rb_ivar_get'
http11.c:438: error: `Qnil' undeclared (first use in this function)
http11.c: At top level:
http11.c:448: error: syntax error before "URIClassifier_unregister"
http11.c:448: error: syntax error before "self"
http11.c:449: warning: return type defaults to `int'
http11.c: In function `URIClassifier_unregister':
http11.c:452: error: `self' undeclared (first use in this function)
http11.c:452: error: syntax error before "struct"
http11.c:452: error: `rb_eArgError' undeclared (first use in this function)
http11.c:454: error: `uri' undeclared (first use in this function)
http11.c:457: warning: implicit declaration of function `rb_hash_delete'
http11.c:459: error: `VALUE' undeclared (first use in this function)
http11.c:459: error: syntax error before "handler"
http11.c:461: error: `Qnil' undeclared (first use in this function)
http11.c: At top level:
http11.c:498: error: syntax error before "URIClassifier_resolve"
http11.c:498: error: syntax error before "self"
http11.c:499: warning: return type defaults to `int'
http11.c: In function `URIClassifier_resolve':
http11.c:503: error: `VALUE' undeclared (first use in this function)
http11.c:503: error: syntax error before "result"
http11.c:506: error: `self' undeclared (first use in this function)
http11.c:506: error: syntax error before "struct"
http11.c:506: error: `rb_eArgError' undeclared (first use in this function)
http11.c:507: error: `uri' undeclared (first use in this function)
http11.c:512: error: `result' undeclared (first use in this function)
http11.c:512: warning: implicit declaration of function `rb_ary_new'
http11.c:515: warning: implicit declaration of function `rb_ary_push'
http11.c:522: error: invalid type argument of `->'
http11.c:525: error: syntax error before "handler"
http11.c:528: error: `Qnil' undeclared (first use in this function)
http11.c: In function `Init_libhttp11':
http11.c:540: warning: implicit declaration of function `rb_define_module'
http11.c:542: warning: implicit declaration of function `rb_obj_freeze'
http11.c:542: warning: implicit declaration of function `rb_str_new2'
http11.c:542: warning: implicit declaration of function `rb_global_variable'
http11.c:563: warning: implicit declaration of function 
`rb_define_class_under'
http11.c:563: error: `rb_eIOError' undeclared (first use in this function)
http11.c:565: error: `rb_cObject' undeclared (first use in this function)
http11.c:566: warning: implicit declaration of function `rb_define_alloc_func'
http11.c:567: warning: implicit declaration of function `rb_define_method'
make[5]: *** [http11.lo] Error 1



More information about the Amarok mailing list