On Sun, 2003-06-08 at 01:50, Randy Kobes wrote:
> On Fri, 7 Jun 2003, K Old wrote:
> [ .. ]
> > Stas, thanks for your reply.  I downloaded the CVS source and
> > it still failed all tests.  Below is the output from make test
> > and the output from perl -V.  Any help is appreciated!
> 
> Another thing that may be worth trying - if you've installed
> libapreq, try going back to the mod_perl sources and running
> those tests again. Do the modules/request.t and modules/cookie.t
> tests pass, or if not, do you receive the same errors?


Well, I've recompile a fresh version of Perl 5.8.0 (without threads),
Apache, mod_perl and PHP and still no luck....on that box.  I have
another Mandrake 9.0 box and tried to compile the new libapreq that Stas
pointed to from CVS and got the following errors....  Any suggestions?

I did:

perl Makefile.PL -httpd /usr/sbin/httpd && make test

And got:

In file included from apache_request.c:59:
apache_request.h:5:19: httpd.h: No such file or directory
apache_request.h:6:25: http_config.h: No such file or directory
apache_request.h:7:23: http_core.h: No such file or directory
apache_request.h:8:22: http_log.h: No such file or directory
apache_request.h:9:23: http_main.h: No such file or directory
apache_request.h:10:27: http_protocol.h: No such file or directory
apache_request.h:11:25: util_script.h: No such file or dmake[1]: Leaving
directory `/root/tmp/httpd-apreq/c'
pache_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 '*' token
apache_request.h:47: warning: data definition has no type or storage
class
apache_request.h:49: parse error before '}' token
apache_request.h:49: warning: data definition has no type or storage
class
apache_request.h:56: parse error before "table"
apache_request.h:56: warning: no semicolon at end of struct or union
apache_request.h:57: warning: data definition has no type or storage
class
apache_request.h:59: parse error before '*' token
apache_request.h:59: warning: data definition has no type or storage
class
apache_request.h:60: parse error before '}' token
apache_request.h:90: parse error before '*' token
apache_request.h:90: parse error before '*' token
apache_request.h:90: warning: data definition has no type or storage
class
apache_request.h:91: parse error before '*' token
apache_request.h:92: parse error before '*' token
apache_request.h:93: parse error before '*' token
apache_request.h:94: parse error before '*' token
apache_request.h:95: parse error before '*' token
apache_request.h:96: parse error before '*' token
apache_request.h:96: parse error before '*' token
apache_request.h:96: warning: data definition has no type or storage
class
apache_request.h:97: parse error before '*' token
apache_request.h:98: parse error before '*' token
apache_request.h:101: parse error before '*' token
apache_request.h:101: parse error before '*' token
apache_request.h:101: warning: data definition has no type or storage
class
apache_request.h:102: parse error before '*' token
apache_request.h:102: parse error before '*' token
apache_request.h:102: warning: data definition has no type or storage
class
apache_request.h:104: parse error before '*' token
apache_request.h:104: parse error before '*' token
apache_request.h:104: warning: data definition has no type or storage
class
apache_request.h:105: parse error before '*' token
apache_request.h:124: parse error before '*' token
apache_request.h:127: parse error before '*' token
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 '}' token
apache_multipart_buffer.h:29: warning: data definition has no type or
storage class
apache_multipart_buffer.h:31: parse error before '*' token
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 '*' token
apache_multipart_buffer.h:33: parse error before '*' token
apache_multipart_buffer.h:33: warning: data definition has no type or
storage class
apache_multipart_buffer.h:34: parse error before '*' token
apache_multipart_buffer.h:35: parse error before '*' token
apache_multipart_buffer.h:36: parse error before '*' token
apache_request.c:61: parse error before '*' token
apache_request.c:69: parse error before '*' token
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: `OK' 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 '*' token
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: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: 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:118: warning: assignment makes pointer from integer
without a cast
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 '*' token
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 '*' token
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 ')' token
apache_request.c: At top level:
apache_request.c:145: parse error before '*' token
apache_request.c:145: parse error before '*' token
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 '*' token
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: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 '*' token
apache_request.c:170: parse error before '*' token
apache_request.c: In function `ApacheRequest_query_params':
apache_request.c:172: `array_header' undeclared (first use in this
function)
apache_request.c:172: `a' undeclared (first use in this function)
apache_request.c:172: `p' undeclared (first use in this function)
apache_request.c:173: `b' undeclared (first use in this function)
apache_request.c:173: parse error before ')' token
apache_request.c:176: request for member `nargs' in something not a
structure or union
apache_request.c:179: `table_entry' undeclared (first use in this
function)
apache_request.c:180: `table' undeclared (first use in this function)
apache_request.c:180: parse error before ')' token
apache_request.c: At top level:
apache_request.c:183: parse error before '*' token
apache_request.c:183: parse error before '*' token
apache_request.c: In function `ApacheRequest_post_params':
apache_request.c:185: `array_header' undeclared (first use in this
function)
apache_request.c:185: `a' undeclared (first use in this function)
apache_request.c:185: `p' undeclared (first use in this function)
apache_request.c:186: `b' undeclared (first use in this function)
apache_request.c:186: parse error before ')' token
apache_request.c:188: `table_entry' undeclared (first use in this
function)
apache_request.c:188: parse error before ')' token
apache_request.c:189: request for member `nargs' in something not a
structure or union
apache_request.c:193: `table' undeclared (first use in this function)
apache_request.c:193: parse error before ')' token
apache_request.c: At top level:
apache_request.c:196: parse error before '*' token
apache_request.c: In function `ApacheUpload_new':
apache_request.c:199: request for member `r' in something not a
structure or union
apache_request.c:199: sizeof applied to an incomplete type
apache_request.c:201: dereferencing pointer to incomplete type
apache_request.c:201: `NULL' undeclared (first use in this function)
apache_request.c:202: dereferencing pointer to incomplete type
apache_request.c:203: dereferencing pointer to incomplete type
apache_request.c:204: dereferencing pointer to incomplete type
apache_request.c:205: dereferencing pointer to incomplete type
apache_request.c:206: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheUpload_find':
apache_request.c:215: dereferencing pointer to incomplete type
apache_request.c:216: dereferencing pointer to incomplete type
apache_request.c:221: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:224: parse error before '*' token
apache_request.c:224: parse error before '*' token
apache_request.c: In function `ApacheRequest_new':
apache_request.c:226: invalid operands to binary *
apache_request.c:226: parse error before ')' token
apache_request.c:229: request for member `status' in something not a
structure or union
apache_request.c:229: `OK' undeclared (first use in this function)
apache_request.c:230: request for member `parms' in something not a
structure or union
apache_request.c:230: request for member `pool' in something not a
structure or union
apache_request.c:231: request for member `upload' in something not a
structure or union
apache_request.c:231: `NULL' undeclared (first use in this function)
apache_request.c:232: request for member `post_max' in something not a
structure or union
apache_request.c:233: request for member `disable_uploads' in something
not a structure or union
apache_request.c:234: request for member `upload_hook' in something not
a structure or union
apache_request.c:235: request for member `hook_data' in something not a
structure or union
apache_request.c:236: request for member `temp_dir' in something not a
structure or union
apache_request.c:237: request for member `parsed' in something not a
structure or union
apache_request.c:238: request for member `r' in something not a
structure or union
apache_request.c:239: request for member `nargs' in something not a
structure or union
apache_request.c: In function `ap_unescape_url_u':
apache_request.c:352: `BAD_REQUEST' undeclared (first use in this
function)
apache_request.c:354: `NOT_FOUND' undeclared (first use in this
function)
apache_request.c:356: `OK' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:361: parse error before '*' token
apache_request.c: In function `my_urlword':
apache_request.c:363: `NULL' undeclared (first use in this function)
apache_request.c:364: `line' undeclared (first use in this function)
apache_request.c:371: `p' undeclared (first use in this function)
apache_request.c:371: warning: assignment makes pointer from integer
without a cast
apache_request.c: At top level:
apache_request.c:384: parse error before '*' token
apache_request.c: In function `split_to_parms':
apache_request.c:386: `request_rec' undeclared (first use in this
function)
apache_request.c:386: request for member `r' in something not a
structure or union
apache_request.c:389: `data' undeclared (first use in this function)
apache_request.c:389: request for member `pool' in something not a
structure or union
apache_request.c:390: request for member `pool' in something not a
structure or union
apache_request.c:390: warning: initialization makes pointer from integer
without a cast
apache_request.c:396: request for member `parms' in something not a
structure or union
apache_request.c: At top level:
apache_request.c:401: parse error before '*' token
apache_request.c: In function `ApacheRequest___parse':
apache_request.c:403: `request_rec' undeclared (first use in this
function)
apache_request.c:403: request for member `r' in something not a
structure or union
apache_request.c:406: request for member `args' in something not a
structure or union
apache_request.c:407: request for member `args' in something not a
structure or union
apache_request.c:408: request for member `nargs' in something not a
structure or union
apache_request.c:408: `array_header' undeclared (first use in this
function)
apache_request.c:408: parse error before ')' token
apache_request.c:411: request for member `method_number' in something
not a structure or union
apache_request.c:411: `M_POST' undeclared (first use in this function)
apache_request.c:412: request for member `headers_in' in something not a
structure or union
apache_request.c:412: warning: initialization makes pointer from integer
without a cast
apache_request.c:420: `APLOG_MARK' undeclared (first use in this
function)
apache_request.c:420: `APLOG_NOERRNO' undeclared (first use in this
function)
apache_request.c:420: `APLOG_ERR' undeclared (first use in this
function)
apache_request.c:420: request for member `r' in something not a
structure or union
apache_request.c:422: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use
in this function)
apache_request.c:429: request for member `parsed' in something not a
structure or union
apache_request.c: At top level:
apache_request.c:434: parse error before '*' token
apache_request.c: In function `ApacheRequest_parse_urlencoded':
apache_request.c:436: `request_rec' undeclared (first use in this
function)
apache_request.c:436: request for member `r' in something not a
structure or union
apache_request.c:437: `OK' undeclared (first use in this function)
apache_request.c:439: request for member `method_number' in something
not a structure or union
apache_request.c:439: `M_POST' undeclared (first use in this function)
apache_request.c:440: `NULL' undeclared (first use in this function)
apache_request.c:442: request for member `headers_in' in something not a
structure or union
apache_request.c:442: warning: assignment makes pointer from integer
without a cast
apache_request.c:445: `DECLINED' undeclared (first use in this function)
apache_request.c: In function `remove_tmpfile':
apache_request.c:460: invalid operands to binary *
apache_request.c:460: dereferencing pointer to incomplete type
apache_request.c:462: request for member `r' in something not a
structure or union
apache_request.c:462: dereferencing pointer to incomplete type
apache_request.c:463: `APLOG_MARK' undeclared (first use in this
function)
apache_request.c:463: `APLOG_NOERRNO' undeclared (first use in this
function)
apache_request.c:463: `APLOG_ERR' undeclared (first use in this
function)
apache_request.c:463: request for member `r' in something not a
structure or union
apache_request.c:464: dereferencing pointer to incomplete type
apache_request.c:466: dereferencing pointer to incomplete type
apache_request.c:467: request for member `r' in something not a
structure or union
apache_request.c:468: dereferencing pointer to incomplete type
apache_request.c:471: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:474: parse error before '*' token
apache_request.c:474: parse error before '*' token
apache_request.c: In function `ApacheRequest_tmpfile':
apache_request.c:476: `request_rec' undeclared (first use in this
function)
apache_request.c:476: request for member `r' in something not a
structure or union
apache_request.c:477: `FILE' undeclared (first use in this function)
apache_request.c:479: `NULL' undeclared (first use in this function)
apache_request.c:484: request for member `temp_dir' in something not a
structure or union
apache_request.c:484: warning: assignment makes pointer from integer
without a cast
apache_request.c:486: request for member `pool' in something not a
structure or union
apache_request.c:486: `O_CREAT' undeclared (first use in this function)
apache_request.c:486: `O_EXCL' undeclared (first use in this function)
apache_request.c:486: `O_RDWR' undeclared (first use in this function)
apache_request.c:486: `O_BINARY' undeclared (first use in this function)
apache_request.c:493: request for member `pool' in something not a
structure or union
apache_request.c:493: warning: assignment makes pointer from integer
without a cast
apache_request.c:494: `APLOG_MARK' undeclared (first use in this
function)
apache_request.c:494: `APLOG_NOERRNO' undeclared (first use in this
function)
apache_request.c:494: `APLOG_ERR' undeclared (first use in this
function)
apache_request.c:494: request for member `r' in something not a
structure or union
apache_request.c:499: dereferencing pointer to incomplete type
apache_request.c:500: dereferencing pointer to incomplete type
apache_request.c:501: request for member `pool' in something not a
structure or union
apache_request.c:502: `ap_null_cleanup' undeclared (first use in this
function)
apache_request.c: At top level:
apache_request.c:507: parse error before '*' token
apache_request.c: In function `ApacheRequest_parse_multipart':
apache_request.c:509: `request_rec' undeclared (first use in this
function)
apache_request.c:509: request for member `r' in something not a
structure or union
apache_request.c:510: `OK' undeclared (first use in this function)
apache_request.c:511: request for member `headers_in' in something not a
structure or union
apache_request.c:511: warning: initialization makes pointer from integer
without a cast
apache_request.c:514: `mbuff' undeclared (first use in this function)
apache_request.c:515: `NULL' undeclared (first use in this function)
apache_request.c:518: `APLOG_MARK' undeclared (first use in this
function)
apache_request.c:518: `APLOG_NOERRNO' undeclared (first use in this
function)
apache_request.c:518: `APLOG_ERR' undeclared (first use in this
function)
apache_request.c:518: request for member `r' in something not a
structure or union
apache_request.c:519: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use
in this function)
apache_request.c:522: `REQUEST_CHUNKED_ERROR' undeclared (first use in
this function)
apache_request.c:530: request for member `remaining' in something not a
structure or union
apache_request.c:530: request for member `post_max' in something not a
structure or union
apache_request.c:530: request for member `post_max' in something not a
structure or union
apache_request.c:531: request for member `r' in something not a
structure or union
apache_request.c:532: request for member `post_max' in something not a
structure or union
apache_request.c:533: `HTTP_REQUEST_ENTITY_TOO_LARGE' undeclared (first
use in this function)
apache_request.c:536: request for member `pool' in something not a
structure or union
apache_request.c:537: request for member `pool' in something not a
structure or union
apache_request.c:537: warning: assignment makes pointer from integer
without a cast
apache_request.c:540: `DECLINED' undeclared (first use in this function)
apache_request.c:544: `table' undeclared (first use in this function)
apache_request.c:544: `header' undeclared (first use in this function)
apache_request.c:561: warning: assignment makes pointer from integer
without a cast
apache_request.c:564: request for member `pool' in something not a
structure or union
apache_request.c:564: warning: assignment makes pointer from integer
without a cast
apache_request.c:571: request for member `pool' in something not a
structure or union
apache_request.c:571: warning: assignment makes pointer from integer
without a cast
apache_request.c:573: request for member `pool' in something not a
structure or union
apache_request.c:573: warning: assignment makes pointer from integer
without a cast
apache_request.c:576: request for member `pool' in something not a
structure or union
apache_request.c:576: warning: assignment makes pointer from integer
without a cast
apache_request.c:582: request for member `parms' in something not a
structure or union
apache_request.c:587: request for member `disable_uploads' in something
not a structure or union
apache_request.c:588: request for member `r' in something not a
structure or union
apache_request.c:589: `HTTP_FORBIDDEN' undeclared (first use in this
function)
apache_request.c:592: request for member `parms' in something not a
structure or union
apache_request.c:595: dereferencing pointer to incomplete type
apache_request.c:596: dereferencing pointer to incomplete type
apache_request.c:600: request for member `upload' in something not a
structure or union
apache_request.c:603: request for member `upload_hook' in something not
a structure or union
apache_request.c:607: dereferencing pointer to incomplete type
apache_request.c:608: dereferencing pointer to incomplete type
apache_request.c:608: request for member `r' in something not a
structure or union
apache_request.c:609: dereferencing pointer to incomplete type
apache_request.c:609: request for member `r' in something not a
structure or union
apache_request.c:615: request for member `remaining' in something not a
structure or union
apache_request.c:620: request for member `upload_hook' in something not
a structure or union
apache_request.c:621: request for member `upload_hook' in something not
a structure or union
apache_request.c:621: request for member `hook_data' in something not a
structure or union
apache_request.c:623: dereferencing pointer to incomplete type
apache_request.c:628: dereferencing pointer to incomplete type
apache_request.c:631: dereferencing pointer to incomplete type
apache_request.c:631: dereferencing pointer to incomplete type
apache_request.c:632: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:667: parse error before "expire_calc"
apache_request.c: In function `expire_calc':
apache_request.c:694: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:698: parse error before '*' token
apache_request.c: In function `ApacheUtil_expires':
apache_request.c:700: `time_t' undeclared (first use in this function)
apache_request.c:700: parse error before "when"
apache_request.c:702: `type' undeclared (first use in this function)
apache_request.c:704: `time_str' undeclared (first use in this function)
apache_request.c:705: `NULL' undeclared (first use in this function)
apache_request.c:708: `when' undeclared (first use in this function)
apache_request.c:711: `p' undeclared (first use in this function)
apache_request.c:711: warning: return makes pointer from integer without
a cast
apache_request.c:714: warning: assignment makes pointer from integer
without a cast
apache_request.c:717: `ap_day_snames' undeclared (first use in this
function)
apache_request.c:717: dereferencing pointer to incomplete type
apache_request.c:718: dereferencing pointer to incomplete type
apache_request.c:718: `ap_month_snames' undeclared (first use in this
function)
apache_request.c:718: dereferencing pointer to incomplete type
apache_request.c:719: dereferencing pointer to incomplete type
apache_request.c:720: dereferencing pointer to incomplete type
apache_request.c:720: dereferencing pointer to incomplete type
apache_request.c:720: dereferencing pointer to incomplete type
apache_request.c:720: warning: return makes pointer from integer without
a cast
apache_request.c: At top level:
apache_request.c:723: parse error before '*' token
apache_request.c: In function `ApacheRequest_expires':
apache_request.c:725: request for member `r' in something not a
structure or union
apache_request.c:725: `time_str' undeclared (first use in this function)
make[1]: *** [apache_request.o] Error 1
make: *** [subdirs] Error 2

-- 
K Old <[EMAIL PROTECTED]>

Reply via email to