Google 그룹스는 더 이상 새로운 유즈넷 게시물 또는 구독을 지원하지 않습니다. 과거의 콘텐츠는 계속 볼 수 있습니다.

[perl #41055] [BUG]: 'Argument is not numeric' warning in Darwin configuration

조회수 10회
읽지 않은 첫 메시지로 건너뛰기

James Keenan

읽지 않음,
2006. 12. 8. 오전 6:55:2006. 12. 8.
받는사람 bugs-bi...@rt.perl.org
# 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
---

Lee Duhem

읽지 않음,
2006. 12. 11. 오전 4:00:4906. 12. 11.
받는사람 perl6-i...@perl.org
looks like get the major OS version number is enough.

2006/12/8, via RT James Keenan <parrotbug...@parrotcode.org>:

새 메시지 0개