httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+apa...@sunstarsys.com>
Subject Re: errors installing libapreq
Date Wed, 26 Jun 2002 16:03:37 GMT

[cross-posted to apreq-dev]

Tim Bolin <tbolin@unirez.com> writes:

> ok, im at the end of my proverbial rope on this one and dont know how
> to proceed... i am trying to install libapreq for Apache::Request, and
> when i try to run "make" the thing just pukes up a huge long string of
> errors like :
> 
> -=-=-=-=-=-=-
> make[1]: Entering directory `/root/.cpan/build/libapreq-0.33/c'
> gcc -c -I/usr/local/httpd//include -I/usr/local/httpd//include 
> -fno-strict-aliasing -I/usr/local/include -O2 -march
> =i386 -mcpu=i686   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC 
> -I/usr/lib/perl5/5.6.1/i386-linux/CORE  apache_re
> quest.c
> In file included from apache_request.c:58:
> apache_request.h:38: parse error before `table'
                                           ^^^^^^

Your include files aren't defining the table struct.  gcc can't find 
your apache header files (maybe they're in /usr/local/apache/include ?).
Also, the typical compile lines should have a whole lot more "-I" flags.
In your case, modperl may not be properly installed- otherwise your
compile lines would look more like this (wrapped):

  make[1]: Entering directory `/home/joe/src/apache/cvs/httpd-apreq/c'
  cc -c -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/include 
  -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/include/modules/perl
  -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/include/include 
  -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/include/regex 
  -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/include/os/unix
  -I/usr/local/apache/include -Dbool=char -DHAS_BOOL
  -I/usr/local/include -O2    -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" 
  -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE  apache_request.c

You probably need to reinstall modperl (preferably from source) to get
libapreq to build correctly on your OS.

-- 
Joe Schaefer

Mime
View raw message