I'm confused, the module Lexical::Util *is* mentioned in the Makefile.PL for
Object::Variables, and I'm successfully using it under Win2000 at work:
use 5.006;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Object::Variables',
VERSION_FROM => 'lib/Object/Variables.pm',
PREREQ_PM => {
'Lexical::Util' => '0.3',
'Tie::IxHash' => '1.21',
'Filter::Simple' => '0.78',
'Test::More' => '0.47',
},
ABSTRACT_FROM => 'lib/Object/Variables.pm',
AUTHOR => 'Kevin Michael Vail <[EMAIL PROTECTED]>',
);
Kevin, perplexed
On 7/26/04 1:32 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible. See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
>
> --
> This is an error report generated automatically by CPANPLUS,
> version 0.049.
>
> Below is the error stack during 'make test':
>
> C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
> 'blib\lib', 'blib\arch')" t\Object-Variables.t
> t\Object-Variables....dubious
> Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 1-26
> Failed 26/26 tests, 0.00% okay
> Failed Test Stat Wstat Total Fail Failed List of Failed
>
------------------------------------------------------------------------------>
-
> t\Object-Variables.t 2 512 26 52 200.00% 1-26
>
> Microsoft (R) Program Maintenance Utility Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>
> Can't locate Lexical/Util.pm in @INC (@INC contains: C:\Documents and
> Settings\Rob.MAGNETO-XP\Application
> Data\.cpanplus\5.8.4\build\Object-Variables-0.4\blib\lib C:\Documents and
> Settings\Rob.MAGNETO-XP\Application
> Data\.cpanplus\5.8.4\build\Object-Variables-0.4\blib\arch C:/Perl/lib
> C:/Perl/site/lib . C:/Perl/lib C:/Perl/site/lib .) at C:\Documents and
> Settings\Rob.MAGNETO-XP\Application
> Data\.cpanplus\5.8.4\build\Object-Variables-0.4\blib\lib/Object/Variables.pm
> line 18.
> BEGIN failed--compilation aborted at C:\Documents and
> Settings\Rob.MAGNETO-XP\Application
> Data\.cpanplus\5.8.4\build\Object-Variables-0.4\blib\lib/Object/Variables.pm
> line 18.
> Compilation failed in require at t\Object-Variables.t line 9.
> BEGIN failed--compilation aborted at t\Object-Variables.t line 9.
> Failed 1/1 test scripts, 0.00% okay. 26/26 subtests failed, 0.00% okay.
> NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
> Stop.
>
>
> Additional comments:
>
> Hello, Kevin Michael Vail! Thanks for uploading your works to CPAN.
>
> I noticed that the test suite seem to fail without these modules:
>
> Lexical::Util
>
> As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
> Makefile.PL should solve this problem. For example:
>
> WriteMakefile(
> AUTHOR => 'Kevin Michael Vail ([EMAIL PROTECTED])',
> ... # other information
> PREREQ_PM => {
> 'Lexical::Util' => '0', # or a minimum workable version
> }
> );
>
> If you are interested in making a more flexible Makefile.PL that can
> probe for missing dependencies and install them, ExtUtils::AutoInstall
> at <http://search.cpan.org/dist/ExtUtils-AutoInstall/> may be
> worth a look.
>
> Thanks! :-)
>
> ******************************** NOTE ********************************
> The comments above are created mechanically, possibly without manual
> checking by the sender. Also, because many people perform automatic
> tests on CPAN, chances are that you will receive identical messages
> about the same problem.
>
> If you believe that the message is mistaken, please reply to the first
> one with correction and/or additional information, and do not take
> it personally. We appreciate your patience. :)
> **********************************************************************
>
> --
>
> Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
> Platform:
> osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
> uname=''
> config_args='undef'
> hint=recommended, useposix=true, d_sigaction=undef
> usethreads=undef use5005threads=undef useithreads=define
> usemultiplicity=define
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
> -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT
> -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
> optimize='-MD -Zi -DNDEBUG -O1',
> cppflags='-DWIN32'
> ccversion='', gccversion='', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
> lseeksize=8
> alignbytes=8, prototype=define
> Linker and Libraries:
> ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
> -libpath:"C:\Perl\lib\CORE" -machine:x86'
> libpth=C:\PROGRA~1\MICROS~3\VC98\lib
> libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
> uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
> msvcrt.lib
> perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
> uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
> msvcrt.lib
> libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
> gnulibc_version='undef'
> Dynamic Linking:
> dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
> cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf
> -libpath:"C:\Perl\lib\CORE" -machine:x86'
--
Kevin Michael Vail | a billion stars go spinning through the night,
[EMAIL PROTECTED] | blazing high above your head.
. . . . . . . . . | But _in_ you is the presence that
. . . . . . . . | will be, when all the stars are dead.
. . . . . . . . . | (Rainer Maria Rilke)