Hello all! I'm having a heck of a time getting PPM to work so I can install a package
(DBI). But when I launch PPM from a freshly-installed Perl installation (from the
file ActivePerl-5.6.1.633-MSWin32-x86.msi), I can't get past these errors:
C:\Perl>ppm
[Wed Nov 6 13:13:38 2002] (eval 1): Array found where operator expected at (eval 1)
line 1, at end of line
[Wed Nov 6 13:13:38 2002] (eval 1): (Do you need to predeclare Carp::longmess?)
[Wed Nov 6 13:13:38 2002] (eval 1): Array found where operator expected at (eval 1)
line 2, at end of line
[Wed Nov 6 13:13:38 2002] (eval 1): (Do you need to predeclare Carp::shortmess?)
[Wed Nov 6 13:13:38 2002] (eval 1): Array found where operator expected at (eval 1)
line 3, at end of line
[Wed Nov 6 13:13:38 2002] (eval 1): (Do you need to predeclare Carp::shortmess?)
[Wed Nov 6 13:13:38 2002] (eval 1): Array found where operator expected at (eval 1)
line 4, at end of line
[Wed Nov 6 13:13:38 2002] (eval 1): (Do you need to predeclare Carp::longmess?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 89, near "croak "Month '$month' out of range 0..11""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 90, near "croak "Day '$_[3]' out of range 1..31""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 91, near "croak "Hour '$_[2]' out of range 0..23""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 92, near "croak "Minute '$_[1]' out of range 0..59""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 93, near "croak "Second '$_[0]' out of range 0..59""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 100, near "croak "Can't handle date (""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 104, near "croak "Can't handle date (""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 110, near "croak "Can't handle date (""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 114, near "croak "Can't handle date (""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
[Wed Nov 6 13:13:38 2002] Local.pm: String found where operator expected at
C:/Perl/lib/Time/Local.pm line 121, near "croak "Can't handle date (""
[Wed Nov 6 13:13:38 2002] Local.pm: (Do you need to predeclare croak?)
Undefined subroutine &Carp::longmess called at C:/Perl/lib/Carp.pm line 297.
Perl seems to work fine on several little projects that I've built, I just can't seem
to use PPM out of the box.
For more specifics on my installed Perl, here's the output of "perl -V":
C:\Perl>perl -V
Summary of my perl5 (revision 5 version 6 subversion 1) 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=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -
DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READ
FIX',
optimize='-O1 -MD -DNDEBUG',
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='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:/Perl\lib\CORE"
-machine:x86'
libpth="C:\Perl\lib\CORE"
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 wsoc
k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comd
lg32.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=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"C:
/Perl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 633
Built under MSWin32
Compiled at Jun 17 2002 21:33:05
@INC:
C:/Perl/lib
C:/Perl/site/lib
.
C:\Perl>
Thanks for any clues! --Michael Regoli < mr at oah dot com >
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs