Discussion:
Problems "make"ing mod_ruby
d***@remanresource.com
2008-01-17 01:10:46 UTC
Permalink
Hi,

I just downloaded mod_ruby-1.2.6 for my Apache 2.2 server running on Fedora Core 6 Linux. I ran ./configure.rb without problems, but when I run make, I get the below errors. It seems to be complaining about files not being found. Where do I find these most sacred files?

Thanks, - Dave

gcc -g -O2 -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/include/httpd -c mod_ruby.c
In file included from /usr/include/httpd/httpd.h:43,
from mod_ruby.h:52,
from mod_ruby.c:33:
/usr/include/httpd/ap_config.h:25:17: error: apr.h: No such file or directory
/usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such file or directory
/usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory
In file included from /usr/include/httpd/httpd.h:46,
from mod_ruby.h:52,
from mod_ruby.c:33:
/usr/include/httpd/ap_release.h:24:41: error: apr_general.h: No such file or directory
In file included from mod_ruby.h:52,
from mod_ruby.c:33:
/usr/include/httpd/httpd.h:50:24: error: apr_tables.h: No such file or directory
/usr/include/httpd/httpd.h:51:23: error: apr_pools.h: No such file or directory
/usr/include/httpd/httpd.h:52:22: error: apr_time.h: No such file or directory
/usr/include/httpd/httpd.h:53:28: error: apr_network_io.h: No such file or directory
/usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file or directory
/usr/include/httpd/httpd.h:55:22: error: apr_poll.h: No such file or directory
In file included from /usr/include/httpd/httpd.h:59,
from mod_ruby.h:52,
from mod_ruby.c:33:
/usr/include/httpd/ap_regex.h:87: error: expected specifier-qualifier-list before ‘apr_size_t’
/usr/include/httpd/ap_regex.h:118: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/ap_regex.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_regerror’
In file included from mod_ruby.h:52,
from mod_ruby.c:33:
/usr/include/httpd/httpd.h:433: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:601: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/httpd.h:723:21: error: apr_uri.h: No such file or directory
/usr/include/httpd/httpd.h:730: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:746: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:1008: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:1085: error: expected specifier-qualifier-list before ‘APR_RING_ENTRY’
/usr/include/httpd/httpd.h:1118: error: expected specifier-qualifier-list before ‘apr_sockaddr_t’
/usr/include/httpd/httpd.h:1146: error: expected specifier-qualifier-list before ‘apr_port_t’
/usr/include/httpd/httpd.h:1199: error: expected specifier-qualifier-list before ‘apr_bucket_brigade’
/usr/include/httpd/httpd.h:1207: error: expected specifier-qualifier-list before ‘apr_bucket_brigade’
/usr/include/httpd/httpd.h:1213: error: expected specifier-qualifier-list before ‘apr_socket_t’
/usr/include/httpd/httpd.h:1229: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1239: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1252: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1262: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1271: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1281: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1291: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1303: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1311: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1320: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1331: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1354: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1364: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1376: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1385: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1394: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1436: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1446: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1457: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1465: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1474: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_escape_errorlog_item’
/usr/include/httpd/httpd.h:1485: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1494: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1523: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1537: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1547: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1599: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1607: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1621: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1629: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1642: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1682: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1694: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1704: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1712: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1723: error: expected ‘)’ before ‘*’ token
In file included from mod_ruby.h:53,
from mod_ruby.c:33:
/usr/include/httpd/http_config.h:279: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/http_config.h:357: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:365: error: expected ‘;’ before ‘void’
/usr/include/httpd/http_config.h:557: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:566: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:582: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:607: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_pcfg_openfile’
/usr/include/httpd/http_config.h:619: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:669: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:685: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:686: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:975: error: expected ‘)’ before ‘int’
In file included from mod_ruby.h:54,
from mod_ruby.c:33:
/usr/include/httpd/http_core.h:30:22: error: apr_hash.h: No such file or directory
/usr/include/httpd/http_core.h:31:26: error: apr_optional.h: No such file or directory
In file included from /usr/include/httpd/http_core.h:32,
from mod_ruby.h:54,
from mod_ruby.c:33:
/usr/include/httpd/util_filter.h:72: warning: data definition has no type or storage class
/usr/include/httpd/util_filter.h:72: warning: type defaults to ‘int’ in declaration of ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:136: error: expected declaration specifiers or ‘...’ before ‘*’ token
/usr/include/httpd/util_filter.h:137: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:137: warning: type defaults to ‘int’ in declaration of ‘apr_status_t’
/usr/include/httpd/util_filter.h:137: error: ‘apr_status_t’ declared as function returning a function
/usr/include/httpd/util_filter.h:139: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:140: error: expected declaration specifiers or ‘...’ before ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:141: error: expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/include/httpd/util_filter.h:142: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/util_filter.h:142: error: ‘ap_in_filter_func’ declared as function returning a function
/usr/include/httpd/util_filter.h:146: error: expected specifier-qualifier-list before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:296: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:297: error: expected declaration specifiers or ‘...’ before ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:298: error: expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/include/httpd/util_filter.h:299: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/util_filter.h:299: error: ‘ap_get_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:310: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:310: error: ‘ap_pass_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:348: error: expected declaration specifiers or ‘...’ before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:374: error: expected declaration specifiers or ‘...’ before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:492: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:493: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:493: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/util_filter.h:493: error: ‘ap_save_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:503: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/util_filter.h:511: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:511: error: ‘ap_fflush’ declared as function returning a function
/usr/include/httpd/util_filter.h:548: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:549: error: ‘ap_fputstrs’ declared as function returning a function
/usr/include/httpd/util_filter.h:559: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:562: error: ‘ap_fprintf’ declared as function returning a function
/usr/include/httpd/util_filter.h:562: error: format string argument not a string type
In file included from mod_ruby.h:54,
from mod_ruby.c:33:
/usr/include/httpd/http_core.h:208: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_core.h:222: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_get_server_port’
/usr/include/httpd/http_core.h:229: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_get_limit_req_body’
/usr/include/httpd/http_core.h:278: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/http_core.h:314: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_core.h:633: error: expected specifier-qualifier-list before ‘apr_hash_t’
/usr/include/httpd/http_core.h:662: error: expected ‘)’ before ‘int’
/usr/include/httpd/http_core.h:680: error: expected declaration specifiers or ‘...’ before ‘ap_ident_lookup’
/usr/include/httpd/http_core.h:681: error: expected declaration specifiers or ‘...’ before ‘(’ token
/usr/include/httpd/http_core.h:681: warning: data definition has no type or storage class
/usr/include/httpd/http_core.h:681: warning: type defaults to ‘int’ in declaration of ‘APR_DECLARE_OPTIONAL_FN’
In file included from mod_ruby.h:55,
from mod_ruby.c:33:
/usr/include/httpd/http_log.h:33:29: error: apr_thread_proc.h: No such file or directory
In file included from mod_ruby.h:55,
from mod_ruby.c:33:
/usr/include/httpd/http_log.h:102: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:109: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:121: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:196: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_log.h:198: error: format string argument not a string type
/usr/include/httpd/http_log.h:261: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:269: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:282: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/http_log.h:301: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:335: error: expected ‘)’ before ‘void’
In file included from mod_ruby.h:56,
from mod_ruby.c:33:
/usr/include/httpd/http_main.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:64: error: expected declaration specifiers or ‘...’ before ‘ap_signal_server’
/usr/include/httpd/http_main.h:64: error: expected declaration specifiers or ‘...’ before ‘(’ token
/usr/include/httpd/http_main.h:64: warning: data definition has no type or storage class
/usr/include/httpd/http_main.h:64: warning: type defaults to ‘int’ in declaration of ‘APR_DECLARE_OPTIONAL_FN’
/usr/include/httpd/http_main.h:64: error: conflicting types for ‘APR_DECLARE_OPTIONAL_FN’
/usr/include/httpd/http_core.h:681: error: previous declaration of ‘APR_DECLARE_OPTIONAL_FN’ was here
In file included from mod_ruby.h:57,
from mod_ruby.c:33:
/usr/include/httpd/http_protocol.h:31:26: error: apr_portable.h: No such file or directory
/usr/include/httpd/http_protocol.h:32:22: error: apr_mmap.h: No such file or directory
In file included from mod_ruby.h:57,
from mod_ruby.c:33:
/usr/include/httpd/http_protocol.h:45: error: expected ‘)’ before ‘void’
/usr/include/httpd/http_protocol.h:77: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:111: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/http_protocol.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_rationalize_mtime’
/usr/include/httpd/http_protocol.h:203: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:228: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:235: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:253: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:426: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:534: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:535: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:537: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:537: error: ‘ap_rgetline_core’ declared as function returning a function
/usr/include/httpd/http_protocol.h:554: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:569: error: expected ‘)’ before ‘int’
/usr/include/httpd/http_protocol.h:608: error: expected specifier-qualifier-list before ‘apr_bucket_refcount’
/usr/include/httpd/http_protocol.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_bucket_type_error’
/usr/include/httpd/http_protocol.h:633: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_protocol.h:644: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_protocol.h:648: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:648: error: ‘ap_byterange_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:649: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:649: error: ‘ap_http_header_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:651: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:651: error: ‘ap_content_length_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:652: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:652: error: ‘ap_old_write_filter’ declared as function returning a function
In file included from mod_ruby.h:58,
from mod_ruby.c:33:
/usr/include/httpd/http_request.h:105: warning: type defaults to ‘int’ in declaration of ‘apr_finfo_t’
/usr/include/httpd/http_request.h:105: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/httpd/http_request.h:131: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_request.h:131: error: ‘ap_sub_req_output_filter’ declared as function returning a function
/usr/include/httpd/http_request.h:198: error: expected declaration specifiers or ‘...’ before ‘apr_time_t’
/usr/include/httpd/http_request.h:261: error: expected ‘)’ before ‘int’
In file included from mod_ruby.h:59,
from mod_ruby.c:33:
/usr/include/httpd/util_script.h:51: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/util_script.h:90: error: expected declaration specifiers or ‘...’ before ‘apr_file_t’
/usr/include/httpd/util_script.h:104: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
In file included from mod_ruby.c:33:
mod_ruby.h:80:21: error: apr_lib.h: No such file or directory
mod_ruby.h:81:23: error: apr_pools.h: No such file or directory
mod_ruby.h:82:25: error: apr_strings.h: No such file or directory
mod_ruby.h:83:24: error: apr_tables.h: No such file or directory
In file included from mod_ruby.c:33:
mod_ruby.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pool’
mod_ruby.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘array_header’
mod_ruby.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘table’
mod_ruby.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘table_entry’
In file included from mod_ruby.h:165,
from mod_ruby.c:33:
apache_request.h:32: error: expected specifier-qualifier-list before ‘table’
apache_request.h:50: error: expected specifier-qualifier-list before ‘table’
apache_request.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:123: error: expected ‘)’ before ‘*’ token
In file included from mod_ruby.h:166,
from mod_ruby.c:33:
apache_multipart_buffer.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from mod_ruby.h:167,
from mod_ruby.c:33:
apache_cookie.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ApacheCookieJar’
apache_cookie.h:28: error: expected specifier-qualifier-list before ‘array_header’
apache_cookie.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from mod_ruby.c:33:
mod_ruby.h:173: error: expected specifier-qualifier-list before ‘array_header’
mod_ruby.h:182: error: expected specifier-qualifier-list before ‘table’
mod_ruby.h:209: error: expected specifier-qualifier-list before ‘table’
mod_ruby.h:235: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from mod_ruby.c:34:
ruby_config.h:33: error: expected ‘)’ before ‘*’ token
ruby_config.h:34: error: expected ‘)’ before ‘*’ token
ruby_config.h:35: error: expected ‘)’ before ‘*’ token
ruby_config.h:36: error: expected ‘)’ before ‘*’ token
In file included from mod_ruby.c:35:
apachelib.h:49: error: expected ‘)’ before ‘*’ token
apachelib.h:55: error: expected ‘)’ before ‘*’ token
apachelib.h:95: error: expected ‘)’ before ‘*’ token
mod_ruby.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.c:221: error: expected ‘)’ before ‘*’ token
mod_ruby.c:222: error: expected ‘)’ before ‘*’ token
mod_ruby.c:224: error: expected ‘)’ before ‘*’ token
mod_ruby.c:244: error: ‘ruby_create_dir_config’ undeclared here (not in a function)
mod_ruby.c:244: warning: excess elements in struct initializer
mod_ruby.c:244: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:245: error: ‘ruby_merge_dir_config’ undeclared here (not in a function)
mod_ruby.c:245: warning: excess elements in struct initializer
mod_ruby.c:245: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:246: error: ‘ruby_create_server_config’ undeclared here (not in a function)
mod_ruby.c:246: warning: excess elements in struct initializer
mod_ruby.c:246: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:247: error: ‘ruby_merge_server_config’ undeclared here (not in a function)
mod_ruby.c:247: warning: excess elements in struct initializer
mod_ruby.c:247: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:248: warning: excess elements in struct initializer
mod_ruby.c:248: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:249: error: ‘ruby_register_hooks’ undeclared here (not in a function)
mod_ruby.c:250: warning: excess elements in struct initializer
mod_ruby.c:250: warning: (near initialization for ‘ruby_module’)
mod_ruby.c: In function ‘handle_error’:
mod_ruby.c:527: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:528: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:529: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:530: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:533: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c: In function ‘mod_ruby_setup_loadpath’:
mod_ruby.c:551: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:552: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:553: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:558: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:559: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:560: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c: At top level:
mod_ruby.c:592: error: expected ‘)’ before ‘*’ token
mod_ruby.c: In function ‘ruby_init_interpreter’:
mod_ruby.c:635: error: ‘server_rec’ has no member named ‘module_config’
mod_ruby.c:692: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:693: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:697: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:701: error: ‘ruby_required_libraries’ undeclared (first use in this function)
mod_ruby.c:701: error: (Each undeclared identifier is reported only once
mod_ruby.c:701: error: for each function it appears in.)
mod_ruby.c: At top level:
mod_ruby.c:814: error: ‘ruby_child_cleanup’ declared as function returning a function
mod_ruby.c: In function ‘ruby_child_cleanup’:
mod_ruby.c:836: error: ‘APR_SUCCESS’ undeclared (first use in this function)
mod_ruby.c: At top level:
mod_ruby.c:842: error: expected declaration specifiers or ‘...’ before ‘pool’
mod_ruby.c: In function ‘fake_request_rec’:
mod_ruby.c:844: warning: implicit declaration of function ‘apr_pcalloc’
mod_ruby.c:844: error: ‘p’ undeclared (first use in this function)
mod_ruby.c:845: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:846: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:847: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:848: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:849: error: ‘request_rec’ has no member named ‘uri’
mod_ruby.c:850: error: ‘request_rec’ has no member named ‘notes’
mod_ruby.c: At top level:
mod_ruby.c:854: error: expected declaration specifiers or ‘...’ before ‘array_header’
mod_ruby.c:857: error: expected ‘)’ before ‘*’ token
mod_ruby.c:923: error: expected ‘)’ before ‘*’ token
mod_ruby.c:957: error: expected ‘)’ before ‘*’ token
mod_ruby.c: In function ‘rb_setup_cgi_env’:
mod_ruby.c:974: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:975: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:975: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:977: warning: implicit declaration of function ‘mod_ruby_clearenv’
mod_ruby.c:977: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:980: warning: implicit declaration of function ‘setenv_from_table’
mod_ruby.c:980: error: ‘request_rec’ has no member named ‘subprocess_env’
mod_ruby.c:981: error: ‘ruby_server_config’ has no member named ‘env’
mod_ruby.c:982: error: ‘ruby_dir_config’ has no member named ‘env’
mod_ruby.c: At top level:
mod_ruby.c:1076: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.c:1095: error: expected ‘)’ before ‘*’ token
mod_ruby.c: In function ‘per_request_init’:
mod_ruby.c:1117: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1118: warning: implicit declaration of function ‘apr_palloc’
mod_ruby.c:1118: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1118: warning: assignment makes pointer from integer without a cast
mod_ruby.c:1119: error: ‘ruby_request_config’ has no member named ‘saved_env’
mod_ruby.c:1119: warning: implicit declaration of function ‘save_env’
mod_ruby.c:1119: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1120: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:1121: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1123: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1123: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1124: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1135: error: ‘request_rec’ has no member named ‘filename’
mod_ruby.c:1136: error: ‘request_rec’ has no member named ‘filename’
mod_ruby.c: In function ‘per_request_cleanup’:
mod_ruby.c:1147: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1147: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1150: error: ‘request_rec’ has no member named ‘next’
mod_ruby.c:1151: error: ‘request_rec’ has no member named ‘next’
mod_ruby.c:1159: error: ‘request_rec’ has no member named ‘main’
mod_ruby.c:1160: error: ‘request_rec’ has no member named ‘main’
mod_ruby.c:1174: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1175: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1177: warning: implicit declaration of function ‘restore_env’
mod_ruby.c:1177: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1177: error: ‘ruby_request_config’ has no member named ‘saved_env’
mod_ruby.c:1180: error: ‘ruby_dir_config’ has no member named ‘gc_per_request’
mod_ruby.c: In function ‘ruby_handler_0’:
mod_ruby.c:1215: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c: At top level:
mod_ruby.c:1224: error: expected specifier-qualifier-list before ‘array_header’
mod_ruby.c: In function ‘ruby_handler_internal’:
mod_ruby.c:1234: error: ‘array_header’ undeclared (first use in this function)
mod_ruby.c:1234: error: ‘handlers_arr’ undeclared (first use in this function)
mod_ruby.c:1234: error: ‘handler_internal_arg_t’ has no member named ‘handlers_arr’
mod_ruby.c:1235: error: ‘handler_internal_arg_t’ has no member named ‘mid’
mod_ruby.c:1236: error: ‘handler_internal_arg_t’ has no member named ‘run_all’
mod_ruby.c:1237: error: ‘handler_internal_arg_t’ has no member named ‘flush’
mod_ruby.c:1251: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1252: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1252: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1253: error: ‘ruby_dir_config’ has no member named ‘safe_level’
mod_ruby.c:1256: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1264: error: ‘ruby_server_config’ has no member named ‘timeout’
mod_ruby.c:1277: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1281: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1284: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1284: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1287: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c: At top level:
mod_ruby.c:1292: error: expected declaration specifiers or ‘...’ before ‘array_header’
mod_ruby.c: In function ‘ruby_handler’:
mod_ruby.c:1297: error: ‘handlers_arr’ undeclared (first use in this function)
mod_ruby.c:1300: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1300: warning: assignment makes pointer from integer without a cast
mod_ruby.c:1302: error: ‘handler_internal_arg_t’ has no member named ‘handlers_arr’
mod_ruby.c:1303: error: ‘handler_internal_arg_t’ has no member named ‘mid’
mod_ruby.c:1304: error: ‘handler_internal_arg_t’ has no member named ‘run_all’
mod_ruby.c:1305: error: ‘handler_internal_arg_t’ has no member named ‘flush’
mod_ruby.c:1306: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1329: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c: In function ‘ruby_object_handler’:
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1342: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1342: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1343: error: ‘ruby_dir_config’ has no member named ‘ruby_handler’
mod_ruby.c:1343: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1345: error: ‘request_rec’ has no member named ‘finfo’
mod_ruby.c:1345: error: ‘APR_DIR’ undeclared (first use in this function)
mod_ruby.c:1346: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c: In function ‘ruby_trans_handler’:
mod_ruby.c:1353: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1353: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1355: error: ‘ruby_dir_config’ has no member named ‘ruby_trans_handler’
mod_ruby.c:1356: error: too many arguments to function ‘ruby_handler’
mod_ruby.c: In function ‘ruby_authen_handler’:
mod_ruby.c:1361: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1361: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1364: error: ‘ruby_dir_config’ has no member named ‘ruby_authen_handler’
mod_ruby.c:1365: error: ‘ruby_dir_config’ has no member named ‘ruby_authen_handler’
mod_ruby.c:1366: error: too many arguments to function ‘ruby_handler’
mod_ruby.c: In function ‘ruby_authz_handler’:
mod_ruby.c:1372: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1372: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1374: error: ‘ruby_dir_config’ has no member named ‘ruby_authz_handler’
mod_ruby.c:1375: error: too many arguments to function ‘ruby_handler’
mod_ruby.c: In function ‘ruby_access_handler’:
mod_ruby.c:1380: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1380: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1382: error: ‘ruby_dir_config’ has no member named ‘ruby_access_handler’
mod_ruby.c:1383: error: too many arguments to function ‘ruby_handler’
mod_ruby.c: In function ‘ruby_type_handler’:
mod_ruby.c:1388: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1388: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1390: error: ‘ruby_dir_config’ has no member named ‘ruby_type_handler’
mod_ruby.c:1391: error: ‘ruby_dir_config’ has no member named ‘ruby_type_handler’
mod_ruby.c:1392: error: too many arguments to function ‘ruby_handler’
mod_ruby.c: In function ‘ruby_fixup_handler’:
mod_ruby.c:1397: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1397: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1399: error: ‘ruby_dir_config’ has no member named ‘ruby_fixup_handler’
mod_ruby.c:1400: error: ‘ruby_dir_config’ has no member named ‘ruby_fixup_handler’
mod_ruby.c:1401: error: too many arguments to function ‘ruby_handler’
mod_ruby.c: In function ‘ruby_log_handler’:
mod_ruby.c:1406: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1406: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1408: error: ‘ruby_dir_config’ has no member named ‘ruby_log_handler’
mod_ruby.c:1409: error: ‘ruby_dir_config’ has no member named ‘ruby_log_handler’
mod_ruby.c:1410: error: too many arguments to function ‘ruby_handler’
mod_ruby.c: At top level:
mod_ruby.c:1433: error: ‘ruby_cleanup_handler’ declared as function returning a function
mod_ruby.c: In function ‘ruby_cleanup_handler’:
mod_ruby.c:1435: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1435: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1437: error: ‘ruby_dir_config’ has no member named ‘ruby_cleanup_handler’
mod_ruby.c:1438: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1439: error: ‘APR_SUCCESS’ undeclared (first use in this function)
mod_ruby.c: In function ‘ruby_post_read_request_handler’:
mod_ruby.c:1444: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1444: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1447: warning: implicit declaration of function ‘apr_pool_cleanup_register’
mod_ruby.c:1447: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1448: error: ‘apr_pool_cleanup_null’ undeclared (first use in this function)
mod_ruby.c:1450: error: ‘ruby_dir_config’ has no member named ‘ruby_init_handler’
mod_ruby.c:1451: error: ‘ruby_dir_config’ has no member named ‘ruby_init_handler’
mod_ruby.c:1452: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1453: warning: implicit declaration of function ‘apr_table_set’
mod_ruby.c:1453: error: ‘request_rec’ has no member named ‘notes’
mod_ruby.c:1457: error: ‘ruby_dir_config’ has no member named ‘ruby_post_read_request_handler’
mod_ruby.c:1458: error: too many arguments to function ‘ruby_handler’
make: *** [mod_ruby.o] Error 1
Arnold Daniels
2008-01-17 01:39:16 UTC
Permalink
Hi Dave,

I looks like you are missing the apache runtime header files. Do a
`locate apr.h` and see what is comes up with. On a debian/ubuntu system
you would need to do `apt-get install libapr0-dev`, but I don't know the
equivalent on Fedora.

The files should be located in /usr/include/apr0 (could be apr1).

Good luck,
Arnold
Post by d***@remanresource.com
Hi,
I just downloaded mod_ruby-1.2.6 for my Apache 2.2 server running on Fedora Core 6 Linux. I ran ./configure.rb without problems, but when I run make, I get the below errors. It seems to be complaining about files not being found. Where do I find these most sacred files?
Thanks, - Dave
gcc -g -O2 -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/include/httpd -c mod_ruby.c
In file included from /usr/include/httpd/httpd.h:43,
from mod_ruby.h:52,
/usr/include/httpd/ap_config.h:25:17: error: apr.h: No such file or directory
/usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such file or directory
/usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory
In file included from /usr/include/httpd/httpd.h:46,
from mod_ruby.h:52,
/usr/include/httpd/ap_release.h:24:41: error: apr_general.h: No such file or directory
In file included from mod_ruby.h:52,
/usr/include/httpd/httpd.h:50:24: error: apr_tables.h: No such file or directory
/usr/include/httpd/httpd.h:51:23: error: apr_pools.h: No such file or directory
/usr/include/httpd/httpd.h:52:22: error: apr_time.h: No such file or directory
/usr/include/httpd/httpd.h:53:28: error: apr_network_io.h: No such file or directory
/usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file or directory
/usr/include/httpd/httpd.h:55:22: error: apr_poll.h: No such file or directory
In file included from /usr/include/httpd/httpd.h:59,
from mod_ruby.h:52,
/usr/include/httpd/ap_regex.h:87: error: expected specifier-qualifier-list before ‘apr_size_t’
/usr/include/httpd/ap_regex.h:118: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/ap_regex.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_regerror’
In file included from mod_ruby.h:52,
/usr/include/httpd/httpd.h:433: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:601: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/httpd.h:723:21: error: apr_uri.h: No such file or directory
/usr/include/httpd/httpd.h:730: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:746: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:1008: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:1085: error: expected specifier-qualifier-list before ‘APR_RING_ENTRY’
/usr/include/httpd/httpd.h:1118: error: expected specifier-qualifier-list before ‘apr_sockaddr_t’
/usr/include/httpd/httpd.h:1146: error: expected specifier-qualifier-list before ‘apr_port_t’
/usr/include/httpd/httpd.h:1199: error: expected specifier-qualifier-list before ‘apr_bucket_brigade’
/usr/include/httpd/httpd.h:1207: error: expected specifier-qualifier-list before ‘apr_bucket_brigade’
/usr/include/httpd/httpd.h:1213: error: expected specifier-qualifier-list before ‘apr_socket_t’
/usr/include/httpd/httpd.h:1229: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1239: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1252: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1262: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1271: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1281: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1291: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1303: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1311: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1320: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1331: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1354: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1364: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1376: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1385: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1394: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1436: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1446: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1457: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1465: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1474: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_escape_errorlog_item’
/usr/include/httpd/httpd.h:1485: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1494: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1523: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1537: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1547: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1599: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1607: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1621: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1629: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1642: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1682: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1694: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1704: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1712: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1723: error: expected ‘)’ before ‘*’ token
In file included from mod_ruby.h:53,
/usr/include/httpd/http_config.h:279: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/http_config.h:357: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:365: error: expected ‘;’ before ‘void’
/usr/include/httpd/http_config.h:557: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:566: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:582: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:607: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_pcfg_openfile’
/usr/include/httpd/http_config.h:619: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:669: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:685: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:686: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:975: error: expected ‘)’ before ‘int’
In file included from mod_ruby.h:54,
/usr/include/httpd/http_core.h:30:22: error: apr_hash.h: No such file or directory
/usr/include/httpd/http_core.h:31:26: error: apr_optional.h: No such file or directory
In file included from /usr/include/httpd/http_core.h:32,
from mod_ruby.h:54,
/usr/include/httpd/util_filter.h:72: warning: data definition has no type or storage class
/usr/include/httpd/util_filter.h:72: warning: type defaults to ‘int’ in declaration of ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:136: error: expected declaration specifiers or ‘...’ before ‘*’ token
/usr/include/httpd/util_filter.h:137: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:137: warning: type defaults to ‘int’ in declaration of ‘apr_status_t’
/usr/include/httpd/util_filter.h:137: error: ‘apr_status_t’ declared as function returning a function
/usr/include/httpd/util_filter.h:139: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:140: error: expected declaration specifiers or ‘...’ before ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:141: error: expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/include/httpd/util_filter.h:142: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/util_filter.h:142: error: ‘ap_in_filter_func’ declared as function returning a function
/usr/include/httpd/util_filter.h:146: error: expected specifier-qualifier-list before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:296: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:297: error: expected declaration specifiers or ‘...’ before ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:298: error: expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/include/httpd/util_filter.h:299: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/util_filter.h:299: error: ‘ap_get_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:310: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:310: error: ‘ap_pass_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:348: error: expected declaration specifiers or ‘...’ before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:374: error: expected declaration specifiers or ‘...’ before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:492: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:493: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:493: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/util_filter.h:493: error: ‘ap_save_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:503: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/util_filter.h:511: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:511: error: ‘ap_fflush’ declared as function returning a function
/usr/include/httpd/util_filter.h:548: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:549: error: ‘ap_fputstrs’ declared as function returning a function
/usr/include/httpd/util_filter.h:559: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:562: error: ‘ap_fprintf’ declared as function returning a function
/usr/include/httpd/util_filter.h:562: error: format string argument not a string type
In file included from mod_ruby.h:54,
/usr/include/httpd/http_core.h:208: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_core.h:222: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_get_server_port’
/usr/include/httpd/http_core.h:229: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_get_limit_req_body’
/usr/include/httpd/http_core.h:278: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/http_core.h:314: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_core.h:633: error: expected specifier-qualifier-list before ‘apr_hash_t’
/usr/include/httpd/http_core.h:662: error: expected ‘)’ before ‘int’
/usr/include/httpd/http_core.h:680: error: expected declaration specifiers or ‘...’ before ‘ap_ident_lookup’
/usr/include/httpd/http_core.h:681: error: expected declaration specifiers or ‘...’ before ‘(’ token
/usr/include/httpd/http_core.h:681: warning: data definition has no type or storage class
/usr/include/httpd/http_core.h:681: warning: type defaults to ‘int’ in declaration of ‘APR_DECLARE_OPTIONAL_FN’
In file included from mod_ruby.h:55,
/usr/include/httpd/http_log.h:33:29: error: apr_thread_proc.h: No such file or directory
In file included from mod_ruby.h:55,
/usr/include/httpd/http_log.h:102: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:109: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:121: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:196: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_log.h:198: error: format string argument not a string type
/usr/include/httpd/http_log.h:261: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:269: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:282: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/http_log.h:301: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:335: error: expected ‘)’ before ‘void’
In file included from mod_ruby.h:56,
/usr/include/httpd/http_main.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:64: error: expected declaration specifiers or ‘...’ before ‘ap_signal_server’
/usr/include/httpd/http_main.h:64: error: expected declaration specifiers or ‘...’ before ‘(’ token
/usr/include/httpd/http_main.h:64: warning: data definition has no type or storage class
/usr/include/httpd/http_main.h:64: warning: type defaults to ‘int’ in declaration of ‘APR_DECLARE_OPTIONAL_FN’
/usr/include/httpd/http_main.h:64: error: conflicting types for ‘APR_DECLARE_OPTIONAL_FN’
/usr/include/httpd/http_core.h:681: error: previous declaration of ‘APR_DECLARE_OPTIONAL_FN’ was here
In file included from mod_ruby.h:57,
/usr/include/httpd/http_protocol.h:31:26: error: apr_portable.h: No such file or directory
/usr/include/httpd/http_protocol.h:32:22: error: apr_mmap.h: No such file or directory
In file included from mod_ruby.h:57,
/usr/include/httpd/http_protocol.h:45: error: expected ‘)’ before ‘void’
/usr/include/httpd/http_protocol.h:77: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:111: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/http_protocol.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_rationalize_mtime’
/usr/include/httpd/http_protocol.h:203: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:228: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:235: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:253: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:426: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:534: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:535: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:537: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:537: error: ‘ap_rgetline_core’ declared as function returning a function
/usr/include/httpd/http_protocol.h:554: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:569: error: expected ‘)’ before ‘int’
/usr/include/httpd/http_protocol.h:608: error: expected specifier-qualifier-list before ‘apr_bucket_refcount’
/usr/include/httpd/http_protocol.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_bucket_type_error’
/usr/include/httpd/http_protocol.h:633: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_protocol.h:644: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_protocol.h:648: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:648: error: ‘ap_byterange_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:649: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:649: error: ‘ap_http_header_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:651: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:651: error: ‘ap_content_length_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:652: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:652: error: ‘ap_old_write_filter’ declared as function returning a function
In file included from mod_ruby.h:58,
/usr/include/httpd/http_request.h:105: warning: type defaults to ‘int’ in declaration of ‘apr_finfo_t’
/usr/include/httpd/http_request.h:105: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/httpd/http_request.h:131: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_request.h:131: error: ‘ap_sub_req_output_filter’ declared as function returning a function
/usr/include/httpd/http_request.h:198: error: expected declaration specifiers or ‘...’ before ‘apr_time_t’
/usr/include/httpd/http_request.h:261: error: expected ‘)’ before ‘int’
In file included from mod_ruby.h:59,
/usr/include/httpd/util_script.h:51: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/util_script.h:90: error: expected declaration specifiers or ‘...’ before ‘apr_file_t’
/usr/include/httpd/util_script.h:104: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
mod_ruby.h:80:21: error: apr_lib.h: No such file or directory
mod_ruby.h:81:23: error: apr_pools.h: No such file or directory
mod_ruby.h:82:25: error: apr_strings.h: No such file or directory
mod_ruby.h:83:24: error: apr_tables.h: No such file or directory
mod_ruby.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pool’
mod_ruby.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘array_header’
mod_ruby.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘table’
mod_ruby.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘table_entry’
In file included from mod_ruby.h:165,
apache_request.h:32: error: expected specifier-qualifier-list before ‘table’
apache_request.h:50: error: expected specifier-qualifier-list before ‘table’
apache_request.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:123: error: expected ‘)’ before ‘*’ token
In file included from mod_ruby.h:166,
apache_multipart_buffer.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from mod_ruby.h:167,
apache_cookie.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ApacheCookieJar’
apache_cookie.h:28: error: expected specifier-qualifier-list before ‘array_header’
apache_cookie.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.h:173: error: expected specifier-qualifier-list before ‘array_header’
mod_ruby.h:182: error: expected specifier-qualifier-list before ‘table’
mod_ruby.h:209: error: expected specifier-qualifier-list before ‘table’
mod_ruby.h:235: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ruby_config.h:33: error: expected ‘)’ before ‘*’ token
ruby_config.h:34: error: expected ‘)’ before ‘*’ token
ruby_config.h:35: error: expected ‘)’ before ‘*’ token
ruby_config.h:36: error: expected ‘)’ before ‘*’ token
apachelib.h:49: error: expected ‘)’ before ‘*’ token
apachelib.h:55: error: expected ‘)’ before ‘*’ token
apachelib.h:95: error: expected ‘)’ before ‘*’ token
mod_ruby.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.c:221: error: expected ‘)’ before ‘*’ token
mod_ruby.c:222: error: expected ‘)’ before ‘*’ token
mod_ruby.c:224: error: expected ‘)’ before ‘*’ token
mod_ruby.c:244: error: ‘ruby_create_dir_config’ undeclared here (not in a function)
mod_ruby.c:244: warning: excess elements in struct initializer
mod_ruby.c:244: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:245: error: ‘ruby_merge_dir_config’ undeclared here (not in a function)
mod_ruby.c:245: warning: excess elements in struct initializer
mod_ruby.c:245: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:246: error: ‘ruby_create_server_config’ undeclared here (not in a function)
mod_ruby.c:246: warning: excess elements in struct initializer
mod_ruby.c:246: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:247: error: ‘ruby_merge_server_config’ undeclared here (not in a function)
mod_ruby.c:247: warning: excess elements in struct initializer
mod_ruby.c:247: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:248: warning: excess elements in struct initializer
mod_ruby.c:248: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:249: error: ‘ruby_register_hooks’ undeclared here (not in a function)
mod_ruby.c:250: warning: excess elements in struct initializer
mod_ruby.c:250: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:527: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:528: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:529: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:530: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:533: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:551: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:552: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:553: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:558: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:559: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:560: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:592: error: expected ‘)’ before ‘*’ token
mod_ruby.c:635: error: ‘server_rec’ has no member named ‘module_config’
mod_ruby.c:692: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:693: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:697: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:701: error: ‘ruby_required_libraries’ undeclared (first use in this function)
mod_ruby.c:701: error: (Each undeclared identifier is reported only once
mod_ruby.c:701: error: for each function it appears in.)
mod_ruby.c:814: error: ‘ruby_child_cleanup’ declared as function returning a function
mod_ruby.c:836: error: ‘APR_SUCCESS’ undeclared (first use in this function)
mod_ruby.c:842: error: expected declaration specifiers or ‘...’ before ‘pool’
mod_ruby.c:844: warning: implicit declaration of function ‘apr_pcalloc’
mod_ruby.c:844: error: ‘p’ undeclared (first use in this function)
mod_ruby.c:845: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:846: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:847: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:848: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:849: error: ‘request_rec’ has no member named ‘uri’
mod_ruby.c:850: error: ‘request_rec’ has no member named ‘notes’
mod_ruby.c:854: error: expected declaration specifiers or ‘...’ before ‘array_header’
mod_ruby.c:857: error: expected ‘)’ before ‘*’ token
mod_ruby.c:923: error: expected ‘)’ before ‘*’ token
mod_ruby.c:957: error: expected ‘)’ before ‘*’ token
mod_ruby.c:974: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:975: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:975: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:977: warning: implicit declaration of function ‘mod_ruby_clearenv’
mod_ruby.c:977: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:980: warning: implicit declaration of function ‘setenv_from_table’
mod_ruby.c:980: error: ‘request_rec’ has no member named ‘subprocess_env’
mod_ruby.c:981: error: ‘ruby_server_config’ has no member named ‘env’
mod_ruby.c:982: error: ‘ruby_dir_config’ has no member named ‘env’
mod_ruby.c:1076: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.c:1095: error: expected ‘)’ before ‘*’ token
mod_ruby.c:1117: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1118: warning: implicit declaration of function ‘apr_palloc’
mod_ruby.c:1118: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1118: warning: assignment makes pointer from integer without a cast
mod_ruby.c:1119: error: ‘ruby_request_config’ has no member named ‘saved_env’
mod_ruby.c:1119: warning: implicit declaration of function ‘save_env’
mod_ruby.c:1119: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1120: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:1121: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1123: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1123: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1124: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1135: error: ‘request_rec’ has no member named ‘filename’
mod_ruby.c:1136: error: ‘request_rec’ has no member named ‘filename’
mod_ruby.c:1147: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1147: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1150: error: ‘request_rec’ has no member named ‘next’
mod_ruby.c:1151: error: ‘request_rec’ has no member named ‘next’
mod_ruby.c:1159: error: ‘request_rec’ has no member named ‘main’
mod_ruby.c:1160: error: ‘request_rec’ has no member named ‘main’
mod_ruby.c:1174: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1175: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1177: warning: implicit declaration of function ‘restore_env’
mod_ruby.c:1177: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1177: error: ‘ruby_request_config’ has no member named ‘saved_env’
mod_ruby.c:1180: error: ‘ruby_dir_config’ has no member named ‘gc_per_request’
mod_ruby.c:1215: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1224: error: expected specifier-qualifier-list before ‘array_header’
mod_ruby.c:1234: error: ‘array_header’ undeclared (first use in this function)
mod_ruby.c:1234: error: ‘handlers_arr’ undeclared (first use in this function)
mod_ruby.c:1234: error: ‘handler_internal_arg_t’ has no member named ‘handlers_arr’
mod_ruby.c:1235: error: ‘handler_internal_arg_t’ has no member named ‘mid’
mod_ruby.c:1236: error: ‘handler_internal_arg_t’ has no member named ‘run_all’
mod_ruby.c:1237: error: ‘handler_internal_arg_t’ has no member named ‘flush’
mod_ruby.c:1251: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1252: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1252: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1253: error: ‘ruby_dir_config’ has no member named ‘safe_level’
mod_ruby.c:1256: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1264: error: ‘ruby_server_config’ has no member named ‘timeout’
mod_ruby.c:1277: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1281: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1284: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1284: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1287: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1292: error: expected declaration specifiers or ‘...’ before ‘array_header’
mod_ruby.c:1297: error: ‘handlers_arr’ undeclared (first use in this function)
mod_ruby.c:1300: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1300: warning: assignment makes pointer from integer without a cast
mod_ruby.c:1302: error: ‘handler_internal_arg_t’ has no member named ‘handlers_arr’
mod_ruby.c:1303: error: ‘handler_internal_arg_t’ has no member named ‘mid’
mod_ruby.c:1304: error: ‘handler_internal_arg_t’ has no member named ‘run_all’
mod_ruby.c:1305: error: ‘handler_internal_arg_t’ has no member named ‘flush’
mod_ruby.c:1306: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1329: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1342: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1342: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1343: error: ‘ruby_dir_config’ has no member named ‘ruby_handler’
mod_ruby.c:1343: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1345: error: ‘request_rec’ has no member named ‘finfo’
mod_ruby.c:1345: error: ‘APR_DIR’ undeclared (first use in this function)
mod_ruby.c:1346: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1353: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1353: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1355: error: ‘ruby_dir_config’ has no member named ‘ruby_trans_handler’
mod_ruby.c:1356: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1361: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1361: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1364: error: ‘ruby_dir_config’ has no member named ‘ruby_authen_handler’
mod_ruby.c:1365: error: ‘ruby_dir_config’ has no member named ‘ruby_authen_handler’
mod_ruby.c:1366: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1372: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1372: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1374: error: ‘ruby_dir_config’ has no member named ‘ruby_authz_handler’
mod_ruby.c:1375: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1380: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1380: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1382: error: ‘ruby_dir_config’ has no member named ‘ruby_access_handler’
mod_ruby.c:1383: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1388: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1388: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1390: error: ‘ruby_dir_config’ has no member named ‘ruby_type_handler’
mod_ruby.c:1391: error: ‘ruby_dir_config’ has no member named ‘ruby_type_handler’
mod_ruby.c:1392: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1397: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1397: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1399: error: ‘ruby_dir_config’ has no member named ‘ruby_fixup_handler’
mod_ruby.c:1400: error: ‘ruby_dir_config’ has no member named ‘ruby_fixup_handler’
mod_ruby.c:1401: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1406: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1406: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1408: error: ‘ruby_dir_config’ has no member named ‘ruby_log_handler’
mod_ruby.c:1409: error: ‘ruby_dir_config’ has no member named ‘ruby_log_handler’
mod_ruby.c:1410: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1433: error: ‘ruby_cleanup_handler’ declared as function returning a function
mod_ruby.c:1435: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1435: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1437: error: ‘ruby_dir_config’ has no member named ‘ruby_cleanup_handler’
mod_ruby.c:1438: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1439: error: ‘APR_SUCCESS’ undeclared (first use in this function)
mod_ruby.c:1444: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1444: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1447: warning: implicit declaration of function ‘apr_pool_cleanup_register’
mod_ruby.c:1447: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1448: error: ‘apr_pool_cleanup_null’ undeclared (first use in this function)
mod_ruby.c:1450: error: ‘ruby_dir_config’ has no member named ‘ruby_init_handler’
mod_ruby.c:1451: error: ‘ruby_dir_config’ has no member named ‘ruby_init_handler’
mod_ruby.c:1452: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1453: warning: implicit declaration of function ‘apr_table_set’
mod_ruby.c:1453: error: ‘request_rec’ has no member named ‘notes’
mod_ruby.c:1457: error: ‘ruby_dir_config’ has no member named ‘ruby_post_read_request_handler’
mod_ruby.c:1458: error: too many arguments to function ‘ruby_handler’
make: *** [mod_ruby.o] Error 1
Jason Edwards
2008-01-17 02:36:24 UTC
Permalink
You could find out by doing:

`yum whatprovides apr.h`

then `yum install` that package, of course. The convention in the
redhat world is development packages end with '-devel'

Jason
Post by Arnold Daniels
Hi Dave,
I looks like you are missing the apache runtime header files. Do a
`locate apr.h` and see what is comes up with. On a debian/ubuntu system
you would need to do `apt-get install libapr0-dev`, but I don't know the
equivalent on Fedora.
The files should be located in /usr/include/apr0 (could be apr1).
Good luck,
Arnold
Post by d***@remanresource.com
Hi,
I just downloaded mod_ruby-1.2.6 for my Apache 2.2 server running on Fedora Core 6 Linux. I ran ./configure.rb without problems, but when I run make, I get the below errors. It seems to be complaining about files not being found. Where do I find these most sacred files?
Thanks, - Dave
gcc -g -O2 -fPIC -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/include/httpd -c mod_ruby.c
In file included from /usr/include/httpd/httpd.h:43,
from mod_ruby.h:52,
/usr/include/httpd/ap_config.h:25:17: error: apr.h: No such file or directory
/usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such file or directory
/usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory
In file included from /usr/include/httpd/httpd.h:46,
from mod_ruby.h:52,
/usr/include/httpd/ap_release.h:24:41: error: apr_general.h: No such file or directory
In file included from mod_ruby.h:52,
/usr/include/httpd/httpd.h:50:24: error: apr_tables.h: No such file or directory
/usr/include/httpd/httpd.h:51:23: error: apr_pools.h: No such file or directory
/usr/include/httpd/httpd.h:52:22: error: apr_time.h: No such file or directory
/usr/include/httpd/httpd.h:53:28: error: apr_network_io.h: No such file or directory
/usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file or directory
/usr/include/httpd/httpd.h:55:22: error: apr_poll.h: No such file or directory
In file included from /usr/include/httpd/httpd.h:59,
from mod_ruby.h:52,
/usr/include/httpd/ap_regex.h:87: error: expected specifier-qualifier-list before ‘apr_size_t’
/usr/include/httpd/ap_regex.h:118: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/ap_regex.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_regerror’
In file included from mod_ruby.h:52,
/usr/include/httpd/httpd.h:433: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:601: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/httpd.h:723:21: error: apr_uri.h: No such file or directory
/usr/include/httpd/httpd.h:730: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:746: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:1008: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/httpd.h:1085: error: expected specifier-qualifier-list before ‘APR_RING_ENTRY’
/usr/include/httpd/httpd.h:1118: error: expected specifier-qualifier-list before ‘apr_sockaddr_t’
/usr/include/httpd/httpd.h:1146: error: expected specifier-qualifier-list before ‘apr_port_t’
/usr/include/httpd/httpd.h:1199: error: expected specifier-qualifier-list before ‘apr_bucket_brigade’
/usr/include/httpd/httpd.h:1207: error: expected specifier-qualifier-list before ‘apr_bucket_brigade’
/usr/include/httpd/httpd.h:1213: error: expected specifier-qualifier-list before ‘apr_socket_t’
/usr/include/httpd/httpd.h:1229: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1239: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1252: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1262: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1271: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1281: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1291: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1303: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1311: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1320: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1331: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1354: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1364: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1376: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1385: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1394: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1436: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1446: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1457: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1465: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1474: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_escape_errorlog_item’
/usr/include/httpd/httpd.h:1485: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1494: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1523: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1537: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1547: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1599: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1607: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1621: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1629: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1642: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1682: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1694: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1704: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1712: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/httpd.h:1723: error: expected ‘)’ before ‘*’ token
In file included from mod_ruby.h:53,
/usr/include/httpd/http_config.h:279: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/http_config.h:357: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:365: error: expected ‘;’ before ‘void’
/usr/include/httpd/http_config.h:557: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:566: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:582: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:607: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_pcfg_openfile’
/usr/include/httpd/http_config.h:619: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:669: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_config.h:685: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:686: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_config.h:975: error: expected ‘)’ before ‘int’
In file included from mod_ruby.h:54,
/usr/include/httpd/http_core.h:30:22: error: apr_hash.h: No such file or directory
/usr/include/httpd/http_core.h:31:26: error: apr_optional.h: No such file or directory
In file included from /usr/include/httpd/http_core.h:32,
from mod_ruby.h:54,
/usr/include/httpd/util_filter.h:72: warning: data definition has no type or storage class
/usr/include/httpd/util_filter.h:72: warning: type defaults to ‘int’ in declaration of ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:136: error: expected declaration specifiers or ‘...’ before ‘*’ token
/usr/include/httpd/util_filter.h:137: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:137: warning: type defaults to ‘int’ in declaration of ‘apr_status_t’
/usr/include/httpd/util_filter.h:137: error: ‘apr_status_t’ declared as function returning a function
/usr/include/httpd/util_filter.h:139: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:140: error: expected declaration specifiers or ‘...’ before ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:141: error: expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/include/httpd/util_filter.h:142: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/util_filter.h:142: error: ‘ap_in_filter_func’ declared as function returning a function
/usr/include/httpd/util_filter.h:146: error: expected specifier-qualifier-list before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:296: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:297: error: expected declaration specifiers or ‘...’ before ‘ap_input_mode_t’
/usr/include/httpd/util_filter.h:298: error: expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/include/httpd/util_filter.h:299: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/util_filter.h:299: error: ‘ap_get_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:310: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:310: error: ‘ap_pass_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:348: error: expected declaration specifiers or ‘...’ before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:374: error: expected declaration specifiers or ‘...’ before ‘ap_out_filter_func’
/usr/include/httpd/util_filter.h:492: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:493: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:493: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/util_filter.h:493: error: ‘ap_save_brigade’ declared as function returning a function
/usr/include/httpd/util_filter.h:503: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/util_filter.h:511: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:511: error: ‘ap_fflush’ declared as function returning a function
/usr/include/httpd/util_filter.h:548: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:549: error: ‘ap_fputstrs’ declared as function returning a function
/usr/include/httpd/util_filter.h:559: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/util_filter.h:562: error: ‘ap_fprintf’ declared as function returning a function
/usr/include/httpd/util_filter.h:562: error: format string argument not a string type
In file included from mod_ruby.h:54,
/usr/include/httpd/http_core.h:208: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_core.h:222: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_get_server_port’
/usr/include/httpd/http_core.h:229: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_get_limit_req_body’
/usr/include/httpd/http_core.h:278: error: expected specifier-qualifier-list before ‘apr_int64_t’
/usr/include/httpd/http_core.h:314: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_core.h:633: error: expected specifier-qualifier-list before ‘apr_hash_t’
/usr/include/httpd/http_core.h:662: error: expected ‘)’ before ‘int’
/usr/include/httpd/http_core.h:680: error: expected declaration specifiers or ‘...’ before ‘ap_ident_lookup’
/usr/include/httpd/http_core.h:681: error: expected declaration specifiers or ‘...’ before ‘(’ token
/usr/include/httpd/http_core.h:681: warning: data definition has no type or storage class
/usr/include/httpd/http_core.h:681: warning: type defaults to ‘int’ in declaration of ‘APR_DECLARE_OPTIONAL_FN’
In file included from mod_ruby.h:55,
/usr/include/httpd/http_log.h:33:29: error: apr_thread_proc.h: No such file or directory
In file included from mod_ruby.h:55,
/usr/include/httpd/http_log.h:102: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:109: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:121: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:196: error: expected declaration specifiers or ‘...’ before ‘apr_pool_t’
/usr/include/httpd/http_log.h:198: error: format string argument not a string type
/usr/include/httpd/http_log.h:261: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:269: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:282: error: expected specifier-qualifier-list before ‘apr_pool_t’
/usr/include/httpd/http_log.h:301: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_log.h:335: error: expected ‘)’ before ‘void’
In file included from mod_ruby.h:56,
/usr/include/httpd/http_main.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_main.h:64: error: expected declaration specifiers or ‘...’ before ‘ap_signal_server’
/usr/include/httpd/http_main.h:64: error: expected declaration specifiers or ‘...’ before ‘(’ token
/usr/include/httpd/http_main.h:64: warning: data definition has no type or storage class
/usr/include/httpd/http_main.h:64: warning: type defaults to ‘int’ in declaration of ‘APR_DECLARE_OPTIONAL_FN’
/usr/include/httpd/http_main.h:64: error: conflicting types for ‘APR_DECLARE_OPTIONAL_FN’
/usr/include/httpd/http_core.h:681: error: previous declaration of ‘APR_DECLARE_OPTIONAL_FN’ was here
In file included from mod_ruby.h:57,
/usr/include/httpd/http_protocol.h:31:26: error: apr_portable.h: No such file or directory
/usr/include/httpd/http_protocol.h:32:22: error: apr_mmap.h: No such file or directory
In file included from mod_ruby.h:57,
/usr/include/httpd/http_protocol.h:45: error: expected ‘)’ before ‘void’
/usr/include/httpd/http_protocol.h:77: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:111: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’
/usr/include/httpd/http_protocol.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_rationalize_mtime’
/usr/include/httpd/http_protocol.h:203: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:228: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:235: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:253: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:426: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:534: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:535: error: expected declaration specifiers or ‘...’ before ‘apr_size_t’
/usr/include/httpd/http_protocol.h:537: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:537: error: ‘ap_rgetline_core’ declared as function returning a function
/usr/include/httpd/http_protocol.h:554: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/http_protocol.h:569: error: expected ‘)’ before ‘int’
/usr/include/httpd/http_protocol.h:608: error: expected specifier-qualifier-list before ‘apr_bucket_refcount’
/usr/include/httpd/http_protocol.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_bucket_type_error’
/usr/include/httpd/http_protocol.h:633: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_protocol.h:644: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/httpd/http_protocol.h:648: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:648: error: ‘ap_byterange_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:649: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:649: error: ‘ap_http_header_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:651: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:651: error: ‘ap_content_length_filter’ declared as function returning a function
/usr/include/httpd/http_protocol.h:652: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_protocol.h:652: error: ‘ap_old_write_filter’ declared as function returning a function
In file included from mod_ruby.h:58,
/usr/include/httpd/http_request.h:105: warning: type defaults to ‘int’ in declaration of ‘apr_finfo_t’
/usr/include/httpd/http_request.h:105: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/httpd/http_request.h:131: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/include/httpd/http_request.h:131: error: ‘ap_sub_req_output_filter’ declared as function returning a function
/usr/include/httpd/http_request.h:198: error: expected declaration specifiers or ‘...’ before ‘apr_time_t’
/usr/include/httpd/http_request.h:261: error: expected ‘)’ before ‘int’
In file included from mod_ruby.h:59,
/usr/include/httpd/util_script.h:51: error: expected ‘)’ before ‘*’ token
/usr/include/httpd/util_script.h:90: error: expected declaration specifiers or ‘...’ before ‘apr_file_t’
/usr/include/httpd/util_script.h:104: error: expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
mod_ruby.h:80:21: error: apr_lib.h: No such file or directory
mod_ruby.h:81:23: error: apr_pools.h: No such file or directory
mod_ruby.h:82:25: error: apr_strings.h: No such file or directory
mod_ruby.h:83:24: error: apr_tables.h: No such file or directory
mod_ruby.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pool’
mod_ruby.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘array_header’
mod_ruby.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘table’
mod_ruby.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘table_entry’
In file included from mod_ruby.h:165,
apache_request.h:32: error: expected specifier-qualifier-list before ‘table’
apache_request.h:50: error: expected specifier-qualifier-list before ‘table’
apache_request.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
apache_request.h:123: error: expected ‘)’ before ‘*’ token
In file included from mod_ruby.h:166,
apache_multipart_buffer.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from mod_ruby.h:167,
apache_cookie.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ApacheCookieJar’
apache_cookie.h:28: error: expected specifier-qualifier-list before ‘array_header’
apache_cookie.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.h:173: error: expected specifier-qualifier-list before ‘array_header’
mod_ruby.h:182: error: expected specifier-qualifier-list before ‘table’
mod_ruby.h:209: error: expected specifier-qualifier-list before ‘table’
mod_ruby.h:235: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ruby_config.h:33: error: expected ‘)’ before ‘*’ token
ruby_config.h:34: error: expected ‘)’ before ‘*’ token
ruby_config.h:35: error: expected ‘)’ before ‘*’ token
ruby_config.h:36: error: expected ‘)’ before ‘*’ token
apachelib.h:49: error: expected ‘)’ before ‘*’ token
apachelib.h:55: error: expected ‘)’ before ‘*’ token
apachelib.h:95: error: expected ‘)’ before ‘*’ token
mod_ruby.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.c:221: error: expected ‘)’ before ‘*’ token
mod_ruby.c:222: error: expected ‘)’ before ‘*’ token
mod_ruby.c:224: error: expected ‘)’ before ‘*’ token
mod_ruby.c:244: error: ‘ruby_create_dir_config’ undeclared here (not in a function)
mod_ruby.c:244: warning: excess elements in struct initializer
mod_ruby.c:244: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:245: error: ‘ruby_merge_dir_config’ undeclared here (not in a function)
mod_ruby.c:245: warning: excess elements in struct initializer
mod_ruby.c:245: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:246: error: ‘ruby_create_server_config’ undeclared here (not in a function)
mod_ruby.c:246: warning: excess elements in struct initializer
mod_ruby.c:246: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:247: error: ‘ruby_merge_server_config’ undeclared here (not in a function)
mod_ruby.c:247: warning: excess elements in struct initializer
mod_ruby.c:247: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:248: warning: excess elements in struct initializer
mod_ruby.c:248: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:249: error: ‘ruby_register_hooks’ undeclared here (not in a function)
mod_ruby.c:250: warning: excess elements in struct initializer
mod_ruby.c:250: warning: (near initialization for ‘ruby_module’)
mod_ruby.c:527: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:528: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:529: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:530: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:533: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:551: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:552: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:553: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:558: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:559: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:560: error: ‘ruby_dir_config’ has no member named ‘load_path’
mod_ruby.c:592: error: expected ‘)’ before ‘*’ token
mod_ruby.c:635: error: ‘server_rec’ has no member named ‘module_config’
mod_ruby.c:692: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:693: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:697: error: ‘ruby_server_config’ has no member named ‘load_path’
mod_ruby.c:701: error: ‘ruby_required_libraries’ undeclared (first use in this function)
mod_ruby.c:701: error: (Each undeclared identifier is reported only once
mod_ruby.c:701: error: for each function it appears in.)
mod_ruby.c:814: error: ‘ruby_child_cleanup’ declared as function returning a function
mod_ruby.c:836: error: ‘APR_SUCCESS’ undeclared (first use in this function)
mod_ruby.c:842: error: expected declaration specifiers or ‘...’ before ‘pool’
mod_ruby.c:844: warning: implicit declaration of function ‘apr_pcalloc’
mod_ruby.c:844: error: ‘p’ undeclared (first use in this function)
mod_ruby.c:845: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:846: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:847: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:848: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:849: error: ‘request_rec’ has no member named ‘uri’
mod_ruby.c:850: error: ‘request_rec’ has no member named ‘notes’
mod_ruby.c:854: error: expected declaration specifiers or ‘...’ before ‘array_header’
mod_ruby.c:857: error: expected ‘)’ before ‘*’ token
mod_ruby.c:923: error: expected ‘)’ before ‘*’ token
mod_ruby.c:957: error: expected ‘)’ before ‘*’ token
mod_ruby.c:974: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:975: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:975: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:977: warning: implicit declaration of function ‘mod_ruby_clearenv’
mod_ruby.c:977: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:980: warning: implicit declaration of function ‘setenv_from_table’
mod_ruby.c:980: error: ‘request_rec’ has no member named ‘subprocess_env’
mod_ruby.c:981: error: ‘ruby_server_config’ has no member named ‘env’
mod_ruby.c:982: error: ‘ruby_dir_config’ has no member named ‘env’
mod_ruby.c:1076: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_ruby.c:1095: error: expected ‘)’ before ‘*’ token
mod_ruby.c:1117: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1118: warning: implicit declaration of function ‘apr_palloc’
mod_ruby.c:1118: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1118: warning: assignment makes pointer from integer without a cast
mod_ruby.c:1119: error: ‘ruby_request_config’ has no member named ‘saved_env’
mod_ruby.c:1119: warning: implicit declaration of function ‘save_env’
mod_ruby.c:1119: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1120: error: ‘ruby_request_config’ has no member named ‘request_object’
mod_ruby.c:1121: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1123: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1123: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1124: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1135: error: ‘request_rec’ has no member named ‘filename’
mod_ruby.c:1136: error: ‘request_rec’ has no member named ‘filename’
mod_ruby.c:1147: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1147: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1150: error: ‘request_rec’ has no member named ‘next’
mod_ruby.c:1151: error: ‘request_rec’ has no member named ‘next’
mod_ruby.c:1159: error: ‘request_rec’ has no member named ‘main’
mod_ruby.c:1160: error: ‘request_rec’ has no member named ‘main’
mod_ruby.c:1174: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1175: error: ‘request_rec’ has no member named ‘request_config’
mod_ruby.c:1177: warning: implicit declaration of function ‘restore_env’
mod_ruby.c:1177: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1177: error: ‘ruby_request_config’ has no member named ‘saved_env’
mod_ruby.c:1180: error: ‘ruby_dir_config’ has no member named ‘gc_per_request’
mod_ruby.c:1215: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1224: error: expected specifier-qualifier-list before ‘array_header’
mod_ruby.c:1234: error: ‘array_header’ undeclared (first use in this function)
mod_ruby.c:1234: error: ‘handlers_arr’ undeclared (first use in this function)
mod_ruby.c:1234: error: ‘handler_internal_arg_t’ has no member named ‘handlers_arr’
mod_ruby.c:1235: error: ‘handler_internal_arg_t’ has no member named ‘mid’
mod_ruby.c:1236: error: ‘handler_internal_arg_t’ has no member named ‘run_all’
mod_ruby.c:1237: error: ‘handler_internal_arg_t’ has no member named ‘flush’
mod_ruby.c:1251: error: ‘request_rec’ has no member named ‘server’
mod_ruby.c:1252: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1252: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1253: error: ‘ruby_dir_config’ has no member named ‘safe_level’
mod_ruby.c:1256: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1264: error: ‘ruby_server_config’ has no member named ‘timeout’
mod_ruby.c:1277: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1281: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1284: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1284: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1287: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1292: error: expected declaration specifiers or ‘...’ before ‘array_header’
mod_ruby.c:1297: error: ‘handlers_arr’ undeclared (first use in this function)
mod_ruby.c:1300: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1300: warning: assignment makes pointer from integer without a cast
mod_ruby.c:1302: error: ‘handler_internal_arg_t’ has no member named ‘handlers_arr’
mod_ruby.c:1303: error: ‘handler_internal_arg_t’ has no member named ‘mid’
mod_ruby.c:1304: error: ‘handler_internal_arg_t’ has no member named ‘run_all’
mod_ruby.c:1305: error: ‘handler_internal_arg_t’ has no member named ‘flush’
mod_ruby.c:1306: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1329: error: ‘handler_internal_arg_t’ has no member named ‘retval’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1338: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1342: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1342: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1343: error: ‘ruby_dir_config’ has no member named ‘ruby_handler’
mod_ruby.c:1343: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1345: error: ‘request_rec’ has no member named ‘finfo’
mod_ruby.c:1345: error: ‘APR_DIR’ undeclared (first use in this function)
mod_ruby.c:1346: error: ‘request_rec’ has no member named ‘handler’
mod_ruby.c:1353: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1353: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1355: error: ‘ruby_dir_config’ has no member named ‘ruby_trans_handler’
mod_ruby.c:1356: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1361: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1361: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1364: error: ‘ruby_dir_config’ has no member named ‘ruby_authen_handler’
mod_ruby.c:1365: error: ‘ruby_dir_config’ has no member named ‘ruby_authen_handler’
mod_ruby.c:1366: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1372: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1372: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1374: error: ‘ruby_dir_config’ has no member named ‘ruby_authz_handler’
mod_ruby.c:1375: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1380: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1380: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1382: error: ‘ruby_dir_config’ has no member named ‘ruby_access_handler’
mod_ruby.c:1383: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1388: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1388: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1390: error: ‘ruby_dir_config’ has no member named ‘ruby_type_handler’
mod_ruby.c:1391: error: ‘ruby_dir_config’ has no member named ‘ruby_type_handler’
mod_ruby.c:1392: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1397: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1397: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1399: error: ‘ruby_dir_config’ has no member named ‘ruby_fixup_handler’
mod_ruby.c:1400: error: ‘ruby_dir_config’ has no member named ‘ruby_fixup_handler’
mod_ruby.c:1401: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1406: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1406: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1408: error: ‘ruby_dir_config’ has no member named ‘ruby_log_handler’
mod_ruby.c:1409: error: ‘ruby_dir_config’ has no member named ‘ruby_log_handler’
mod_ruby.c:1410: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1433: error: ‘ruby_cleanup_handler’ declared as function returning a function
mod_ruby.c:1435: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1435: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1437: error: ‘ruby_dir_config’ has no member named ‘ruby_cleanup_handler’
mod_ruby.c:1438: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1439: error: ‘APR_SUCCESS’ undeclared (first use in this function)
mod_ruby.c:1444: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1444: error: ‘request_rec’ has no member named ‘per_dir_config’
mod_ruby.c:1447: warning: implicit declaration of function ‘apr_pool_cleanup_register’
mod_ruby.c:1447: error: ‘request_rec’ has no member named ‘pool’
mod_ruby.c:1448: error: ‘apr_pool_cleanup_null’ undeclared (first use in this function)
mod_ruby.c:1450: error: ‘ruby_dir_config’ has no member named ‘ruby_init_handler’
mod_ruby.c:1451: error: ‘ruby_dir_config’ has no member named ‘ruby_init_handler’
mod_ruby.c:1452: error: too many arguments to function ‘ruby_handler’
mod_ruby.c:1453: warning: implicit declaration of function ‘apr_table_set’
mod_ruby.c:1453: error: ‘request_rec’ has no member named ‘notes’
mod_ruby.c:1457: error: ‘ruby_dir_config’ has no member named ‘ruby_post_read_request_handler’
mod_ruby.c:1458: error: too many arguments to function ‘ruby_handler’
make: *** [mod_ruby.o] Error 1
Loading...