Hi all,

I am really stuck. I am trying to install libapreq 1.0 but it doesen't work because of the following errors. Why doesent't the package find the apache-headers? Why does it need them? How can I make sure that they are found? Can anyone help me?

Errors:
downloads/libapreq-1.0> make test
make[1]: Entering directory `/home/mas/downloads/libapreq-1.0/c'
cc -c -I/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/Apache/include -I/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/Apache/include/modules/perl -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/lib/perl5/5.6.1/i586-linux/CORE apache_request.c
In file included from apache_request.c:59:
apache_request.h:5: httpd.h: No such file or directory
apache_request.h:6: http_config.h: No such file or directory
apache_request.h:7: http_core.h: No such file or directory
apache_request.h:8: http_log.h: No such file or directory
apache_request.h:9: http_main.h: No such file or directory
apache_request.h:10: http_protocol.h: No such file or directory
apache_request.h:11: util_script.h: No such file or directory
In file included from apache_request.c:59:
apache_request.h:38: parse error before `table'
apache_request.h:38: warning: no semicolon at end of struct or union
apache_request.h:47: parse error before `*'
apache_request.h:47: warning: data definition has no type or storage class
apache_request.h:48: parse error before `}'
apache_request.h:48: warning: data definition has no type or storage class
apache_request.h:55: parse error before `table'
apache_request.h:55: warning: no semicolon at end of struct or union
apache_request.h:56: warning: data definition has no type or storage class
apache_request.h:58: parse error before `*'
apache_request.h:58: warning: data definition has no type or storage class
apache_request.h:59: parse error before `}'
apache_request.h:89: parse error before `*'
apache_request.h:89: parse error before `*'
apache_request.h:89: warning: data definition has no type or storage class
apache_request.h:90: parse error before `*'
apache_request.h:91: parse error before `*'
apache_request.h:92: parse error before `*'
apache_request.h:93: parse error before `*'
apache_request.h:94: parse error before `*'
apache_request.h:95: parse error before `*'
apache_request.h:95: parse error before `*'
apache_request.h:95: warning: data definition has no type or storage class
apache_request.h:96: parse error before `*'
apache_request.h:97: parse error before `*'
apache_request.h:101: parse error before `*'
apache_request.h:101: parse error before `*'
apache_request.h:101: warning: data definition has no type or storage class
apache_request.h:102: parse error before `*'
apache_request.h:120: parse error before `*'
apache_request.h:123: parse error before `*'
In file included from apache_request.c:60:
apache_multipart_buffer.h:16: parse error before `request_rec'
apache_multipart_buffer.h:16: warning: no semicolon at end of struct or union
apache_multipart_buffer.h:29: parse error before `}'
apache_multipart_buffer.h:29: warning: data definition has no type or storage class
apache_multipart_buffer.h:31: parse error before `*'
apache_multipart_buffer.h:32: parse error before `request_rec'
apache_multipart_buffer.h:32: warning: data definition has no type or storage class
apache_multipart_buffer.h:33: parse error before `*'
apache_multipart_buffer.h:33: parse error before `*'
apache_multipart_buffer.h:33: warning: data definition has no type or storage class
apache_multipart_buffer.h:34: parse error before `*'
apache_multipart_buffer.h:35: parse error before `*'
apache_multipart_buffer.h:36: parse error before `*'
apache_request.c:61: parse error before `*'
apache_request.c:69: parse error before `*'
apache_request.c: In function `util_read':
apache_request.c:71: `request_rec' undeclared (first use in this function)
apache_request.c:71: (Each undeclared identifier is reported only once
apache_request.c:71: for each function it appears in.)
apache_request.c:71: request for member `r' in something not a structure or union
apache_request.c:72: parse error before `int'
apache_request.c:74: `rc' undeclared (first use in this function)
apache_request.c:74: `REQUEST_CHUNKED_ERROR' undeclared (first use in this function)
apache_request.c:79: `HUGE_STRING_LEN' undeclared (first use in this function)
apache_request.c:81: request for member `remaining' in something not a structure or union
apache_request.c:83: request for member `post_max' in something not a structure or union
apache_request.c:83: request for member `post_max' in something not a structure or union
apache_request.c:84: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:84: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:84: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:84: request for member `r' in something not a structure or union
apache_request.c:85: request for member `post_max' in something not a structure or union
apache_request.c:86: `HTTP_REQUEST_ENTITY_TOO_LARGE' undeclared (first use in this function)
apache_request.c:89: `rbuf' undeclared (first use in this function)
apache_request.c:89: request for member `pool' in something not a structure or union
apache_request.c: At top level:
apache_request.c:111: parse error before `*'
apache_request.c: In function `ApacheRequest_script_name':
apache_request.c:113: `request_rec' undeclared (first use in this function)
apache_request.c:113: request for member `r' in something not a structure or union
apache_request.c:114: parse error before `char'
apache_request.c:116: request for member `path_info' in something not a structure or union
apache_request.c:116: request for member `path_info' in something not a structure or union
apache_request.c:117: request for member `uri' in something not a structure or union
apache_request.c:117: request for member `path_info' in something not a structure or union
apache_request.c:118: `tmp' undeclared (first use in this function)
apache_request.c:118: request for member `pool' in something not a structure or union
apache_request.c:118: request for member `uri' in something not a structure or union
apache_request.c:121: request for member `uri' in something not a structure or union
apache_request.c: At top level:
apache_request.c:127: parse error before `*'
apache_request.c: In function `ApacheRequest_script_path':
apache_request.c:129: request for member `r' in something not a structure or union
apache_request.c:129: warning: return makes pointer from integer without a cast
apache_request.c: At top level:
apache_request.c:132: parse error before `*'
apache_request.c: In function `ApacheRequest_param':
apache_request.c:134: request for member `status' in something not a structure or union
apache_request.c:134: request for member `parsed' in something not a structure or union
apache_request.c:134: request for member `status' in something not a structure or union
apache_request.c:135: request for member `parms' in something not a structure or union
apache_request.c:135: `key' undeclared (first use in this function)
apache_request.c:135: warning: return makes pointer from integer without a cast
apache_request.c: In function `make_params':
apache_request.c:140: `array_header' undeclared (first use in this function)
apache_request.c:140: `arr' undeclared (first use in this function)
apache_request.c:140: parse error before `)'
apache_request.c: At top level:
apache_request.c:145: parse error before `*'
apache_request.c:145: parse error before `*'
apache_request.c: In function `ApacheRequest_params':
apache_request.c:147: `array_header' undeclared (first use in this function)
apache_request.c:147: `values' undeclared (first use in this function)
apache_request.c:147: request for member `r' in something not a structure or union
apache_request.c:148: request for member `status' in something not a structure or union
apache_request.c:148: request for member `parsed' in something not a structure or union
apache_request.c:148: request for member `status' in something not a structure or union
apache_request.c:149: request for member `parms' in something not a structure or union
apache_request.c:149: `key' undeclared (first use in this function)
apache_request.c:149: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:153: parse error before `*'
apache_request.c: In function `ApacheRequest_params_as_string':
apache_request.c:155: `NULL' undeclared (first use in this function)
apache_request.c:156: `array_header' undeclared (first use in this function)
apache_request.c:156: `values' undeclared (first use in this function)
apache_request.c:156: `key' undeclared (first use in this function)
apache_request.c:157: parse error before `int'
apache_request.c:159: `i' undeclared (first use in this function)
apache_request.c:160: request for member `r' in something not a structure or union
apache_request.c:164: warning: assignment makes pointer from integer without a cast
apache_request.c: At top level:
apache_request.c:170: parse error before `*'
apache_request.c: In function `ApacheUpload_new':
apache_request.c:173: request for member `r' in something not a structure or union
apache_request.c:173: sizeof applied to an incomplete type
apache_request.c:175: dereferencing pointer to incomplete type
apache_request.c:175: `NULL' undeclared (first use in this function)
apache_request.c:176: dereferencing pointer to incomplete type
apache_request.c:177: dereferencing pointer to incomplete type
apache_request.c:178: dereferencing pointer to incomplete type
apache_request.c:179: dereferencing pointer to incomplete type
apache_request.c:180: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheUpload_find':
apache_request.c:189: dereferencing pointer to incomplete type
apache_request.c:190: dereferencing pointer to incomplete type
apache_request.c:195: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:198: parse error before `*'
apache_request.c:198: parse error before `*'
apache_request.c: In function `ApacheRequest_new':
apache_request.c:200: invalid operands to binary *
apache_request.c:200: parse error before `)'
apache_request.c:203: request for member `status' in something not a structure or union
apache_request.c:203: `OK' undeclared (first use in this function)
apache_request.c:204: request for member `parms' in something not a structure or union
apache_request.c:204: request for member `pool' in something not a structure or union
apache_request.c:205: request for member `upload' in something not a structure or union
apache_request.c:205: `NULL' undeclared (first use in this function)
apache_request.c:206: request for member `post_max' in something not a structure or union
apache_request.c:207: request for member `disable_uploads' in something not a structure or union
apache_request.c:208: request for member `upload_hook' in something not a structure or union
apache_request.c:209: request for member `hook_data' in something not a structure or union
apache_request.c:210: request for member `temp_dir' in something not a structure or union
apache_request.c:211: request for member `parsed' in something not a structure or union
apache_request.c:212: request for member `r' in something not a structure or union
apache_request.c: At top level:
apache_request.c:219: parse error before `*'
apache_request.c: In function `my_urlword':
apache_request.c:225: `line' undeclared (first use in this function)
apache_request.c:225: warning: initialization makes pointer from integer without a cast
apache_request.c:231: `p' undeclared (first use in this function)
apache_request.c:231: warning: assignment makes pointer from integer without a cast
apache_request.c:238: warning: assignment makes pointer from integer without a cast
apache_request.c:249: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:252: parse error before `*'
apache_request.c: In function `split_to_parms':
apache_request.c:254: `request_rec' undeclared (first use in this function)
apache_request.c:254: request for member `r' in something not a structure or union
apache_request.c:255: parse error before `const'
apache_request.c:257: `data' undeclared (first use in this function)
apache_request.c:257: `val' undeclared (first use in this function)
apache_request.c:257: request for member `pool' in something not a structure or union
apache_request.c:258: request for member `pool' in something not a structure or union
apache_request.c:258: warning: initialization makes pointer from integer without a cast
apache_request.c:265: request for member `parms' in something not a structure or union
apache_request.c: At top level:
apache_request.c:270: parse error before `*'
apache_request.c: In function `ApacheRequest___parse':
apache_request.c:272: `request_rec' undeclared (first use in this function)
apache_request.c:272: request for member `r' in something not a structure or union
apache_request.c:273: parse error before `int'
apache_request.c:275: request for member `args' in something not a structure or union
apache_request.c:276: request for member `args' in something not a structure or union
apache_request.c:279: request for member `method_number' in something not a structure or union
apache_request.c:279: `M_POST' undeclared (first use in this function)
apache_request.c:280: request for member `headers_in' in something not a structure or union
apache_request.c:280: warning: initialization makes pointer from integer without a cast
apache_request.c:282: `result' undeclared (first use in this function)
apache_request.c:288: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:288: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:288: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:288: request for member `r' in something not a structure or union
apache_request.c:290: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use in this function)
apache_request.c:297: request for member `parsed' in something not a structure or union
apache_request.c: At top level:
apache_request.c:302: parse error before `*'
apache_request.c: In function `ApacheRequest_parse_urlencoded':
apache_request.c:304: `request_rec' undeclared (first use in this function)
apache_request.c:304: request for member `r' in something not a structure or union
apache_request.c:305: parse error before `int'
apache_request.c:307: request for member `method_number' in something not a structure or union
apache_request.c:307: `M_POST' undeclared (first use in this function)
apache_request.c:308: `NULL' undeclared (first use in this function)
apache_request.c:310: request for member `headers_in' in something not a structure or union
apache_request.c:310: warning: assignment makes pointer from integer without a cast
apache_request.c:313: `DECLINED' undeclared (first use in this function)
apache_request.c:315: `rc' undeclared (first use in this function)
apache_request.c:315: `OK' undeclared (first use in this function)
apache_request.c: In function `remove_tmpfile':
apache_request.c:328: invalid operands to binary *
apache_request.c:328: dereferencing pointer to incomplete type
apache_request.c:330: request for member `r' in something not a structure or union
apache_request.c:330: dereferencing pointer to incomplete type
apache_request.c:331: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:331: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:331: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:331: request for member `r' in something not a structure or union
apache_request.c:332: dereferencing pointer to incomplete type
apache_request.c:334: dereferencing pointer to incomplete type
apache_request.c:335: request for member `r' in something not a structure or union
apache_request.c:336: dereferencing pointer to incomplete type
apache_request.c:339: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:342: parse error before `*'
apache_request.c:342: parse error before `*'
apache_request.c: In function `ApacheRequest_tmpfile':
apache_request.c:344: `request_rec' undeclared (first use in this function)
apache_request.c:344: request for member `r' in something not a structure or union
apache_request.c:345: `FILE' undeclared (first use in this function)
apache_request.c:346: parse error before `char'
apache_request.c:351: `tries' undeclared (first use in this function)
apache_request.c:352: `name' undeclared (first use in this function)
apache_request.c:352: request for member `temp_dir' in something not a structure or union
apache_request.c:352: `prefix' undeclared (first use in this function)
apache_request.c:352: `NULL' undeclared (first use in this function)
apache_request.c:354: `fd' undeclared (first use in this function)
apache_request.c:354: request for member `pool' in something not a structure or union
apache_request.c:354: `O_CREAT' undeclared (first use in this function)
apache_request.c:354: `O_EXCL' undeclared (first use in this function)
apache_request.c:354: `O_RDWR' undeclared (first use in this function)
apache_request.c:354: `O_BINARY' undeclared (first use in this function)
apache_request.c:361: request for member `pool' in something not a structure or union
apache_request.c:361: warning: assignment makes pointer from integer without a cast
apache_request.c:362: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:362: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:362: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:362: request for member `r' in something not a structure or union
apache_request.c:367: dereferencing pointer to incomplete type
apache_request.c:368: dereferencing pointer to incomplete type
apache_request.c:369: request for member `pool' in something not a structure or union
apache_request.c:370: `ap_null_cleanup' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:375: parse error before `*'
apache_request.c: In function `ApacheRequest_parse_multipart':
apache_request.c:377: `request_rec' undeclared (first use in this function)
apache_request.c:377: request for member `r' in something not a structure or union
apache_request.c:378: parse error before `int'
apache_request.c:382: `mbuff' undeclared (first use in this function)
apache_request.c:383: parse error before `*'
apache_request.c:385: `ct' undeclared (first use in this function)
apache_request.c:386: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:386: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:386: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:386: request for member `r' in something not a structure or union
apache_request.c:387: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use in this function)
apache_request.c:390: `rc' undeclared (first use in this function)
apache_request.c:390: `REQUEST_CHUNKED_ERROR' undeclared (first use in this function)
apache_request.c:398: `length' undeclared (first use in this function)
apache_request.c:398: request for member `remaining' in something not a structure or union
apache_request.c:398: request for member `post_max' in something not a structure or union
apache_request.c:398: request for member `post_max' in something not a structure or union
apache_request.c:399: request for member `r' in something not a structure or union
apache_request.c:400: request for member `post_max' in something not a structure or union
apache_request.c:401: `HTTP_REQUEST_ENTITY_TOO_LARGE' undeclared (first use in this function)
apache_request.c:404: request for member `pool' in something not a structure or union
apache_request.c:405: request for member `pool' in something not a structure or union
apache_request.c:405: warning: assignment makes pointer from integer without a cast
apache_request.c:408: `DECLINED' undeclared (first use in this function)
apache_request.c:412: `table' undeclared (first use in this function)
apache_request.c:412: `header' undeclared (first use in this function)
apache_request.c:413: parse error before `const'
apache_request.c:423: `buff' undeclared (first use in this function)
apache_request.c:426: `OK' undeclared (first use in this function)
apache_request.c:429: `cd' undeclared (first use in this function)
apache_request.c:432: request for member `pool' in something not a structure or union
apache_request.c:432: warning: assignment makes pointer from integer without a cast
apache_request.c:439: request for member `pool' in something not a structure or union
apache_request.c:439: warning: assignment makes pointer from integer without a cast
apache_request.c:441: `param' undeclared (first use in this function)
apache_request.c:441: request for member `pool' in something not a structure or union
apache_request.c:444: `filename' undeclared (first use in this function)
apache_request.c:444: request for member `pool' in something not a structure or union
apache_request.c:450: request for member `parms' in something not a structure or union
apache_request.c:455: request for member `disable_uploads' in something not a structure or union
apache_request.c:456: request for member `r' in something not a structure or union
apache_request.c:457: `HTTP_FORBIDDEN' undeclared (first use in this function)
apache_request.c:460: request for member `parms' in something not a structure or union
apache_request.c:463: dereferencing pointer to incomplete type
apache_request.c:464: dereferencing pointer to incomplete type
apache_request.c:468: request for member `upload' in something not a structure or union
apache_request.c:471: request for member `upload_hook' in something not a structure or union
apache_request.c:475: dereferencing pointer to incomplete type
apache_request.c:476: dereferencing pointer to incomplete type
apache_request.c:476: request for member `r' in something not a structure or union
apache_request.c:477: dereferencing pointer to incomplete type
apache_request.c:477: request for member `r' in something not a structure or union
apache_request.c:483: request for member `remaining' in something not a structure or union
apache_request.c:487: `blen' undeclared (first use in this function)
apache_request.c:488: request for member `upload_hook' in something not a structure or union
apache_request.c:488: `NULL' undeclared (first use in this function)
apache_request.c:489: `wlen' undeclared (first use in this function)
apache_request.c:489: request for member `upload_hook' in something not a structure or union
apache_request.c:489: request for member `hook_data' in something not a structure or union
apache_request.c:491: dereferencing pointer to incomplete type
apache_request.c:496: dereferencing pointer to incomplete type
apache_request.c:499: dereferencing pointer to incomplete type
apache_request.c:499: dereferencing pointer to incomplete type
apache_request.c:500: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:535: parse error before `expire_calc'
apache_request.c: In function `expire_calc':
apache_request.c:562: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:566: parse error before `*'
apache_request.c: In function `ApacheUtil_expires':
apache_request.c:568: `time_t' undeclared (first use in this function)
apache_request.c:568: parse error before `when'
apache_request.c:570: `type' undeclared (first use in this function)
apache_request.c:572: `time_str' undeclared (first use in this function)
apache_request.c:573: `NULL' undeclared (first use in this function)
apache_request.c:576: `when' undeclared (first use in this function)
apache_request.c:579: `p' undeclared (first use in this function)
apache_request.c:579: warning: return makes pointer from integer without a cast
apache_request.c:582: warning: assignment makes pointer from integer without a cast
apache_request.c:585: `ap_day_snames' undeclared (first use in this function)
apache_request.c:585: dereferencing pointer to incomplete type
apache_request.c:586: dereferencing pointer to incomplete type
apache_request.c:586: `ap_month_snames' undeclared (first use in this function)
apache_request.c:586: dereferencing pointer to incomplete type
apache_request.c:587: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: warning: return makes pointer from integer without a cast
apache_request.c: At top level:
apache_request.c:591: parse error before `*'
apache_request.c: In function `ApacheRequest_expires':
apache_request.c:593: request for member `r' in something not a structure or union
apache_request.c:593: `time_str' undeclared (first use in this function)
make[1]: *** [apache_request.o] Error 1
make[1]: Leaving directory `/home/mas/downloads/libapreq-1.0/c'
make: *** [subdirs] Error 2


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to