httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Shaw" <>
Subject Cant build libapreq2-2.08 - missing mod_perl sources??
Date Fri, 20 Apr 2007 12:11:05 GMT
I have posted this to the modperl list as well.  This was not done
intentionally, I just hadnt figured here would be a better location for the

Sorry about that, it wont happen again.  Heres the post anyway:

Im sorry to ask this question but I have been looking for answers to this
problem for many hours and Ive found partial answers that I don't
understand.  I can usually solve problems but this one has me stumped.

Im trying to install libapreq2-2.08 on my debian box with Apache2.2.4 and
mod_perl 2.03 (with Perl 5.8.8)

Ive compiled apache/mod_perl/perl from source.

My configure line is:
./configure --enable-perl-glue

I don't get any problems with configuring.everything looks good.

When I 'make' I get the following log.

8< snip

make[2]: Entering directory `/usr/local/src/libapreq2-2.08/glue/perl'
cp lib/Apache2/ blib/lib/Apache2/ cp lib/Apache2/
blib/lib/Apache2/ cp lib/Apache2/
make[3]: Entering directory `/usr/local/src/libapreq2-2.08/glue/perl/xs'
make[4]: Entering directory `/usr/local/src/libapreq2-2.08/glue/perl/xs/APR'
make[5]: Entering directory
cp ../../../blib/lib/APR/ cp Request.pod
make[6]: Entering directory
cp ../../../../blib/lib/APR/Request/
cp Apache2.pod ../../../../blib/lib/APR/Request/Apache2.pod
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap
pemap -typemap ../../../typemap  Apache2.xs > Apache2.xsc && mv Apache2.xsc
cc -c  -I/usr/local/src/libapreq2-2.08/glue/perl/xs
-I/usr/local/apache2/include  -I/usr/local/apache2/include  -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DMOD_PERL
-DXS_VERSION=\"2.08\" -fpic
"-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE"   Apache2.c
In file included from Apache2.xs:39:
error: modperl_perl_unembed.h: No such file or directory
error: modperl_common_util.h: No such file or directory In file included
from Apache2.xs:45:
equest__Apache2.h:1:22: error: mod_perl.h: No such file or directory
Apache2.c: In function 'XS_APR__Request__Apache2_handle':
Apache2.c:66: warning: initialization makes pointer from integer without a
make[6]: *** [Apache2.o] Error 1
make[6]: Leaving directory
make[5]: *** [subdirs] Error 2
make[5]: Leaving directory
make[4]: *** [subdirs] Error 2
make[4]: Leaving directory `/usr/local/src/libapreq2-2.08/glue/perl/xs/APR'
make[3]: *** [subdirs] Error 2
make[3]: Leaving directory `/usr/local/src/libapreq2-2.08/glue/perl/xs'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/usr/local/src/libapreq2-2.08/glue/perl'
make[1]: *** [perl_glue] Error 2
make[1]: Leaving directory `/usr/local/src/libapreq2-2.08/glue'
make: *** [all-recursive] Error 1

I understand what the errors are but Im not sure the best way to fix them.
I tried to move the header files in to the right locations needed by make
but that only created more errors.  Is there some method I need to use to
configure the location of the mod_perl2 sources? 

Some advice here would be greatly appreciated.


View raw message