On Saturday, December 28, 2002, at 11:11  AM, Joe Schaefer wrote:
apreq wasn't recognized in your build; if it was, you'd see something
like

    + building with static apreq
  ...
  Creating Makefile in src/lib/apreq

during configuration.

I think the apreq patch requires APACI, so modperl's httpd build
may not work with it as-is.  I don't know how to fix this right now,
but you might try configuring mod_perl with

  % perl Makefile.PL USE_APACI=1  EVERYTHING=1

or somesuch.
Aha, when I do that, I indeed see "+ building with static apreq" and the proper Makefiles created during the 'perl Makefile.PL' output.

However, it dies fairly early during 'make':

-------------------------------------------------------------------------
[kw-009:~/Downloads/perl/mod_perl-1.27] ken% make
(cd ../apache_1.3.27 && PERL5LIB=/Users/ken/Downloads/perl/mod_perl-1.27/lib:/sw/lib/perl5:/Library/
Perl make)
===> src
===> src/regex
[snip]
<=== src/regex
===> src/os/unix
[snip]
<=== src/os/unix
===> src/ap
[snip]
<=== src/ap
===> src/main
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I.. -I/System/Library/Perl/darwin/CORE -I../os/unix -I../include -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DUSE_APREQ -I../lib/apreq -DNO_DL_NEEDED -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` gen_test_char.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DUSE_APREQ -I../lib/apreq -DNO_DL_NEEDED -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` -o gen_test_char gen_test_char.o -flat_namespace -L/usr/local/lib /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a -L/System/Library/Perl/darwin/CORE -lperl -lm -lc
./gen_test_char >test_char.h
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I.. -I/System/Library/Perl/darwin/CORE -I../os/unix -I../include -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DUSE_APREQ -I../lib/apreq -DNO_DL_NEEDED -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` gen_uri_delims.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DUSE_APREQ -I../lib/apreq -DNO_DL_NEEDED -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` -o gen_uri_delims gen_uri_delims.o -flat_namespace -L/usr/local/lib /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a -L/System/Library/Perl/darwin/CORE -lperl -lm -lc
./gen_uri_delims >uri_delims.h
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I.. -I/System/Library/Perl/darwin/CORE -I../os/unix -I../include -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DUSE_APREQ -I../lib/apreq -DNO_DL_NEEDED -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` alloc.c
alloc.c: In function `spawn_child_core':
alloc.c:2301: `STDOUT_FILENO' undeclared (first use in this function)
alloc.c:2301: (Each undeclared identifier is reported only once
alloc.c:2301: for each function it appears in.)
alloc.c:2307: `STDIN_FILENO' undeclared (first use in this function)
alloc.c:2313: `STDERR_FILENO' undeclared (first use in this function)
make[4]: *** [alloc.o] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [apaci_httpd] Error 2
[kw-009:~/Downloads/perl/mod_perl-1.27] ken%
-------------------------------------------------------------------------

-Ken

Reply via email to