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:35:09 GMT
At 12:03 PM 6/26/02 -0400, Joe Schaefer wrote:

>[cross-posted to apreq-dev]

since im not finding subscription info on the mailing list page at ( then im just posting 
this directly to the list...

>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.

from what the sysadmin tells me (i didnt set up this machine), both apache 
and mod_perl were built from source monday (when this machine came online)...

when i use the following line for configure:

    ./configure --with-apache-includes=/usr/local/httpd

then i get:

$ make
Making all in c
make[1]: Entering directory `/home/tbolin/libapreq-1.0/c'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
-I/usr/local/httpd    -g -O2 -c apache_cookie.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/httpd -g -O2 
-Wp,-MD,.deps/apache_cookie.pp -c  -fPIC -DPIC apache_coo
kie.c -o .libs/apache_cookie.lo
In file included from apache_cookie.h:4,
                  from apache_cookie.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 directory
make[1]: *** [apache_cookie.lo] Error 1
make[1]: Leaving directory `/home/tbolin/libapreq-1.0/c'
make: *** [all-recursive] Error 1

however, if i use:

    ./configure --with-apache-includes=/usr/local/httpd/include

(/usr/local/httpd/include being where httpd.h and whatnot live) then i get 
the same errors mentioned in my last message...

so is this definitely a mod_perl configuration/install issue?

thanks again for the assistance...


View raw message