httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bolin <>
Subject Re: errors installing libapreq
Date Wed, 26 Jun 2002 16:44:01 GMT
At 12:03 PM 6/26/02 -0400, Joe Schaefer wrote:
>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/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.

sorry for not including this in the last post, it just occurred to me to 
see what the compile lines looked like if i used "perl Makefile.PL" instead 
of "./configure"... the end result was (wrapped):

make[1]: Entering directory `/home/tbolin/libapreq-1.0/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_request.c
In file included from apache_request.c:59:
apache_request.h:38: parse error before `table'
[errors continue]

so, in this case, the -I flags arent empty, but neither are there nearly as 
many of them, and they clearly still arent right... or something... i 
dunno, im no systems guru, im at my best when i type "make" and it makes, 
so i can get on with using it :)


View raw message