Re: can't locate Apache/Build.pm

[prev] [thread] [next] [Date index for 2005/01/07]

From: Ron Savage
Subject: Re: can't locate Apache/Build.pm
Date: 22:49 on 07 Jan 2005
On Thu, 6 Jan 2005 17:42:29 -0600 (CST), Randy Kobes wrote:

Hi Randy

>=A0Very strange :( If you completely hide any previous Apache::Test*
>=A0modules that may have been installed, and start from a clean source
>=A0distribution, does building it manually run into the same problem?

No difference after moving /perl/site/lib/Apache/Test* to /temp.

Observe the error msg again:

C:\Perl-modules\Apache-Test-1.19>perl Makefile.PL
Can't locate Apache/Build.pm in @INC (@INC contains: lib C:/Perl/lib=
 C:/Perl/site/lib .) at lib/Apac
he/TestConfig.pm line 33.
BEGIN failed--compilation aborted at lib/Apache/TestConfig.pm line 34.
Compilation failed in require at lib/Apache/TestMM.pm line 21.
BEGIN failed--compilation aborted at lib/Apache/TestMM.pm line 21.
Compilation failed in require at Makefile.PL line 17.
BEGIN failed--compilation aborted at Makefile.PL line 17.

The sequence of events is:
1: Run Makefile.PL
2: Execute line 17 of Makefile.PL:
use Apache::TestMM qw(test clean); #enable 'make test and make clean'
3: Execute line 21 of TestMM:
use Apache::TestConfig ();
(which incidentally is the same as line 21 of Makefile.PL, so both need to=
 work)
4: Execute lines 30 .. 34 of TestConfig:
5: Line 30 will return IS_MOD_PERL_2 as true
6: Line 34 will require Apache::Build
7: It must fail because /perl/site/lib/Apache2 is not in @INC
and /perl/site/lib/Apache2/Apache/Build.pm is what is being required.

When I search CPAN for Apache::Build, thinking to install it alone and see=
 if it can be put in /perl/site/lib, I get:
mod_perl-2.0.0-RC3 - 05 Jan 2005 - Philippe M. Chiasson, so that ain't gunna=
 work either.
 
>=A0Additionally, if you install the newest version of Apache-Test, and
>=A0then try building Apache-Test from the sources, does the same
>=A0problem result?

No can do.
        -- 
        Cheers
Ron Savage, ron@xxxxxx.xxx.xx on 8/01/2005
http://savage.net.au/index.html

(message missing)

Re: [summary] The Conflict of mp1 vs mp2 vs mp22 vs ... vs mpNN
merlyn (Randal L. Schwartz) 22:26 on 31 Dec 2004

can't locate Apache/Build.pm
Randy Kobes 21:23 on 05 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 17:43 on 06 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 22:13 on 06 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 23:42 on 06 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 22:49 on 07 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 23:07 on 07 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 02:32 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 06:28 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 15:28 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 00:36 on 09 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 22:00 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Geoffrey Young 23:12 on 07 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 06:43 on 08 Jan 2005

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52