On Thu, Mar 31, 2005 at 07:29:51PM -0500, Christopher H. Laco wrote:
Any ideas?
Chris,
I've seen this happen before. Please post your entire Build.PL script. Even better, take Ken's bug-reporting skeleton[1] and create a reproducible example that we can try.
William
[1] http://perl.apache.org/docs/general/testing/testing.html#References
Ok, here's what I've got. I downloaded the MP1 skeleton and extracted:
perl Makefile.PL nmake nmake test
Passes all tests pass and it uses my apache.exe from TestConfigData.
--------
Delete directory. Reextract skeleton. Now, I add a simple Build.PL file (See attached: Build.PL.basic)
perl Build.PL perl Build perl Build test
Passes all tests pass and it uses my apache.exe from TestConfigData.
--------
Delete directory. Reextract skeleton. Now, I add s simple Build.PL with a call to generate_script('t/SMOKE') (See attached: Build.PL.smoke) and I add SMOKE.PL to t/
perl Build.PL perl Build perl Build test
Endless loop asking for location of Apache.exe.
[warning] running with new config opts: -httpd C:\Development\Apache584\Apache.exe C:\Development\Perl\584\bin\perl.exe -I C:\Apache-Test-skeleton-mp1\blib\lib -I C:\Apache-Test-skeleton-mp1\blib\arch t\SMOKE -bugreport -ve rbose=0 '-httpd' is not recognized as an internal or external command, operable program or batch file.
We are now going to configure the Apache-Test framework. This configuration process needs to be done only once.
--------
Delete directory. Reextract skeleton. Repeat with Build.PL with generate_script for t/TEST and t/SMOKE, adding TEST.PL and SMOKE.PL in t/.
Same results. Endless loop.
---------
Now, I know that in the MB version, you don't need to generate t/TEST, it's done automatically. But since the old MakeMaker way had both, I left them both in my conversion to M::B
Hopefully this helps. This is under win32 (XP Pro), perl 5.8.4, A::T 1.21, and M::B 0.2609
-=Chris
[This is a resend. This lists' postfix won't take attachments? (.zip)...]
Build.PL.basic -- use Module::Build; my $build_pkg = eval { require Apache::TestMB } ? 'Apache::TestMB' : 'Module::Build';
my $build = $build_pkg->new( module_name => 'Apache::Handler' ); $build->create_build_script;
Build.PL.smoke -- use Module::Build; my $build_pkg = eval { require Apache::TestMB } ? 'Apache::TestMB' : 'Module::Build';
my $build = $build_pkg->new( module_name => 'Apache::Handler' ); $build->generate_script('t/SMOKE'); $build->create_build_script;
Build.PL.all -- use Module::Build; my $build_pkg = eval { require Apache::TestMB } ? 'Apache::TestMB' : 'Module::Build';
my $build = $build_pkg->new( module_name => 'Apache::Handler' ); $build->generate_script('t/TEST'); $build->generate_script('t/SMOKE'); $build->create_build_script;
TEST.PL -- use strict; use warnings FATAL => 'all'; use lib qw(lib); use Apache::TestRunPerl (); Apache::TestRunPerl->new->run(@ARGV);
SMOKE.PL -- use strict; use warnings FATAL => 'all'; use lib qw(lib); use Apache::TestSmoke (); Apache::TestSmoke->new(@ARGV)->run;
smime.p7s
Description: S/MIME Cryptographic Signature