Subject: | IO version 1.24 doesn't install on Perl 5.10 on Mac OS X |
Date: | Tue, 12 May 2009 20:32:41 +0100 |
To: | bug-IO [...] rt.cpan.org |
From: | Tony Walton <tonywalton [...] btconnect.com> |
I'm attempting to install IO 1.24 on Perl 5.10.0 - this is failing.
Details below:
$ /usr/local/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for IO
$ make test
cp lib/IO/Pipe.pm blib/lib/IO/Pipe.pm
cp lib/IO/File.pm blib/lib/IO/File.pm
cp lib/IO/Select.pm blib/lib/IO/Select.pm
cp lib/IO/Socket/INET.pm blib/lib/IO/Socket/INET.pm
cp lib/IO/Socket.pm blib/lib/IO/Socket.pm
cp lib/IO/Socket/UNIX.pm blib/lib/IO/Socket/UNIX.pm
cp lib/IO/Poll.pm blib/lib/IO/Poll.pm
cp lib/IO/Dir.pm blib/lib/IO/Dir.pm
cp lib/IO/Handle.pm blib/lib/IO/Handle.pm
cp lib/IO/Seekable.pm blib/lib/IO/Seekable.pm
cp IO.pm blib/lib/IO.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp -
typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap IO.xs > IO.xsc
&& mv IO.xsc IO.c
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-
aliasing -pipe -I/usr/local/include -O3 -DVERSION=\"1.24\" -
DXS_VERSION=\"1.24\" "-I/usr/local/lib/perl5/5.10.0/darwin-thread-
multi-2level/CORE" IO.c
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-
aliasing -pipe -I/usr/local/include -O3 -DVERSION=\"1.24\" -
DXS_VERSION=\"1.24\" "-I/usr/local/lib/perl5/5.10.0/darwin-thread-
multi-2level/CORE" poll.c
Running Mkbootstrap for IO ()
chmod 644 IO.bs
rm -f blib/arch/auto/IO/IO.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib IO.o poll.o -o blib/arch/auto/IO/
IO.bundle \
\
chmod 755 blib/arch/auto/IO/IO.bundle
cp IO.bs blib/arch/auto/IO/IO.bs
chmod 644 blib/arch/auto/IO/IO.bs
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/IO.t ............. ok
t/io_const.t ....... ok
t/io_dir.t ......... 1/10 rewinddir() attempted on invalid dirhandle
GEN0 at /Users/tonyw/Desktop/IO-1.24/blib/lib/IO/Dir.pm line 85.
readdir() attempted on invalid dirhandle GEN0 at /Users/tonyw/Desktop/
IO-1.24/blib/lib/IO/Dir.pm line 67.
t/io_dir.t ......... ok
t/io_dup.t ......... ok
t/io_file.t ........ ok
t/io_linenum.t ..... ok
t/io_multihomed.t .. ok
t/io_pipe.t ........ ok
t/io_poll.t ........ ok
t/io_sel.t ......... ok
t/io_sock.t ........ ok
t/io_taint.t ....... No subtests run
t/io_tell.t ........ ok
t/io_udp.t ......... ok
t/io_unix.t ........ ok
t/io_utf8.t ........ ok
t/io_xs.t .......... ok
Test Summary Report
-------------------
t/io_taint.t (Wstat: 10 Tests: 0 Failed: 0)
Non-zero wait status: 10
Parse errors: No plan found in TAP output
Files=17, Tests=169, 23 wallclock secs ( 0.11 usr 0.09 sys + 0.63
cusr 0.26 csys = 1.09 CPU)
Result: FAIL
Failed 1/17 test programs. 0/169 subtests failed.
make: *** [test_dynamic] Error 255
Perl version:
$ /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=darwin, osvers=8.11.1, archname=darwin-thread-multi-2level
uname='darwin tony-waltons-macbook.local 8.11.1 darwin kernel
version 8.11.1: wed oct 10 18:23:28 pdt 2007;
root:xnu-792.25.20~1release_i386 i386 i386 '
config_args=''
hint=previous, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -
fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-
precomp -fno-strict-aliasing -pipe -I/usr/local/include -fno-common -
DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/
include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build
5370)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/
local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, 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'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_ITHREADS
USE_LARGE_FILES USE_PERLIO
Built under darwin
Compiled at May 11 2009 17:45:03
@INC:
/usr/local/lib/perl5/5.10.0/darwin-thread-multi-2level
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/darwin-thread-multi-2level
/usr/local/lib/perl5/site_perl/5.10.0
.
OS version
$ uname -a
Darwin Tony-Waltons-MacBook.local 8.11.1 Darwin Kernel Version
8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/
RELEASE_I386 i386 i386
This is on a MacBook, 1GB RAM, 2GHz Intel Core 2 Duo CPU
The error looks similar to bugs 3861762 and 3861860 both of which, I
see, relate to installation failure under Perl 5.10.0
Please let me know if you would like any more information.
Regards
Tony Walton