# New Ticket Created by  James Keenan 
# Please include the string:  [perl #43375]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43375 >


---
osname= linux
osvers= 2.6.15
arch=   i386-linux-thread-multi
cc=     cc
---
Flags:
    category=core
    severity=low
    ack=no
---
In Parrot::Configure::Options, we can set a value for this option:

    exec-prefix
        
This option is processed during configuration by config/init/install.pm:

    my $eprefix = $conf->options->get('exec-prefix') || $prefix;

But when it comes to actually setting a key-value pair in the Parrot::Configure 
object, exec-hyphen-prefix becomes exec-underscore-prefix (as it would have to 
meet Perl5 rules for hash keys).

   $conf->data->set(
        prefix         => $prefix,
        exec_prefix    => $eprefix,
        ...

So in the interface we're using a hyphen, but internally we're using an 
underscore.  Is it too late in our development process to clear up this 
inconsistency?

It should be noted that there are 5 other options using hyphens:

    icu-config
    verbose-step
    without-gdbm
    without-gmp
    without-icu

... while there is only one option currently using underscores:

    parrot_is_shared
    
What's the best course of action?

kid51


---
Summary of my parrot 0.4.13 (r19304) configuration:
  configdate='Tue Jun 26 01:54:37 2007 GMT'
  Platform:
    osname=linux, archname=i686-linux
    jitcapable=1, jitarchname=i386-linux,
    jitosname=LINUX, jitcpuarch=i386
    execcapable=1
    perl=/usr/local/bin/perl
  Compiler:
    cc='cc', ccflags=' -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE',
  Linker and Libraries:
    ld='cc', ldflags=' -L/usr/local/lib',
    cc_ldflags='',
    libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt'
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
    load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=1 byteorder=1234, 
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME =/home/jimk
    LANG  (unset)
    LANGUAGE  (unset)
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH 
=/usr/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/mysql/bin:/home/jimk/bin:/home/jimk/bin/perl
    SHELL =/bin/bash

Reply via email to