Perl 5.8 - Debug
Brought to you by:
jguentherodt
I have upgraded my Perl from 5.6 to 5.8. If I try to debug
a script in Open Perl IDE, it displays the following error:
No DB::DB routine defined at c:/Perl/lib/Cwd.pm line 151.
BEGIN failed--compilation aborted at c:/Perl/lib/Cwd.pm
line 151.
Compilation failed in require at
D:\srikanth\download\openperl/perl5db.pl line 39.
BEGIN failed--compilation aborted at
D:\srikanth\download\openperl/perl5db.pl line 39.
Compilation failed in require.
BEGIN failed--compilation aborted.
Please help me to solve this.
Thanks
Srikanth
Logged In: YES
user_id=748111
I have the exact same problem, it will not even compile
HelloWorld. Additional info:
With a freshly installed Open Perl IDE 1.0, I load up the
HelloWorld.pl that comes in the distribution. I select Project-
>Compile, and I get the following error output:
No DB::DB routine defined at C:/Perl/lib/Cwd.pm line 151.
BEGIN failed--compilation aborted at C:/Perl/lib/Cwd.pm line
151.
Compilation failed in require at perl5db.pl line 39.
BEGIN failed--compilation aborted at perl5db.pl line 39.
Compilation failed in require.
BEGIN failed--compilation aborted.
My Perl is ActiveState 5.8, output of 'perl -V' below:
>perl -V
Summary of my perl5 (revision 5 version 8 subversion 0)
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 -DPERL_IMPLICIT_CONTEX
T -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:\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 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'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 805
Built under MSWin32
Compiled at Feb 4 2003 18:08:02
@INC:
C:/Perl/lib
C:/Perl/site/lib
Logged In: NO
Hi. I am facing the same problem. I am using IndigoPerl (perl 5.
8.0). When trying to compile HelloWorld.pl, it gives me the
error message:
No DB::DB routine defined at D:/indigoperl/perl/lib/Cwd.pm line
151.
BEGIN failed--compilation aborted at D:/indigoperl/perl/lib/Cwd.
pm line 151.
Compilation failed in require at perl5db.pl line 39.
BEGIN failed--compilation aborted at perl5db.pl line 39.
Compilation failed in require.
BEGIN failed--compilation aborted.
After that when I try to close the IDE, it remains in the
taskbar until I force it to close with the task manager.
Probably for the same reason I have no luck with debugging.
- mike