0.2808_04 will not install in Strawberry Perl 5.10.0.2...
[email protected] ("Curtis Jewell")
| Newsgroups | perl.module.build |
|---|---|
| Message-ID | <[email protected]> |
ok, I have a few weird things installed... but other modules install, so
I'm puzzled.
The installed version of Module::Build is 0.2808_01, and as I mentioned
in the title, I've installed Strawberry Perl 5.10.0.2 off their website
a few days ago. Operating system is WinXP SP3.
Anything else you need, please ask.
Here's what I'm doing, maybe it will help.
(start CPANPLUS, etcetera...)
CPAN Terminal> i
http://search.cpan.org/CPAN/authors/id/E/EW/EWILHELM/Module-Bui
ld-0.2808_04.tar.gz
Installing Module::Build (0.2808_04)
Running [C:\strawberry\perl\bin\perl.exe
C:\strawberry\perl\bin\cpanp-run-perl.b
at
C:\DOCUME~1\Curtis\APPLIC~1\CPANPL~1\510~1.0\build\Module-Build-0.2808_04\Mak
efile.PL ]...
# running Build.PL
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
Can't locate the perl binary used to run this script in
(C:\strawberry\perl\bin
C:\strawberry\perl\bin C:\strawberry\perl\bin . .....)
[ERROR] Could not run 'C:\strawberry\perl\bin\perl.exe Makefile.PL': --
cannot
continue
[ERROR] Unable to create a new distribution object for 'Module::Build'
-- cannot
continue
*** Install log written to:
C:\Documents and Settings\Curtis\Application
Data\.cpanplus\install-logs\Modul
e-Build-0.2808_04-1221498410.log
Error installing 'Module::Build'
Problem installing one or more modules
*** You can view the complete error buffer by pressing 'p' ***
(OK, so I go into a command prompt into the extracted directory and do
perl -d Build.PL, trying to get to the first error...)
DB<1> c 152
Module::Build::Base::_construct(lib/Module/Build/Base.pm:152):
152: $p->{perl} = $self->find_perl_interpreter
153: or $self->log_warn("Warning: Can't locate your perl
binary");
DB<2> s
Module::Build::Base::find_perl_interpreter(lib/Module/Build/Base.pm:395):
395: my $self = shift;
...
DB<2> n
Module::Build::Base::_discover_perl_interpreter(lib/Module/Build/Base.pm:416):
416: my $perl = $^X;
DB<2> n
Module::Build::Base::_discover_perl_interpreter(lib/Module/Build/Base.pm:417):
417: my $perl_basename = File::Basename::basename($perl);
DB<2> p $perl
C:\strawberry\perl\bin\perl.exe
...
DB<7> n
Module::Build::Base::_backticks(lib/Module/Build/Base.pm:364):
364: return `$cmd`;
DB<7> p $cmd
'C:\strawberry\perl\bin\perl.exe' -MConfig=myconfig -e print -e myconfig
(At this point, the first parameter needs to be double-quoted, not
single quoted, and that's when we hit this error.)
DB<8> n
The filename, directory name, or volume label syntax is incorrect.
so I go back in and do this:
...
DB<4> n
Module::Build::Base::_quote_args(lib/Module/Build/Base.pm:344):
344: push @quoted, qq('$_');
DB<4> p $_
C:\strawberry\perl\bin\perl.exe
DB<5> n
Module::Build::Base::_quote_args(lib/Module/Build/Base.pm:337):
337: if ( /^[^\s*?!\$<>;\\|'"\[\]\{\}]+$/ ) {
DB<5> p $quoted[0]
'C:\strawberry\perl\bin\perl.exe'
DB<6> $quoted[0] = '"C:\strawberry\perl\bin\perl.exe"'
DB<7> p $quoted[0]
"C:\strawberry\perl\bin\perl.exe"
Line 344 is causing it, does this help? I was able to force the
installation in the debugger (of course, bunches of tests fail) but
figure you should know.
--Curtis Jewell
--
Curtis Jewell
[email protected]
%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears
[I use PC-Alpine, which deliberately does not display colors and pictures in HTML mail]