"Philippe M. Chiasson" <[EMAIL PROTECTED]> wrote on 05.10.2004 21:50:11:
>
> That's a slightly misleading error message, can you try again with this
> smallish patch? (it will correctly report the include directory it
didn't
> find)
>
> And just to be clear, you configured & build httpd in
> /home/mgorb/mp-test/httpd-2.0
> or did you do that elsewhere and just installed httpd there (--
> prefix=/home/mgorb/mp-test/httpd-2.0) ?
>
> Index: lib/Apache/Build.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
> retrieving revision 1.186
> diff -u -I$Id -r1.186 Build.pm
> --- lib/Apache/Build.pm 26 Sep 2004 07:06:23 -0000 1.186
> +++ lib/Apache/Build.pm 5 Oct 2004 17:48:16 -0000
> @@ -82,7 +82,7 @@
> my $include_dir = $self->apxs(-q => 'INCLUDEDIR');
>
> unless (-d $include_dir) {
> - return "include/ directory not found in $prefix";
> + return "$include_dir directory not found in $prefix";
> }
>
> return '';
>
>
applied the above, here is the result:
$ $HOME/mp-test/perl/bin/perl Makefile.PL \
> MP_AP_PREFIX=$HOME/mp-test/httpd-2.0 \
> MP_CCOPTS="-march=pentium2 -O2"
Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /home/mgorb/mp-test/httpd-2.0
MP_CCOPTS = -march=pentium2 -O2
[ error] invalid MP_AP_PREFIX: directory not found in
/home/mgorb/mp-test/httpd-2.0
$
httpd is build in /home/mgorb/mp-test/src/httpd-2.0.52 and installed here
/home/mgorb/mp-test/httpd-2.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]