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

[perl #70912] -V does not escape whitespace in config_args

Thread Next
From:
Frank Wiegand
Date:
November 30, 2009 07:00
Subject:
[perl #70912] -V does not escape whitespace in config_args
Message ID:
rt-3.6.HEAD-12359-1259450573-436.70912-75-0@perl.org
# New Ticket Created by  Frank Wiegand 
# Please include the string:  [perl #70912]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=70912 >


This is a bug report for perl from frank.wiegand@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.11.2.


-----------------------------------------------------------------

I configured my perl (see below) with

  % sh Configure -de -Dusedevel -DDEBUGGING=both -Doptimize='-g' -Dcc=ccache\ gcc -Dld=gcc "-Dprefix=/opt/perl/perl-1259411222/" -Dmad

-V:config_args should give me this line after compiling perl:

  % perl5.11.2 -V:config_args
  config_args='-de -Dusedevel -DDEBUGGING=both -Doptimize=-g -Dcc=ccache gcc -Dld=gcc -Dprefix=/opt/perl/perl-1259411222/ -Dmad';

I can't find any documentation about config_args, but I expect it to
look like my original configure line, because there is a big difference
between C<-Dcc=ccache\ gcc> and C<-Dcc=ccache gcc>.


Frank
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl 5.11.2:

Configured by fw at Sat Nov 28 23:55:18 CET 2009.

Summary of my perl5 (revision 5 version 11 subversion 2) configuration:
  Commit id: 17c59fdf7540adaf656e96fe6d48b58dab391dc0
  Platform:
    osname=linux, osvers=2.6.30-2-amd64, archname=x86_64-linux
    uname='linux hal2 2.6.30-2-amd64 #1 smp fri sep 25 22:16:56 utc 2009 x86_64 gnulinux '
    config_args='-de -Dusedevel -DDEBUGGING=both -Doptimize=-g -Dcc=ccache gcc -Dld=gcc -Dprefix=/opt/perl/perl-1259411222/ -Dmad'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='ccache gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.3.4', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.10.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.10.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -g -L/usr/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.11.2:
    /opt/perl/perl-1259411222/lib/site_perl/5.11.2/x86_64-linux
    /opt/perl/perl-1259411222/lib/site_perl/5.11.2
    /opt/perl/perl-1259411222/lib/5.11.2/x86_64-linux
    /opt/perl/perl-1259411222/lib/5.11.2
    .

---
Environment for perl 5.11.2:
    HOME=/home/cpan
    LANG=C
    LANGUAGE=
    LC_ALL=C
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERL_AUTOINSTALL=--defaultdeps
    PERL_BADLANG (unset)
    PERL_EXTUTILS_AUTOINSTALL=--defaultdeps
    PERL_MM_USE_DEFAULT=1
    SHELL=/bin/bash



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