Problem building Apache::Request

[prev] [thread] [next] [Date index for 2004/12/18]

From: Tom Gazzini
Subject: Problem building Apache::Request
Date: 20:42 on 18 Dec 2004
I've built apache/mod_perl/mason many times, but this is the first time I
have come across this problem:

I'm getting a strange "dereferencing pointer to incomplete type" error when
I try and install Apache::Request.

I'm using apache 1.3.33/Fedora Core 2/perl 5.8.6 ithreads/mod_perl

The full output is below. Any suggestions would be most welcome.

Thanks
Tom.


  CPAN.pm: Going to build S/ST/STAS/libapreq-1.33.tar.gz

cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
cp libapreq.pod blib/lib/libapreq.pod
make[1]: Entering directory `/root/.cpan/build/libapreq-1.33/c'
cc -c
-I/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apach
e/include
-I/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apach
e/include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apach
e/include/include
-I/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apach
e/include/regex
-I/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apach
e/include/os/unix -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"\"
-DXS_VERSION=\"\" -fpic
"-I/usr/local/lib/perl5/5.8.6/i686-linux-thread-multi-ld/CORE"
apache_request.c
In file included from apache_request.h:20,
                 from apache_request.c:18:
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:31:19: ap_mm.h: No such file or directory
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:40:21: ap_hook.h: No such file or directory
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:41:20: ap_ctx.h: No such file or directory
In file included from
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:43,
                 from apache_request.h:20,
                 from apache_request.c:18:
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/buff.h:86: error: syntax error before "ap_ctx"
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/buff.h:86: warning: no semicolon at end of struct or union
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/buff.h:97: error: syntax error before '}' token
In file included from apache_request.h:20,
                 from apache_request.c:18:
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:845: error: syntax error before "ap_ctx"
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:845: warning: no semicolon at end of struct or union
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:896: error: syntax error before "ap_ctx"
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:896: warning: no semicolon at end of struct or union
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:972: error: syntax error before "ap_ctx"
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-ld/auto/Apache/
include/include/httpd.h:972: warning: no semicolon at end of struct or union
apache_request.c: In function `util_read':
apache_request.c:40: error: dereferencing pointer to incomplete type
apache_request.c:48: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_script_name':
apache_request.c:75: error: dereferencing pointer to incomplete type
apache_request.c:75: error: dereferencing pointer to incomplete type
apache_request.c:76: error: dereferencing pointer to incomplete type
apache_request.c:76: error: dereferencing pointer to incomplete type
apache_request.c:77: error: dereferencing pointer to incomplete type
apache_request.c:77: error: dereferencing pointer to incomplete type
apache_request.c:80: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_script_path':
apache_request.c:88: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_params':
apache_request.c:106: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_params_as_string':
apache_request.c:119: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheUpload_new':
apache_request.c:158: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_new':
apache_request.c:186: error: dereferencing pointer to incomplete type
apache_request.c:189: error: dereferencing pointer to incomplete type
apache_request.c: In function `split_to_parms':
apache_request.c:348: error: dereferencing pointer to incomplete type
apache_request.c:349: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest___parse':
apache_request.c:365: error: dereferencing pointer to incomplete type
apache_request.c:366: error: dereferencing pointer to incomplete type
apache_request.c:370: error: dereferencing pointer to incomplete type
apache_request.c:371: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_parse_urlencoded':
apache_request.c:398: error: dereferencing pointer to incomplete type
apache_request.c:401: error: dereferencing pointer to incomplete type
apache_request.c: In function `remove_tmpfile':
apache_request.c:421: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_tmpfile':
apache_request.c:445: error: dereferencing pointer to incomplete type
apache_request.c:452: error: dereferencing pointer to incomplete type
apache_request.c:462: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_parse_multipart':
apache_request.c:472: error: dereferencing pointer to incomplete type
apache_request.c:491: error: dereferencing pointer to incomplete type
apache_request.c:499: error: dereferencing pointer to incomplete type
apache_request.c:508: error: dereferencing pointer to incomplete type
apache_request.c:535: error: dereferencing pointer to incomplete type
apache_request.c:542: error: dereferencing pointer to incomplete type
apache_request.c:544: error: dereferencing pointer to incomplete type
apache_request.c:547: error: dereferencing pointer to incomplete type
apache_request.c:579: error: dereferencing pointer to incomplete type
apache_request.c:580: error: dereferencing pointer to incomplete type
apache_request.c:586: error: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheRequest_expires':
apache_request.c:696: error: dereferencing pointer to incomplete type
make[1]: *** [apache_request.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.33/c'
make: *** [subdirs] Error 2
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible





        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Problem building Apache::Request
Tom Gazzini 20:42 on 18 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52