Hi Geoff and all,

Apache::Clean fails make test on my system as follows:

[EMAIL PROTECTED] /tmp/build/Apache-Clean-2.0>make test
/home/debug/perl/bin/perl5.8.0 -Iblib/arch/Apache2 -Iblib/lib/Apache2
t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT=
APACHE=/home/debug/apache/bin/httpd APXS=/home/debug/apache/bin/apxs
/home/debug/perl/bin/perl5.8.0 -Iblib/arch/Apache2 -Iblib/lib/Apache2
t/TEST
!!! configure() has failed:
Can't locate mod_perl.pm in @INC (@INC contains:
/home/tmp/build/Apache-Clean-2.0/Apache-Test/lib
/home/tmp/build/Apache-Clean-2.0/lib
/home/tmp/build/Apache-Clean-2.0/blib/lib
/home/tmp/build/Apache-Clean-2.0/blib/arch blib/arch/Apache2
blib/lib/Apache2 /home/debug/perl/lib/5.8.0/i386-freebsd
/home/debug/perl/lib/5.8.0
/home/debug/perl/lib/site_perl/5.8.0/i386-freebsd
/home/debug/perl/lib/site_perl/5.8.0 /home/debug/perl/lib/site_perl .) at
/home/debug/perl/lib/site_perl/5.8.0/i386-freebsd/Apache/TestConfigPerl.pm
line 403, <DATA> line 65.

*** forcing Apache::TestConfig object save
*** run 't/TEST -clean' to clean up before continuing
*** Error code 1

Stop in /home/tmp/build/Apache-Clean-2.0.


This is even though the @INC contains:

/home/debug/perl/lib/site_perl/5.8.0/i386-freebsd

and I have the module supposedly missing:

[EMAIL PROTECTED] /home/debug/perl/lib>f mod_perl.pm
./site_perl/5.8.0/i386-freebsd/Apache2/mod_perl.pm

and I have the latest MM.pm at 
/home/debug/perl/lib/site_perl/5.8.0/i386-freebsd/Apache2/ModPerl/MM.pm

#to override MakeMaker MOD_INSTALL macro
sub mod_install {
    # XXX: adding -MApache2 here so 3rd party modules could use this macro,
    # taking into account that we can't do -MApache2 when installing
    # mod_perl itself, when installed for the first time.
    # may be should have different macros for core build and modules build
    q{$(PERL) -I$(INST_LIB) -I$(PERL_LIB) \\}."\n" .
    q{-e "BEGIN { eval {require Apache2} } use ModPerl::MM; \\}."\n" .
    q{ModPerl::MM::install([EMAIL PROTECTED],'$(VERBINST)',0,'$(UNINST)');"}."\n";

    # the original was:
    # q{$(PERL) -I$(INST_LIB) -I$(PERL_LIB) -MModPerl::MM \\}."\n" .
    # q{-e "ModPerl::MM::install([EMAIL 
PROTECTED],'$(VERBINST)',0,'$(UNINST)');"}."\n";
}

Any help appreciated.

- nick

-- 

~~~~~~~~~~~~~~~~~~~~
Nick Tonkin   {|8^)>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to