You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Nick Tonkin <ni...@tonkinresolutions.com> on 2003/03/18 01:53:15 UTC
[mp2] Apache::Clean make test failure
Hi Geoff and all,
Apache::Clean fails make test on my system as follows:
nick@world /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:
nick@world /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({@ARGV},'$(VERBINST)',0,'$(UNINST)');"}."\n";
# the original was:
# q{$(PERL) -I$(INST_LIB) -I$(PERL_LIB) -MModPerl::MM \\}."\n" .
# q{-e "ModPerl::MM::install({@ARGV},'$(VERBINST)',0,'$(UNINST)');"}."\n";
}
Any help appreciated.
- nick
--
~~~~~~~~~~~~~~~~~~~~
Nick Tonkin {|8^)>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] Apache::Clean make test failure
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
eeck - I hate it when ntp doesn't sync up. hope this one floats to
the top of your inbox :)
--Geoff
Geoffrey Young wrote:
>
>
> Nick Tonkin wrote:
>
>> Hi Geoff and all,
>>
>
> hi :)
>
>> !!! 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.
>
>
> well, something is definitely amuck here - I would have expected Apache2
> to be added to more of those paths, namely ones outside of the build
> library.
>
> > 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:
> >
> > nick@world /home/debug/perl/lib>f mod_perl.pm
> > ./site_perl/5.8.0/i386-freebsd/Apache2/mod_perl.pm
>
> well, clearly the appropriate path is not in your @INC. on my system,
> use Apache2 in the Makefile.PL is sufficient to do this - I don't know
> why it's not working for you. I've seen quite a few Apache2 related
> errors but never this, so I'm really at a loss.
>
> anyway, for anybody else who wants to give the install a test drive, the
> module in question is here
>
> http://www.modperlcookbook.org/~geoff/perl.com/Apache-Clean-2.0.tar.gz
>
> any problems people encounter with the install can be reported back to me.
>
> nick, I'll probably ask you for a shell tomorrow so I can take a look at
> this and try a few things.
>
> --Geoff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] Apache::Clean make test failure
Posted by Nick Tonkin <ni...@tonkinresolutions.com>.
On Tue, 18 Mar 2003, Geoffrey Young wrote:
> try this patch
>
> --Geoff
>
> Index: t/TEST.PL
> ===================================================================
> RCS file: /src/CVS/perl.com/Apache-Clean-2.0/t/TEST.PL,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 TEST.PL
> --- t/TEST.PL 2002/12/09 14:04:11 1.1.1.1
> +++ t/TEST.PL 2003/03/18 13:32:39
> @@ -3,6 +3,7 @@
> use strict;
> use warnings FATAL => 'all';
>
> +use Apache2 ();
> use Apache::TestRunPerl();
>
> Apache::TestRunPerl->new->run(@ARGV);
This worked, Geoff: Apache::Clean now installs and tests fine.
Thanks,
- nick
--
~~~~~~~~~~~~~~~~~~~~
Nick Tonkin {|8^)>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] Apache::Clean make test failure
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Nick Tonkin wrote:
> Hi Geoff and all,
>
hi :)
> !!! 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.
well, something is definitely amuck here - I would have expected
Apache2 to be added to more of those paths, namely ones outside of the
build library.
> 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:
>
> nick@world /home/debug/perl/lib>f mod_perl.pm
> ./site_perl/5.8.0/i386-freebsd/Apache2/mod_perl.pm
well, clearly the appropriate path is not in your @INC. on my system,
use Apache2 in the Makefile.PL is sufficient to do this - I don't know
why it's not working for you. I've seen quite a few Apache2 related
errors but never this, so I'm really at a loss.
anyway, for anybody else who wants to give the install a test drive,
the module in question is here
http://www.modperlcookbook.org/~geoff/perl.com/Apache-Clean-2.0.tar.gz
any problems people encounter with the install can be reported back to me.
nick, I'll probably ask you for a shell tomorrow so I can take a look
at this and try a few things.
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org