Re: [Module::Build] ./Build on Win98
Status: Beta
Brought to you by:
kwilliams
|
From: Dr B. <la...@ms...> - 2006-02-22 00:22:18
|
On Tue, 21 Feb 2006, Randy W. Sims wrote:
> Could you try it again with the commands
> perl Build.PL
$ perl Build.PL
Checking whether your kit is complete...
WARNING: the following files are missing in your kit:
t/bundled/Test/Builder.pm
t/bundled/Test/More.pm
t/bundled/Test/Simple.pm
Please inform the author.
Checking prerequisites...
* Optional prerequisite Pod::Readme is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Checking features:
manpage_support....enabled
YAML_support.......enabled
C_support..........disabled
- ExtUtils::CBuilder is not installed
* Optional prerequisite ExtUtils::ParseXS is not installed
HTML_support.......enabled
Creating new 'Build' script for 'Module-Build' version '0.27_07'
$
> Build realclean
$ Build realclean
Deleting _build
Deleting Build
$ ls
Build.PL Changes MANIFEST.SKIP README doc_check.pl patches website
Build.bat INSTALL META.yml TODO inc scripts
CVS MANIFEST Makefile.PL configs lib t
$
That was with a cygwin bash shell. From a command.com shell, perl Build.PL
has teh same messages. Build realclean outputs:
C:\cpanplus\5.8.2\build\Module-Build>Build realclean
Deleting _build
Deleting Build
!!!!!DELETING SELF!!!!!
C:\cpanplus\5.8.2\build\Module-Build>
C:\cpanplus\5.8.2\build\Module-Build>ls
Build.PL INSTALL META.yml TODO inc scripts
CVS MANIFEST Makefile.PL configs lib t
Changes MANIFEST.SKIP README doc_check.pl patches website
So it looks like it's OK on Win98.
Build test hangs at the same point with the command.com shell as
in my last message.
In the bash one, it hangs in t/install.t. Here is the tail of output:
t\compat..........ok 20/60 * ERROR: Configuration was initially created with Mod
ule::Build version '0.2611',
but we are now using version '0.2707'. Please re-run the Build.PL or Makefil
e.PL script.
DMAKE.EXE: Error code 9, while making 'realclean'
# Failed test (t\compat.t at line 185)
t\compat..........ok 47/60 * ERROR: Configuration was initially created with Mod
ule::Build version '0.2611',
but we are now using version '0.2707'. Please re-run the Build.PL or Makefil
e.PL script.
# Looks like you planned 60 tests but only ran 47.
t\compat..........dubious
Test returned status 23 (wstat 5888, 0x1700)
DIED. FAILED tests 5-8, 11, 15-18, 21, 48-60
Failed 23/60 tests, 61.67% okay
t\destinations....Warning: Removing existing directory 'C:\cpanplus\5.8.2\build\
Module-Build\t\_tmp\Simple'
Could not find 'pl2bat.bat' utility needed to make scripts executable.
Unable to convert scripts ( Build ) to executables.
t\destinations....ok
8/92 skipped: various reasons
t\ext.............ok
t\extend..........ok
t\files...........ok
t\install.........ok 21/34
> start /? > help.txt
> command /? >> help.txt
The messages are NLS ones.
> Also, the last line of Build.bat should say something like:
> start /min "%comspec%" /c del "Build.bat"
I can't see anything like that in Build.bat.
It's just wrapping Build apparently, at the start:
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl -x -S %0 %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl
@rem ';
#!perl
#line 15
use strict;
and at the end:
# This should have just enough arguments to be able to bootstrap the rest.
my $build = ModuleBuildBuilder->resume (
properties => {
config_dir => '_build',
orig_dir => $orig_dir,
},
);
$build->dispatch;
__END__
:endofperl
Nonetheless, Build realcean is deleting it.
> This is the command we're trying to execute. It seems to have different
> syntax on different versions of Windows.
I can see the NT sytax in Build.bat, but not the Win98.
--
Dr Bean The best jokes are
those you play on
yourself.
|