OK :)
full output of perl -wle:
strict version 9999 required--this is only version 1.03 at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
full output of perl -V is attached (I hope the mailing list will be OK
with that)
Karel
On Sat, Jun 13, 2009 at 10:03 AM, Michael G Schwern<[email protected]> wrote:
> running wrote:
>> It is quite possible. I have the perl that came pre-installed with
>> OSX, that is: Summary of my perl5 (revision 5 version 8 subversion 8)
>>
>> I have found the "hard-code" fix with my problem - in the file
>> "prereq.t", instead of
>>
>> sprintf("Warning: prerequisite strict 99999 not found. We have %s.\n",
>> strict->VERSION);
>>
>> that originally was there, and generates:
>> Warning: prerequisite strict 99999 not found. We have 1.030.
>>
>> I wrote directly
>>
>> sprintf("Warning: prerequisite strict 99999 not found. We have 1.03.\n");
>>
>> The zero at the end seem to be the problem.
>
> *headdesk*
>
> The purpose of a test is to check if the program is working as expected. If
> you just change the test to match what happened then the test is pointless.
> What you did is like trying to put out a fire by turning off the smoke alarm.
>
> The test failure indicates there is a small problem with your perl. Its very
> minor. perl is for some reason sticking an extra 0 on version numbers. It
> should not be doing that and I'd like to figure out why.
>
> Once again, please run this program and send in the output:
>
> perl -wle 'use strict 9999;'
>
> and please send me the FULL OUTPUT of "perl -V". That's capital V.
>
> Then we can figure out what's gone wrong.
>
>
> --
> There will be snacks.
>
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level
uname='darwin b02.apple.com 9.0 darwin kernel version 9.3.0: tue aug 12
17:18:07 pdt 2008; root:xnu-1228.5.90~13release_i386 i386 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=
-Dman3ext=3pm -Duseithreads -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-arch ppc -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement
-I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -arch ppc -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement
-I/usr/local/include'
ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc -mmacosx-version-min=10.5.7', ldflags ='-arch ppc -arch i386
-L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch ppc -arch i386 -bundle -undefined
dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches:
fix for regcomp CVE-2007-5116 security vulnerability
fix for double-free CVE-2008-1927 security vulnerability
/Library/Perl/Updates/<version> comes before system perl directories
installprivlib and installarchlib points to the Updates directory
Built under darwin
Compiled at Mar 11 2009 16:09:08
%ENV:
PERL5LIB="/tectomt/share/installed_libs/lib/perl5:/tectomt/share/installed_libs/lib/perl5/darwin-thread-multi-2level:/tectomt/libs/core:/tectomt/libs/blocks:/tectomt/libs/other:/tectomt/share/tred/tredlib:/tectomt/share/tred/tredlib/libs/fslib:/tectomt/share/tred/tredlib/libs/pml-base:/tectomt/share/tred/tredlib/libs/backends:"
PERLLIB="/tectomt/share/installed_libs/lib/perl5:/tectomt/share/installed_libs/lib/perl5/darwin-thread-multi-2level:/tectomt/libs/core:/tectomt/libs/blocks:/tectomt/libs/other:/tectomt/share/tred/tredlib:/tectomt/share/tred/tredlib/libs/fslib:/tectomt/share/tred/tredlib/libs/pml-base:/tectomt/share/tred/tredlib/libs/backends:"
@INC:
/tectomt/share/installed_libs/lib/perl5/darwin-thread-multi-2level
/tectomt/share/installed_libs/lib/perl5
/tectomt/share/installed_libs/lib/perl5/darwin-thread-multi-2level
/tectomt/libs/core
/tectomt/libs/blocks
/tectomt/libs/other
/tectomt/share/tred/tredlib
/tectomt/share/tred/tredlib/libs/fslib
/tectomt/share/tred/tredlib/libs/pml-base
/tectomt/share/tred/tredlib/libs/backends
/Library/Perl/Updates/5.8.8/darwin-thread-multi-2level
/Library/Perl/Updates/5.8.8
/System/Library/Perl/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/5.8.8
/Library/Perl/5.8.8/darwin-thread-multi-2level
/Library/Perl/5.8.8
/Library/Perl
/Network/Library/Perl/5.8.8/darwin-thread-multi-2level
/Network/Library/Perl/5.8.8
/Network/Library/Perl
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.8
/Library/Perl/5.8.6
/Library/Perl/5.8.1
.