Hmmm... 2.4 runs clean, but it did take some time to come up with
a Perl environment that didn't barf... Mostly, I had to use a really old
Perl. Here it is:
/opt/perl5/bin/perl -V
Summary of my perl5 (revision 5 version 20 subversion 3) configuration:
Platform:
osname=darwin, osvers=16.6.0, archname=darwin-2level-multi
uname='darwin jimsys.local 16.6.0 darwin kernel version 16.6.0: fri apr 14
16:21:16 pdt 2017; root:xnu-3789.60.24~6release_x86_64 x86_64 '
config_args='-des -Dprefix=/opt/perl5 config.sh'
hint=previous, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -I/opt/local/include',
optimize='-O3',
cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -I/opt/local/include -fno-common
-DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-I/opt/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple LLVM 8.1.0
(clang-802.0.42)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/lib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
/usr/lib /opt/local/lib /usr/local/lib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/lib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
/usr/lib
libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-lpthread -ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under darwin
Compiled at Jul 6 2017 13:25:29
%ENV:
PERL5LIB="/Users/jim/perl5/lib/perl5"
PERL_LOCAL_LIB_ROOT="/Users/jim/perl5"
PERL_MB_OPT="--install_base "/Users/jim/perl5""
PERL_MM_OPT="INSTALL_BASE=/Users/jim/perl5"
@INC:
/Users/jim/perl5/lib/perl5/darwin-2level-multi
/Users/jim/perl5/lib/perl5
/opt/perl5/lib/site_perl/5.20.3/darwin-2level
/opt/perl5/lib/site_perl/5.20.3
/opt/perl5/lib/5.20.3/darwin-2level
/opt/perl5/lib/5.20.3
.