Re: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1
Anyone around that can help with this? Gonzalo? Is the version of apache that ships with Suse 10.1 incompatible? Do I need an older or newer version? joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: Joe Audette [EMAIL PROTECTED] To: Mono-devel-list@lists.ximian.com Sent: Friday, July 7, 2006 7:44:32 PM Subject: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1 I'm having a problem compiling mod_mono from svn on Suse 10.1. using autogen.sh --prefix=/usr I get this which looks ok to me: Configuration summary for mod_mono * Installation prefix = /usr * Apache version = 2.2 * Apache modules directory = /usr/lib/apache2 * apxs = /usr/sbin/apxs2 * apr-config = /usr/bin/apr-1-config * Verbose logging (debug) = no * mono prefix = /usr/lib/pkgconfig/../.. * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications --- Now type 'make' to compile mod_mono. but when I try make I get a jillion errors as shown: /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or directory /usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or directory /usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:925: error: expected specifier-qualifier-list before 'apr_uri_t' /usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list before 'APR_RING_ENTRY' /usr/include/apache2/httpd.h:1199: error: expected specifier-qualifier-list before 'apr_bucket_brigade' /usr/include/apache2/httpd.h:1207: error: expected specifier-qualifier-list before 'apr_bucket_brigade' In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or directory In file included from /usr/include/apache2/http_core.h:32, from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/util_filter.h:137: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:139: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:141: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:296: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:298: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:310: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:492: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token /usr/include/apache2/util_filter.h:511: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:548: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:559: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:562: error: format string argument not a string type In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:662: error: expected ')' before 'int' /usr/include/apache2/http_core.h:680: error: expected declaration specifiers or '...' before 'ap_ident_lookup' /usr/include/apache2/http_core.h:681: error: expected declaration specifiers or '...' before '(' token /usr/include/apache2/http_core.h:681: warning: data definition has no type or storage class /usr/include/apache2/http_core.h:681: warning: type defaults to 'int' in declaration of 'APR_DECLARE_OPTIONAL_FN' In file included from mod_mono.h:52, from mod_mono.c:32: /usr/include/apache2/http_log.h:335: error: expected ')' before 'void' In file included from /usr/include/apache2/http_config.h:30, from mod_mono.h:53, from mod_mono.c:32: /usr/include/apache2/util_cfgtree.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/apache2/util_cfgtree.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from mod_mono.h:53, from mod_mono.c:32: /usr/include/apache2/http_config.h:288: error: expected specifier-qualifier-list before 'ap_directive_t' /usr/include/apache2/http_config.h:672: error: expected
[Mono-dev] problem compiling mod_mono from svn on Suse 10.1
I'm having a problem compiling mod_mono from svn on Suse 10.1. using autogen.sh --prefix=/usr I get this which looks ok to me: Configuration summary for mod_mono * Installation prefix = /usr * Apache version = 2.2 * Apache modules directory = /usr/lib/apache2 * apxs = /usr/sbin/apxs2 * apr-config = /usr/bin/apr-1-config * Verbose logging (debug) = no * mono prefix = /usr/lib/pkgconfig/../.. * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications --- Now type 'make' to compile mod_mono. but when I try make I get a jillion errors as shown: /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or directory /usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or directory /usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:925: error: expected specifier-qualifier-list before 'apr_uri_t' /usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list before 'APR_RING_ENTRY' /usr/include/apache2/httpd.h:1199: error: expected specifier-qualifier-list before 'apr_bucket_brigade' /usr/include/apache2/httpd.h:1207: error: expected specifier-qualifier-list before 'apr_bucket_brigade' In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or directory In file included from /usr/include/apache2/http_core.h:32, from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/util_filter.h:137: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:139: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:141: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:296: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:298: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:310: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:492: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token /usr/include/apache2/util_filter.h:511: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:548: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:559: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:562: error: format string argument not a string type In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:662: error: expected ')' before 'int' /usr/include/apache2/http_core.h:680: error: expected declaration specifiers or '...' before 'ap_ident_lookup' /usr/include/apache2/http_core.h:681: error: expected declaration specifiers or '...' before '(' token /usr/include/apache2/http_core.h:681: warning: data definition has no type or storage class /usr/include/apache2/http_core.h:681: warning: type defaults to 'int' in declaration of 'APR_DECLARE_OPTIONAL_FN' In file included from mod_mono.h:52, from mod_mono.c:32: /usr/include/apache2/http_log.h:335: error: expected ')' before 'void' In file included from /usr/include/apache2/http_config.h:30, from mod_mono.h:53, from mod_mono.c:32: /usr/include/apache2/util_cfgtree.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/apache2/util_cfgtree.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from mod_mono.h:53, from mod_mono.c:32: /usr/include/apache2/http_config.h:288: error: expected specifier-qualifier-list before 'ap_directive_t' /usr/include/apache2/http_config.h:672: error: expected declaration specifiers or '...' before 'ap_directive_t' /usr/include/apache2/http_config.h:673: error: expected declaration specifiers or '...' before 'ap_directive_t' /usr/include/apache2/http_config.h:687: error: expected declaration specifiers or '...' before 'ap_directive_t' /usr/include/apache2/http_config.h:696: error: expected ')' before '*' token /usr/include/apache2/http_config.h:975: error: expected ')' before 'int' In file included