"Joe Schaefer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Dd" <[EMAIL PROTECTED]> writes:
> Go to the "c" subdirectory and inspect the Makefile that was
> generated:
>
> % perl Makefile.PL
> % cd c
> % grep /local/apache Makefile
>
> Here's my grep output on linux: (usenet-wrapped)
<snip your output>
I got no output AT ALL!
> If you get similar output, double-check the /usr/local/apache/include
> directory has all the files in question. Then examine the output of
>
> % make
>
> to see that the proper INC flag is set when compiling.
>
> Honestly, I don't know why it's not compiling; perhaps you forgot to
> install *mod_perl* first? If you haven't done something silly, post
> your actual output of
I was installing through CPAN - Bundle::Apache which should install mod_perl
according to perl.apache.org/
> If you haven't done something silly, post
> your actual output of
> % make clean; perl Makefile.PL; make
> % ls /usr/local/apache/include
> to [EMAIL PROTECTED] Be sure to include your platform
> as well (OS, c compiler, mod_perl version, apache installation/location,
> etc.)
Output of perl Makefile.PL for httpd-apreq-20010109.tar.gz
Checking if your kit is complete...
Warning: the following files are missing in your kit:
Makefile.in
c/Makefile.in
configure
Please inform the author.
Writing Makefile for libapreq
mkdir ../blib
mkdir ../blib/arch
mkdir ../blib/arch/auto
mkdir ../blib/arch/auto/libapreq
Warning: -L../blib/arch/auto/libapreq changed
to -L/home/dd/.cpan/build/httpd-apreq/Request/../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Warning: -L../blib/arch/auto/libapreq changed
to -L/home/dd/.cpan/build/httpd-apreq/Cookie/../blib/arch/auto/libapreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
Then when I do make I get the following:
$ make
mkdir blib/lib
mkdir blib/lib/auto
mkdir blib/lib/auto/libapreq
mkdir blib/man3
cp libapreq.pod blib/lib/libapreq.pod
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
make[1]: Entering directory `/home/dd/.cpan/build/httpd-apreq/c'
gcc -c -fno-strict-aliasing -O2 -march=i386 -mcpu=i686 -DVERSION=\"0.10
\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE
apache_request.c
In file included from apache_request.c:58:
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_request.o] Error 1
make[1]: Leaving directory `/home/dd/.cpan/build/httpd-apreq/c'
make: *** [subdirs] Error 2
I am running RedHat Linux 7.0 on a i586 machine. C Compiler is
gcc-2.96-544. I am trying to install Bundle::Apache through CPAN.pm when
the error occurs - libapreq is required for installing mod_perl. I
installed installed apache 1.3.14 in /usr/local/apache.
Thanks,
Dd
>
> HTH
> --
> Joe Schaefer