Package: libembperl-perl
Version: 2.0rc3-1
Severity: serious

libembperl-perl fails to build because it cannot find apr.h:

> cc -c  -I/tmp/buildd/libembperl-perl-2.0rc3 -I/usr/include/apache2 
> -I/usr/lib/apache2/modules/regex -I/usr/lib/apache2/modules/os/unix 
> -I/usr/include/libxml2 -I/usr/include/libxml2 
> -I/tmp/buildd/libembperl-perl-2.0rc3/xs -D_REENTRANT -D_GNU_SOURCE 
> -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe 
> -I/usr/local/include-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN 
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DEAPI -DTARGET="apache" 
> -DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX 
> -O1  -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2   
> -DVERSION=\"2.0rc3\" -DXS_VERSION=\"2.0rc3\" -fPIC "-I/usr/lib/perl/5.8/CORE" 
>  -DAPACHE -DEP2 -DLIBXSLT  App.c
> In file included from /usr/include/apache2/httpd.h:30,
>                  from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:147,
>                  from App.xs:13:
> /usr/include/apache2/ap_config.h:20:17: error: apr.h: No such file or 
> directory
> /usr/include/apache2/ap_config.h:21:23: error: apr_hooks.h: No such file or 
> directory
> /usr/include/apache2/ap_config.h:22:32: error: apr_optional_hooks.h: No such 
> file or directory
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:147,
>                  from App.xs:13:
> /usr/include/apache2/httpd.h:35:25: error: apr_general.h: No such file or 
> directory
> /usr/include/apache2/httpd.h:36:24: error: apr_tables.h: No such file or 
> directory
> /usr/include/apache2/httpd.h:37:23: error: apr_pools.h: No such file or 
> directory
> /usr/include/apache2/httpd.h:38:22: error: apr_time.h: No such file or 
> directory
> /usr/include/apache2/httpd.h:39:28: error: apr_network_io.h: No such file or 
> directory
> /usr/include/apache2/httpd.h:40:25: error: apr_buckets.h: No such file or 
> directory
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:147,
>                  from App.xs:13:
> /usr/include/apache2/httpd.h:392: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:552: error: syntax error before 'apr_int64_t'
> /usr/include/apache2/httpd.h:552: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:554: warning: type defaults to 'int' in 
> declaration of 'method_list'
> /usr/include/apache2/httpd.h:554: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:555: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:666:21: error: apr_uri.h: No such file or 
> directory
> /usr/include/apache2/httpd.h:671: error: syntax error before 'apr_pool_t'
> /usr/include/apache2/httpd.h:671: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:673: warning: type defaults to 'int' in 
> declaration of 'pconf'
> /usr/include/apache2/httpd.h:673: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:680: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:685: error: syntax error before 'apr_pool_t'
> /usr/include/apache2/httpd.h:685: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:698: warning: 'main' is usually a function
> /usr/include/apache2/httpd.h:722: error: syntax error before 'request_time'
> /usr/include/apache2/httpd.h:722: warning: type defaults to 'int' in 
> declaration of 'request_time'
> /usr/include/apache2/httpd.h:722: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:758: error: syntax error before 'allowed'
> /usr/include/apache2/httpd.h:758: warning: type defaults to 'int' in 
> declaration of 'allowed'
> /usr/include/apache2/httpd.h:758: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:760: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:760: warning: type defaults to 'int' in 
> declaration of 'allowed_xmethods'
> /usr/include/apache2/httpd.h:760: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:765: error: syntax error before 'sent_bodyct'
> /usr/include/apache2/httpd.h:765: warning: type defaults to 'int' in 
> declaration of 'sent_bodyct'
> /usr/include/apache2/httpd.h:765: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:767: error: syntax error before 'bytes_sent'
> /usr/include/apache2/httpd.h:767: warning: type defaults to 'int' in 
> declaration of 'bytes_sent'
> /usr/include/apache2/httpd.h:767: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:769: error: syntax error before 'mtime'
> /usr/include/apache2/httpd.h:769: warning: type defaults to 'int' in 
> declaration of 'mtime'
> /usr/include/apache2/httpd.h:769: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:778: error: syntax error before 'clength'
> /usr/include/apache2/httpd.h:778: warning: type defaults to 'int' in 
> declaration of 'clength'
> /usr/include/apache2/httpd.h:778: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:781: error: syntax error before 'remaining'
> /usr/include/apache2/httpd.h:781: warning: type defaults to 'int' in 
> declaration of 'remaining'
> /usr/include/apache2/httpd.h:781: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:783: error: syntax error before 'read_length'
> /usr/include/apache2/httpd.h:783: warning: type defaults to 'int' in 
> declaration of 'read_length'
> /usr/include/apache2/httpd.h:783: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:806: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:806: warning: type defaults to 'int' in 
> declaration of 'headers_in'
> /usr/include/apache2/httpd.h:806: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:808: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:808: warning: type defaults to 'int' in 
> declaration of 'headers_out'
> /usr/include/apache2/httpd.h:808: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:811: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:811: warning: type defaults to 'int' in 
> declaration of 'err_headers_out'
> /usr/include/apache2/httpd.h:811: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:813: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:813: warning: type defaults to 'int' in 
> declaration of 'subprocess_env'
> /usr/include/apache2/httpd.h:813: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:815: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:815: warning: type defaults to 'int' in 
> declaration of 'notes'
> /usr/include/apache2/httpd.h:815: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:829: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:829: warning: type defaults to 'int' in 
> declaration of 'content_languages'
> /usr/include/apache2/httpd.h:829: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:862: error: syntax error before 'finfo'
> /usr/include/apache2/httpd.h:862: warning: type defaults to 'int' in 
> declaration of 'finfo'
> /usr/include/apache2/httpd.h:862: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:864: error: syntax error before 'parsed_uri'
> /usr/include/apache2/httpd.h:864: warning: type defaults to 'int' in 
> declaration of 'parsed_uri'
> /usr/include/apache2/httpd.h:864: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:914: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:942: error: syntax error before 'apr_pool_t'
> /usr/include/apache2/httpd.h:942: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:950: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:950: warning: type defaults to 'int' in 
> declaration of 'local_addr'
> /usr/include/apache2/httpd.h:950: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:952: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:952: warning: type defaults to 'int' in 
> declaration of 'remote_addr'
> /usr/include/apache2/httpd.h:952: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:965: error: syntax error before ':' token
> /usr/include/apache2/httpd.h:973: error: syntax error before ':' token
> /usr/include/apache2/httpd.h:990: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:990: warning: type defaults to 'int' in 
> declaration of 'notes'
> /usr/include/apache2/httpd.h:990: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:999: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:1016: error: syntax error before 'apr_sockaddr_t'
> /usr/include/apache2/httpd.h:1016: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:1018: warning: type defaults to 'int' in 
> declaration of 'host_port'
> /usr/include/apache2/httpd.h:1018: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1021: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:1042: error: syntax error before 'apr_port_t'
> /usr/include/apache2/httpd.h:1042: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:1049: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1049: warning: type defaults to 'int' in 
> declaration of 'error_log'
> /usr/include/apache2/httpd.h:1049: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1068: error: syntax error before 'timeout'
> /usr/include/apache2/httpd.h:1068: warning: type defaults to 'int' in 
> declaration of 'timeout'
> /usr/include/apache2/httpd.h:1068: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1070: error: syntax error before 
> 'keep_alive_timeout'
> /usr/include/apache2/httpd.h:1070: warning: type defaults to 'int' in 
> declaration of 'keep_alive_timeout'
> /usr/include/apache2/httpd.h:1070: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1082: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1082: warning: type defaults to 'int' in 
> declaration of 'names'
> /usr/include/apache2/httpd.h:1082: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1084: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1084: warning: type defaults to 'int' in 
> declaration of 'wild_names'
> /usr/include/apache2/httpd.h:1084: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1092: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:1095: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/httpd.h:1095: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:1096: warning: type defaults to 'int' in 
> declaration of 'deferred_write_pool'
> /usr/include/apache2/httpd.h:1096: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1099: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:1099: warning: type defaults to 'int' in 
> declaration of 'core_output_filter_ctx_t'
> /usr/include/apache2/httpd.h:1099: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1102: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/httpd.h:1102: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:1103: warning: type defaults to 'int' in 
> declaration of 'tmpbb'
> /usr/include/apache2/httpd.h:1103: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1104: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:1104: warning: type defaults to 'int' in 
> declaration of 'core_ctx_t'
> /usr/include/apache2/httpd.h:1104: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1108: error: syntax error before 'apr_socket_t'
> /usr/include/apache2/httpd.h:1108: warning: no semicolon at end of struct or 
> union
> /usr/include/apache2/httpd.h:1113: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1113: warning: type defaults to 'int' in 
> declaration of 'out_ctx'
> /usr/include/apache2/httpd.h:1113: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1114: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1114: warning: type defaults to 'int' in 
> declaration of 'in_ctx'
> /usr/include/apache2/httpd.h:1114: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1115: error: syntax error before '}' token
> /usr/include/apache2/httpd.h:1115: warning: type defaults to 'int' in 
> declaration of 'core_net_rec'
> /usr/include/apache2/httpd.h:1115: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1124: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1134: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1147: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1156: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1165: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1174: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1184: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1195: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1203: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1211: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1222: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1245: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1255: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1267: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1276: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1285: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1325: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1334: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1344: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1352: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1361: error: syntax error before 
> 'ap_escape_errorlog_item'
> /usr/include/apache2/httpd.h:1362: error: syntax error before 'apr_size_t'
> /usr/include/apache2/httpd.h:1362: warning: type defaults to 'int' in 
> declaration of 'ap_escape_errorlog_item'
> /usr/include/apache2/httpd.h:1362: warning: data definition has no type or 
> storage class
> /usr/include/apache2/httpd.h:1372: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1380: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1409: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1423: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1433: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1484: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1492: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1507: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1515: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1528: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1568: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1577: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1585: error: syntax error before '*' token
> /usr/include/apache2/httpd.h:1597: error: syntax error before '*' token
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:148,
>                  from App.xs:13:
> /usr/include/apache2/http_config.h:263: error: syntax error before 
> 'apr_int64_t'
> /usr/include/apache2/http_config.h:263: warning: no semicolon at end of 
> struct or union
> /usr/include/apache2/http_config.h:265: warning: type defaults to 'int' in 
> declaration of 'limited_xmethods'
> /usr/include/apache2/http_config.h:265: warning: data definition has no type 
> or storage class
> /usr/include/apache2/http_config.h:275: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:275: warning: type defaults to 'int' in 
> declaration of 'pool'
> /usr/include/apache2/http_config.h:275: warning: data definition has no type 
> or storage class
> /usr/include/apache2/http_config.h:278: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:278: warning: type defaults to 'int' in 
> declaration of 'temp_pool'
> /usr/include/apache2/http_config.h:278: warning: data definition has no type 
> or storage class
> /usr/include/apache2/http_config.h:287: error: conflicting types for 'path'
> /usr/include/apache2/httpd.h:1077: error: previous declaration of 'path' was 
> here
> /usr/include/apache2/http_config.h:295: error: syntax error before '}' token
> /usr/include/apache2/http_config.h:338: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:346: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:353: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:361: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:374: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:538: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:547: error: syntax error before 
> 'apr_pool_t'
> /usr/include/apache2/http_config.h:563: error: syntax error before 
> 'apr_pool_t'
> /usr/include/apache2/http_config.h:576: error: syntax error before 
> 'apr_pool_t'
> /usr/include/apache2/http_config.h:596: error: syntax error before 
> 'ap_pcfg_openfile'
> /usr/include/apache2/http_config.h:597: error: syntax error before 
> 'apr_pool_t'
> /usr/include/apache2/http_config.h:597: warning: type defaults to 'int' in 
> declaration of 'ap_pcfg_openfile'
> /usr/include/apache2/http_config.h:597: warning: data definition has no type 
> or storage class
> /usr/include/apache2/http_config.h:608: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:611: error: 'ap_pcfg_open_custom' declared 
> as function returning a function
> /usr/include/apache2/http_config.h:612: error: syntax error before 'void'
> /usr/include/apache2/http_config.h:658: error: syntax error before '*' token
> /usr/include/apache2/http_config.h:674: error: syntax error before 
> 'apr_pool_t'
> /usr/include/apache2/http_config.h:945: error: syntax error before 'int'
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:149,
>                  from App.xs:13:
> /usr/include/apache2/http_protocol.h:22:26: error: apr_portable.h: No such 
> file or directory
> /usr/include/apache2/http_protocol.h:23:22: error: apr_mmap.h: No such file 
> or directory
> In file included from /usr/include/apache2/http_protocol.h:25,
>                  from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:149,
>                  from App.xs:13:
> /usr/include/apache2/util_filter.h:72: warning: type defaults to 'int' in 
> declaration of 'ap_input_mode_t'
> /usr/include/apache2/util_filter.h:72: warning: data definition has no type 
> or storage class
> /usr/include/apache2/util_filter.h:135: error: syntax error before '*' token
> /usr/include/apache2/util_filter.h:136: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:136: warning: type defaults to 'int' in 
> declaration of 'apr_status_t'
> /usr/include/apache2/util_filter.h:136: error: 'apr_status_t' declared as 
> function returning a function
> /usr/include/apache2/util_filter.h:138: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:141: error: 'ap_in_filter_func' declared 
> as function returning a function
> /usr/include/apache2/util_filter.h:145: error: syntax error before 
> 'ap_out_filter_func'
> /usr/include/apache2/util_filter.h:145: warning: no semicolon at end of 
> struct or union
> /usr/include/apache2/util_filter.h:147: error: syntax error before '}' token
> /usr/include/apache2/util_filter.h:147: warning: type defaults to 'int' in 
> declaration of 'ap_filter_func'
> /usr/include/apache2/util_filter.h:147: warning: data definition has no type 
> or storage class
> /usr/include/apache2/util_filter.h:214: error: syntax error before 
> 'ap_filter_func'
> /usr/include/apache2/util_filter.h:214: warning: no semicolon at end of 
> struct or union
> /usr/include/apache2/util_filter.h:228: error: conflicting types for 'next'
> /usr/include/apache2/httpd.h:692: error: previous declaration of 'next' was 
> here
> /usr/include/apache2/util_filter.h:229: error: syntax error before '}' token
> /usr/include/apache2/util_filter.h:274: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:277: error: 'ap_get_brigade' declared as 
> function returning a function
> /usr/include/apache2/util_filter.h:288: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:288: error: 'ap_pass_brigade' declared as 
> function returning a function
> /usr/include/apache2/util_filter.h:323: error: syntax error before 
> 'ap_out_filter_func'
> /usr/include/apache2/util_filter.h:440: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:441: error: 'ap_save_brigade' declared as 
> function returning a function
> /usr/include/apache2/util_filter.h:451: error: syntax error before '*' token
> /usr/include/apache2/util_filter.h:452: error: 'ap_filter_flush' declared as 
> function returning a function
> /usr/include/apache2/util_filter.h:459: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:459: error: 'ap_fflush' declared as 
> function returning a function
> /usr/include/apache2/util_filter.h:496: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:497: error: 'ap_fputstrs' declared as 
> function returning a function
> /usr/include/apache2/util_filter.h:507: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/util_filter.h:510: error: 'ap_fprintf' declared as 
> function returning a function
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:149,
>                  from App.xs:13:
> /usr/include/apache2/http_protocol.h:40: error: syntax error before 'void'
> /usr/include/apache2/http_protocol.h:72: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/http_protocol.h:109: error: syntax error before 
> 'apr_off_t'
> /usr/include/apache2/http_protocol.h:127: error: syntax error before 
> 'ap_rationalize_mtime'
> /usr/include/apache2/http_protocol.h:127: error: syntax error before 
> 'apr_time_t'
> /usr/include/apache2/http_protocol.h:127: warning: type defaults to 'int' in 
> declaration of 'ap_rationalize_mtime'
> /usr/include/apache2/http_protocol.h:127: warning: data definition has no 
> type or storage class
> /usr/include/apache2/http_protocol.h:209: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:210: error: 'ap_send_fd' declared as 
> function returning a function
> /usr/include/apache2/http_protocol.h:235: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:242: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:261: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:449: error: syntax error before 
> 'apr_size_t'
> /usr/include/apache2/http_protocol.h:564: error: syntax error before 
> 'apr_size_t'
> /usr/include/apache2/http_protocol.h:567: error: 'ap_rgetline_core' declared 
> as function returning a function
> /usr/include/apache2/http_protocol.h:584: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:600: error: syntax error before 'int'
> /usr/include/apache2/http_protocol.h:639: error: syntax error before 
> 'apr_bucket_refcount'
> /usr/include/apache2/http_protocol.h:639: warning: no semicolon at end of 
> struct or union
> /usr/include/apache2/http_protocol.h:644: error: syntax error before '}' token
> /usr/include/apache2/http_protocol.h:646: error: syntax error before 
> 'ap_bucket_type_error'
> /usr/include/apache2/http_protocol.h:646: warning: type defaults to 'int' in 
> declaration of 'ap_bucket_type_error'
> /usr/include/apache2/http_protocol.h:646: warning: data definition has no 
> type or storage class
> /usr/include/apache2/http_protocol.h:664: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:664: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:665: warning: type defaults to 'int' in 
> declaration of 'ap_bucket_error_make'
> /usr/include/apache2/http_protocol.h:665: warning: data definition has no 
> type or storage class
> /usr/include/apache2/http_protocol.h:676: error: syntax error before '*' token
> /usr/include/apache2/http_protocol.h:677: error: syntax error before 
> 'apr_pool_t'
> /usr/include/apache2/http_protocol.h:678: warning: type defaults to 'int' in 
> declaration of 'ap_bucket_error_create'
> /usr/include/apache2/http_protocol.h:678: warning: data definition has no 
> type or storage class
> /usr/include/apache2/http_protocol.h:680: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/http_protocol.h:680: error: 'ap_byterange_filter' 
> declared as function returning a function
> /usr/include/apache2/http_protocol.h:681: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/http_protocol.h:681: error: 'ap_http_header_filter' 
> declared as function returning a function
> /usr/include/apache2/http_protocol.h:683: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/http_protocol.h:683: error: 'ap_content_length_filter' 
> declared as function returning a function
> /usr/include/apache2/http_protocol.h:684: error: syntax error before 
> 'apr_bucket_brigade'
> /usr/include/apache2/http_protocol.h:684: error: 'ap_old_write_filter' 
> declared as function returning a function
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:150,
>                  from App.xs:13:
> /usr/include/apache2/http_log.h:24:29: error: apr_thread_proc.h: No such file 
> or directory
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:150,
>                  from App.xs:13:
> /usr/include/apache2/http_log.h:97: error: syntax error before '*' token
> /usr/include/apache2/http_log.h:104: error: syntax error before '*' token
> /usr/include/apache2/http_log.h:105: error: 'ap_replace_stderr_log' declared 
> as function returning a function
> /usr/include/apache2/http_log.h:116: error: syntax error before '*' token
> /usr/include/apache2/http_log.h:173: error: syntax error before 'apr_pool_t'
> /usr/include/apache2/http_log.h:213: error: syntax error before '*' token
> /usr/include/apache2/http_log.h:221: error: syntax error before '*' token
> /usr/include/apache2/http_log.h:221: error: 'ap_read_pid' declared as 
> function returning a function
> /usr/include/apache2/http_log.h:231: error: syntax error before 'apr_pool_t'
> /usr/include/apache2/http_log.h:231: warning: no semicolon at end of struct 
> or union
> /usr/include/apache2/http_log.h:233: warning: type defaults to 'int' in 
> declaration of 'fds'
> /usr/include/apache2/http_log.h:233: warning: data definition has no type or 
> storage class
> /usr/include/apache2/http_log.h:242: error: syntax error before '}' token
> /usr/include/apache2/http_log.h:251: error: syntax error before '*' token
> /usr/include/apache2/http_log.h:276: error: syntax error before 'void'
> In file included from /tmp/buildd/libembperl-perl-2.0rc3/ep.h:152,
>                  from App.xs:13:
> /usr/include/apache2/ap_compat.h:21:24: error: apu_compat.h: No such file or 
> directory
> App.c: In function 'XS_Embperl__App_new':
> App.c:660: warning: unused variable 'class'

I think this bug caused by an incorrectly set include path, but I'm
not sure how to fix it.

-- 
Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to