looks like get the major OS version number is enough.

2006/12/8, via RT James Keenan <[EMAIL PROTECTED]>:
# New Ticket Created by  James Keenan
# Please include the string:  [perl #41055]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41055 >


While running 'perl Configure.pl' last night, I got the following
warning:

Loading platform and local hints files...Argument "8.8.0" isn't
numeric in numeric ge (>=) at config/init/hints/darwin.pm line 19.
.............................done.

Here is the offending code in config/init/hints/darwin.pm

     my $OSVers = `uname -r`;
     chomp $OSVers;
     {
         local $^W;
         if ($OSVers >= 7) {     # <---- line 19
             $libs =~ s/-ldl//;
         }
     }

Here is the output of 'uname -r'

[parrot] 522 $ uname -r
8.8.0

The old 3-level version number problem.  I know we've dealt with this in
Perl, so I assume someone can patch this for Parrot.

kid51


---
Summary of my parrot 0.4.7 (r16048) configuration:
   configdate='Thu Dec  7 21:06:30 2006'
   Platform:
     osname=darwin, archname=darwin-2level
     jitcapable=1, jitarchname=ppc-darwin,
     jitosname=DARWIN, jitcpuarch=ppc
     execcapable=1
     perl=perl
   Compiler:
     cc='cc', ccflags='-fno-common -no-cpp-precomp  -pipe -I/usr/
local/include -pipe -fno-common -Wno-long-double ',
   Linker and Libraries:
     ld='c++', ldflags=' -L/usr/local/lib -L/Users/jimk/work/parrot/
blib/lib -flat_namespace ',
     cc_ldflags='',
     libs='-lm -lgmp'
   Dynamic Linking:
     share_ext='.dylib', ld_share_flags='-dynamiclib -undefined
suppress',
     load_ext='.bundle', ld_load_flags='-bundle -undefined suppress'
   Types:
     iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
     ptrsize=4, ptr_alignment=1 byteorder=4321,
     nv=double, numvalsize=8, doublesize=8

---
Environment:
     DYLD_LIBRARY_PATH    HOME    LANG    LANGUAGE
LD_LIBRARY_PATH    LOGDIR    PATH    SHELL

---
osname= darwin
osvers= 8.0
arch=   darwin-thread-multi-2level
cc=     cc
---
Flags:
     category=install
     severity=low
     ack=no
---


Reply via email to