1834387 Members
2537 Online
110066 Solutions
New Discussion

Perl Debug Build

 
Almond Desailly
Occasional Contributor

Perl Debug Build

Hi all,
I want to build perl in debug mode. My intention is to put a perl script under gdb. But when I build perl in debug mode, I encounter some errors. Some of the tests are failing:

1. weak.t
Error:
------

Weak references are not implemented in the version of perl at ../
+ext/Storable/t/weak.t line 28
BEGIN failed--compilation aborted at ../ext/Storable/t/weak.t line 33.

2. DB.t
Error:
------
"-T" is on the #! line, it must also be used on the command line at ..
+/lib/DB.t line 1.

3. threads.t

Now, some FAQs:
What version(s) of Perl do you have on that machine? -5.8.8
Which version are you trying to build with debug support? 5.8.8
What were the configure options you used (post output of perl -V)?

$ ./perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-thread-multi
uname='hp-ux myserver b.11.23 u ia64 0356346628 unlimited-user lic
+ense '
config_args='-Dmksymlinks -DEBUGGING=both -ders -Dcc=cc -Dusethrea
+ds -Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloc
+libpth= -Dsh=/usr/bin/sh -Dd_attribut=undef -Dd_attribute_warn_unused
+_result=undef -Dd_u32align=define -Aprepend:libswanted=cl -Dvendorpr
+efix=/opt/perl_32 -Accflags=+DSitanium2 -Doptimize=-g -Accflags=+Z -A
+ccflags=-DUSE_SITECUSTOMIZE -Duselargefiles -Accflags=-DNO_HASH_SEED
+-Dprefix=/opt/perl_32 -Dinc_version_list=5.8.7/$archname 5.8.7 5.8.6/
+$archname 5.8.6 5.8.4/$archname 5.8.4 5.8.3/$archname 5.8.3 5.8.2/$ar
+chname 5.8.2 5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0 -Dsed=/usr/b
+in/sed -Duseshrplib -Dconfig_heavy=Config_dynamic.pl -Dlibpth=/usr/li
+b/hpux32 -Dperladmin=abc@pqr.com -Dcf_email=abc@pqr.com -Dcf_by=Almon
+d'

Any unusual messages/errors during configuring/building? No
Which platform are you on? hp-ux 11.23 IA machine