はじめての自宅サーバ構築 - Fedora/CentOS - Last Update 2008/12/05
It opened to 2004/09/19. Visitors
Pageviews
Today(IP/PV)
3,616,920
14,196,272
1,939/9,217
このページは表示専用です。新規投稿・レスや最新情報はこちらです。

mod_ruby インストール
日時: 2007/03/19 12:38
名前: カズアキ

@不明点・障害内容:make中にエラー
Aログの有無   :あり
  (有:その内容):
/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: 警告: データ定義が型や記憶クラスを持っていません

mod_ruby.1.2.6をmakeすると上記のようなエラーが表示されinstallができず困っています。
対処方法をご存知の方、良きアドバイスをお願いします。
Re: mod_ruby インストール ( No.1 )
日時: 2007/03/26 21:57
名前: ZERO

httpd-develを入れてからコンパイルはどうでしょう?

Copyright(©)2004-2008 First home server construction. All Right Reserved.