This queue is for tickets about the libapreq CPAN distribution.

Report information
The Basics
Id:
2423
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
javatizer [...] hotmail.com
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
1.1
Fixed in:
(no value)



Subject: libapreq-1.1 Compilation problem
hi, When I try to compile libapreq-1.1 (on RH 8.0 i386) I get the following error (please note that this is nto the usual error of missing httpd.h since the configure line already pointed to Apache include lib as: ./configure --with-apache-includes=/usr/local/apache2/include/) : [root@hostX libapreq-1.1]# make Making all in c make[1]: Entering directory `/tmp/libapreq-1.1/c' source='apache_cookie.c' object='apache_cookie.lo' libtool=yes \ depfile='.deps/apache_cookie.Plo' tmpdepfile='.deps/apache_cookie.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/local/apache2/include/ -g -O2 -c -o apache_cookie.lo `test -f 'apache_cookie.c' || echo './'`apache_cookie.c rm -f .libs/apache_cookie.lo gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/local/apache2/include/ -g -O2 -c apache_cookie.c -MT apache_cookie.lo -MD -MP -MF .deps/apache_cookie.TPlo -fPIC -DPIC -o .libs/apache_cookie.lo In file included from apache_cookie.h:4, from apache_cookie.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:48: parse error before '}' token 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:58: parse error before '*' token apache_request.h:58: warning: data definition has no type or storage class apache_request.h:59: parse error before '}' token apache_request.h:89: parse error before '*' token apache_request.h:89: warning: data definition has no type or storage class apache_request.h:90: parse error before '*' token 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:95: parse error before '*' token apache_request.h:95: warning: data definition has no type or storage class apache_request.h:96: parse error before '*' token apache_request.h:97: parse error before '*' token apache_request.h:101: parse error before '*' token apache_request.h:102: parse error before '*' token apache_request.h:121: parse error before '*' token apache_request.h:124: parse error before '*' token In file included from apache_cookie.c:59: apache_cookie.h:6: parse error before "ApacheCookieJar" apache_cookie.h:6: warning: data definition has no type or storage class apache_cookie.h:11: parse error before "array_header" apache_cookie.h:11: warning: no semicolon at end of struct or union apache_cookie.h:16: parse error before '}' token apache_cookie.h:16: warning: data definition has no type or storage class apache_cookie.h:44: parse error before '*' token apache_cookie.h:44: warning: data definition has no type or storage class apache_cookie.h:45: parse error before '*' token apache_cookie.h:45: warning: data definition has no type or storage class apache_cookie.h:46: parse error before '*' token apache_cookie.h:47: parse error before '*' token apache_cookie.h:48: parse error before '*' token apache_cookie.h:49: parse error before '*' token apache_cookie.c:61: parse error before '*' token apache_cookie.c: In function `ApacheCookie_expires': apache_cookie.c:65: `c' undeclared (first use in this function) apache_cookie.c:65: (Each undeclared identifier is reported only once apache_cookie.c:65: for each function it appears in.) apache_cookie.c:65: `time_str' undeclared (first use in this function) apache_cookie.c: At top level: apache_cookie.c:76: parse error before '*' token apache_cookie.c: In function `ApacheCookie_attr': apache_cookie.c:79: `key' undeclared (first use in this function) apache_cookie.c:83: `c' undeclared (first use in this function) apache_cookie.c:83: `val' undeclared (first use in this function) apache_cookie.c:107: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type apache_cookie.c: At top level: apache_cookie.c:113: parse error before '*' token apache_cookie.c: In function `ApacheCookie_new': apache_cookie.c:116: parse error before "req" apache_cookie.c:117: `c' undeclared (first use in this function) apache_cookie.c:120: request for member `r' in something not a structure or union apache_cookie.c: At top level: apache_cookie.c:144: parse error before '*' token apache_cookie.c: In function `ApacheCookie_parse': apache_cookie.c:147: `retval' undeclared (first use in this function) apache_cookie.c:148: parse error before ')' token apache_cookie.c:151: warning: assignment makes pointer from integer without a cast apache_cookie.c:156: `c' undeclared (first use in this function) apache_cookie.c:182: parse error before ')' token apache_cookie.c: At top level: apache_cookie.c:196: parse error before '*' token apache_cookie.c: In function `escape_url': apache_cookie.c:198: `p' undeclared (first use in this function) apache_cookie.c:198: `val' undeclared (first use in this function) apache_cookie.c: At top level: apache_cookie.c:230: parse error before '*' token apache_cookie.c: In function `ApacheCookie_as_string': apache_cookie.c:232: `array_header' undeclared (first use in this function) apache_cookie.c:232: `values' undeclared (first use in this function) apache_cookie.c:233: `pool' undeclared (first use in this function) apache_cookie.c:233: `p' undeclared (first use in this function) apache_cookie.c:233: `c' undeclared (first use in this function) apache_cookie.c:248: warning: assignment makes pointer from integer without a cast apache_cookie.c:253: warning: assignment makes pointer from integer without a cast apache_cookie.c:259: warning: assignment makes pointer from integer without a cast apache_cookie.c: At top level: apache_cookie.c:265: parse error before '*' token apache_cookie.c: In function `ApacheCookie_bake': apache_cookie.c:267: `c' undeclared (first use in this function) make[1]: *** [apache_cookie.lo] Error 1 make[1]: Leaving directory `/tmp/libapreq-1.1/c' make: *** [all-recursive] Error 1 [root@hostX libapreq-1.1]#


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.