develooper Front page | perl.macosx | Postings from July 2006

Term::Shell installation problem

From:
Alex Robinson
Date:
July 18, 2006 01:27
Subject:
Term::Shell installation problem
Message ID:
p0623094bc0e1b7f05bc2@[192.168.6.20]
Term::Shell won't install for me.

The two villains in the piece appear to be Term::ReadLine::Perl and 
Term::ReadKey both of which installed passing all tests.

MacBook running 10.4.6 - full details below.


........


   CPAN.pm: Going to build N/NE/NEILW/Term-Shell-0.01.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Term::Shell
cp lib/Term/Shell.pod blib/lib/Term/Shell.pod
cp Shell.pm blib/lib/Term/Shell.pm
Manifying blib/man3/Term::Shell.3pm
   /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01require....ok 1/2Unable to get Terminal Size. The TIOCGWINSZ 
ioctl didn't work. The COLUMNS and LINES environment variables didn't 
work. The resize program didn't work. at 
/Library/Perl/5.8.6/darwin-thread-multi-2level/Term/ReadKey.pm line 
362.
Compilation failed in require at 
/Library/Perl/5.8.6/Term/ReadLine/Perl.pm line 63.
t/01require....dubious
         Test returned status 127 (wstat 32512, 0x7f00)
DIED. FAILED test 2
         Failed 1/2 tests, 50.00% okay
t/02default....Unable to get Terminal Size. The TIOCGWINSZ ioctl 
didn't work. The COLUMNS and LINES environment variables didn't work. 
The resize program didn't work. at 
/Library/Perl/5.8.6/darwin-thread-multi-2level/Term/ReadKey.pm line 
362.
Compilation failed in require at 
/Library/Perl/5.8.6/Term/ReadLine/Perl.pm line 63.
t/02default....dubious
         Test returned status 127 (wstat 32512, 0x7f00)
DIED. FAILED tests 1-12
         Failed 12/12 tests, 0.00% okay
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01require.t  127 32512     2    2 100.00%  2
t/02default.t  127 32512    12   24 200.00%  1-12
Failed 2/2 test scripts, 0.00% okay. 13/14 subtests failed, 7.14% okay.
make: *** [test_dynamic] Error 2
   /usr/bin/make test -- NOT OK
Running make install
   make test had returned bad status, won't install without force
Failed during this command:
   NEILW/Term-Shell-0.01.tar.gz                 : make_test NO


............


Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
   Platform:
     osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level
     uname='darwin b01.apple.com 8.0 darwin kernel version 8.0.0: tue 
nov 15 13:23:51 pst 2005; root:xnu-792.99.1.obj~6release_ppc power 
macintosh powerpc '
     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=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-g -pipe -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include',
     optimize='-O3',
     cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
     ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 
5250)', 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=true, libperl=libperl.dylib
     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 USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT
   Locally applied patches:
         23953 - fix for File::Path::rmtree CAN-2004-0452 security issue
         33990 - fix for setuid perl security issues
   Built under darwin
   Compiled at Jan 13 2006 11:59:39
   @INC:
     /System/Library/Perl/5.8.6/darwin-thread-multi-2level
     /System/Library/Perl/5.8.6
     /Library/Perl/5.8.6/darwin-thread-multi-2level
     /Library/Perl/5.8.6
     /Library/Perl
     /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
     /Network/Library/Perl/5.8.6
     /Network/Library/Perl
     /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
     /System/Library/Perl/Extras/5.8.6
     /Library/Perl/5.8.1/darwin-thread-multi-2level
     /Library/Perl/5.8.1



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About