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


---
osname= freebsd
osvers= 5.5-release-p11
arch=   i386-freebsd-64int
cc=     cc
---
Flags:
    category=install
    severity=medium
    ack=no
---
Hello

I found parrot installer still hanging under FreeBSD (at least FreeBSD 5.5).
Its's probably because OS name isn't properly separated.

I found this change useful:

--- config/auto/m4.pm.bak       Wed Jan 16 11:57:13 2008
+++ config/auto/m4.pm   Wed Jan 16 11:57:30 2008
@@ -39,7 +39,7 @@
     print "\n" if $verbose;

     my $archname = $conf->data->get_p5('archname');
-    my ( $cpuarch, $osname ) = split m/-/, $archname, 2;
+    my ( $cpuarch, $osname ) = split m/-/, $archname, 3;
     if ( !defined $osname ) {
         ( $osname, $cpuarch ) = ( $cpuarch, "" );
     }

This was enough and the test was passed.

Regards, Bruno

---
Summary of my parrot 0.5.2 (r24906) configuration:
  configdate='Wed Jan 16 10:58:04 2008 GMT'
  Platform:
    osname=freebsd, archname=i386-freebsd-64int
    jitcapable=1, jitarchname=i386-freebsd,
    jitosname=FREEBSD, jitcpuarch=i386
    execcapable=1
    perl=perl
  Compiler:
    cc='cc', ccflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H  -pipe -I/usr/local/include
-DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_FORMAT
 -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL
-DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED
-falign-functions=16 -mno-accumulate-outgoing-args -W -Wall
-Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual
-Wchar-subscripts -Wcomment -Wdisabled-optimization
-Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit
-Wimplicit-function-declaration -Wimplicit-int -Wimport -Winline
-Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wno-endif-labels -Wno-shadow -Wno-unused -Wnonnull
-Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point
-Wsign-compare -Wstrict-aliasing -Wswitch -Wswitch-default -Wtrigraphs
-Wundef -Wunknown-pragmas -Wwrite-strings',
  Linker and Libraries:
    ld='cc', ldflags=' -Wl,-E -L/usr/local/lib',
    cc_ldflags='',
    libs='-lm -lcrypt -lutil -pthread -lreadline'
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared  -L/usr/local/lib',
    load_ext='.so', ld_load_flags='-shared  -L/usr/local/lib'
  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/bruno
    LANG =pl_PL.ISO8859-2
    LANGUAGE  (unset)
    LC_ALL =pl_PL.ISO8859-2
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH 
=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/bruno/bin
    SHELL =/bin/tcsh

Reply via email to