develooper Front page | perl.perl5.porters | Postings from November 2004

./configure -DDEBUGGING not working?

Thread Next
From:
Tels
Date:
November 28, 2004 06:31
Subject:
./configure -DDEBUGGING not working?
Message ID:
200411281508.33331@bloodgate.com
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

trying (for the first time) to compile a Perl with debugging for Devel::Leak:

./configure -Dusedevel -DDEBUGGING

results in the output below.

Do I need to do something special to get a debugging Perl? And where would I 
find out how? 

* ./configure --help provided not helpfull (it doesn't list what symbols are 
valid and what they do), 
 * looking for "DEBUGGING" in configure showed that it does something with it 
(whatever). 
* Couldn't find the right magic to google an answer for my problem.
* perldoc perldebug and perldoc perldebguts only talk about the debugger 
itself.

So far I am stuck, the resulting Perl is not recognized by Devel::Peak as a 
debugging Perl.

Best wishes,

Tels

linux:/home/te/src/debug # ./perl  -V
Summary of my perl5 (revision 5 version 9 subversion 2 patch 23558) 
configuration:
  Platform:
    osname=linux, osvers=2.6.5-7.111-default, archname=i686-linux
    uname='linux linux 2.6.5-7.111-default #1 wed oct 13 15:45:13 utc 2004 
i686 athlon i386 gnulinux '
    config_args='-Dusedevel -DDEBUGGING'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include 
- -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include 
- -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
- -D_FILE_OFFSET_BITS=64'
    ccversion='', gccversion='3.3.3 (SuSE Linux)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.3'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Locally applied patches:
        DEVEL22511
  Built under linux
  Compiled at Nov 28 2004 14:40:36
  @INC:
    /usr/local/lib/perl5/5.9.2/i686-linux
    /usr/local/lib/perl5/5.9.2
    /usr/local/lib/perl5/site_perl/5.9.2/i686-linux
    /usr/local/lib/perl5/site_perl/5.9.2
    /usr/local/lib/perl5/site_perl
    .

- -- 
 Signed on Sun Nov 28 15:07:46 2004 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Yeah. Whatever."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQEVAwUBQanbw3cLPEOTuEwVAQGw/Qf+PLLaaca5J4OWj62+5RiTWkIj6aCSfG8h
TXLeFZ6AHq5X+jb0Wmj2cVC91Ydb8CnYPUct0NwNApenxWAneooFfn4YJOKmPL65
p2buDAaCo7t+w+eGp7Sjk+WY/x8/Dd0dXrBNtlDrcqVPJzupfULgOFsUBGh3HfLq
12AfkwDobKzrbrxnXrSmA0hgz9ybd+dm+Wm2Z/WMD2ZPCYy/EUIUV72WdlqQxogh
68cv34wCc5JFHBYIjJBKyD7iaEAQBS1GGSnTpX0/P4NB0qd1tEdiSeUc0MkF5f9X
QpnSnpJYCxbC3fxannj/sVQeUD3ijgp1BJNFgCKxrQ9dEbhk0OXb4w==
=maXT
-----END PGP SIGNATURE-----

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About