[Koha] failed to load Net::Z3950::ZOOM on ubuntu 'no.such.host' exists error

Andy andy+newsgroup at oaklandcatholic.org
Wed Jan 16 03:51:40 NZDT 2008


I'm trying to get Koha 2.2.9 running on Ubuntu server 7.10.  When I try and get
the ZOOM package in perl 
perl -MCPAN -e 'install "ZOOM"'

I get the following output

CPAN: Storable loaded ok
Going to read /home/andy/.cpan/Metadata
  Database was generated on Mon, 14 Jan 2008 11:37:46 GMT
Running install for module ZOOM
Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/home/andy/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz ok
Scanning cache /home/andy/.cpan/build for sizes
Net-Z3950-ZOOM-1.21/
Net-Z3950-ZOOM-1.21/samples/
Net-Z3950-ZOOM-1.21/samples/zoom/
Net-Z3950-ZOOM-1.21/samples/zoom/trivial-async.pl
Net-Z3950-ZOOM-1.21/samples/zoom/zdump.pl
Net-Z3950-ZOOM-1.21/samples/zoom/async.pl
Net-Z3950-ZOOM-1.21/samples/zoom/zoomscan.pl
Net-Z3950-ZOOM-1.21/samples/zoom/zhello.pl
Net-Z3950-ZOOM-1.21/samples/zoom/zoomtst1.pl
Net-Z3950-ZOOM-1.21/samples/zoom/zselect
Net-Z3950-ZOOM-1.21/samples/zoom/update.pl
Net-Z3950-ZOOM-1.21/samples/zoom/zoomtst3.pl
Net-Z3950-ZOOM-1.21/samples/README
Net-Z3950-ZOOM-1.21/samples/net-z3950/
Net-Z3950-ZOOM-1.21/samples/net-z3950/zoomtst1.pl
Net-Z3950-ZOOM-1.21/samples/records/
Net-Z3950-ZOOM-1.21/samples/records/esdd0006.grs
Net-Z3950-ZOOM-1.21/samples/ccl/
Net-Z3950-ZOOM-1.21/samples/ccl/default.bib
Net-Z3950-ZOOM-1.21/samples/cql/
Net-Z3950-ZOOM-1.21/samples/cql/pqf.properties
Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/
Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/async.pl
Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/zoomtst1.pl
Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/zoomtst3.pl
Net-Z3950-ZOOM-1.21/README
Net-Z3950-ZOOM-1.21/Changes
Net-Z3950-ZOOM-1.21/META.yml
Net-Z3950-ZOOM-1.21/MANIFEST
Net-Z3950-ZOOM-1.21/ZOOM.xs
Net-Z3950-ZOOM-1.21/MANIFEST.SKIP
Net-Z3950-ZOOM-1.21/Makefile.PL
Net-Z3950-ZOOM-1.21/t/
Net-Z3950-ZOOM-1.21/t/29-events.t
Net-Z3950-ZOOM-1.21/t/11-option-callback.t
Net-Z3950-ZOOM-1.21/t/15-scan.t
Net-Z3950-ZOOM-1.21/t/16-packages.t
Net-Z3950-ZOOM-1.21/t/13-resultset.t
Net-Z3950-ZOOM-1.21/t/24-sorting.t
Net-Z3950-ZOOM-1.21/t/17-logging.t
Net-Z3950-ZOOM-1.21/t/20-options.t
Net-Z3950-ZOOM-1.21/t/12-query.t
Net-Z3950-ZOOM-1.21/t/10-options.t
Net-Z3950-ZOOM-1.21/t/1-Net-Z3950-ZOOM.t
Net-Z3950-ZOOM-1.21/t/22-query.t
Net-Z3950-ZOOM-1.21/t/27-logging.t
Net-Z3950-ZOOM-1.21/t/25-scan.t
Net-Z3950-ZOOM-1.21/t/19-events.t
Net-Z3950-ZOOM-1.21/t/14-sorting.t
Net-Z3950-ZOOM-1.21/t/28-charset.t
Net-Z3950-ZOOM-1.21/t/23-resultset.t
Net-Z3950-ZOOM-1.21/t/26-packages.t
Net-Z3950-ZOOM-1.21/t/18-charset.t
Net-Z3950-ZOOM-1.21/t/2-ZOOM.t
Net-Z3950-ZOOM-1.21/t/21-option-callback.t
Net-Z3950-ZOOM-1.21/typemap
Net-Z3950-ZOOM-1.21/lib/
Net-Z3950-ZOOM-1.21/lib/ZOOM.pm
Net-Z3950-ZOOM-1.21/lib/ZOOM.pod
Net-Z3950-ZOOM-1.21/lib/Net/
Net-Z3950-ZOOM-1.21/lib/Net/Z3950/
Net-Z3950-ZOOM-1.21/lib/Net/Z3950/ZOOM.pm
Net-Z3950-ZOOM-1.21/lib/Net/Z3950.pm
Removing previously used /home/andy/.cpan/build/Net-Z3950-ZOOM-1.21

  CPAN.pm: Going to build M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Net::Z3950::ZOOM
cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm
cp lib/ZOOM.pm blib/lib/ZOOM.pm
cp lib/ZOOM.pod blib/lib/ZOOM.pod
cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp  -typemap
/usr/share/perl/5.8/ExtUtils/typemap -typemap typemap  ZOOM.xs > ZOOM.xsc && mv
ZOOM.xsc ZOOM.c
cc -c  -pthread -DYAZ_POSIX_THREADS=1 -DYAZ_HAVE_XML2=1 -DYAZ_HAVE_XSLT=1
-DYAZ_HAVE_EXSLT=1 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.21\"
-DXS_VERSION=\"1.21\" -fPIC "-I/usr/lib/perl/5.8/CORE"   ZOOM.c
Running Mkbootstrap for Net::Z3950::ZOOM ()
chmod 644 ZOOM.bs
rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
cc  -shared -L/usr/local/lib ZOOM.o  -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so  \
           -lyaz -lexslt -lxslt -lxml2 -lssl -lcrypto -lwrap -lpthread         \
          
chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
cp samples/zoom/zselect blib/script/zselect
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/zselect
Manifying blib/man3/Net::Z3950::ZOOM.3pm
Manifying blib/man3/ZOOM.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/1-Net-Z3950-ZOOM......ok 1/23                                              
#   Failed test 'connection to non-existent host 'no.such.host' fails'
#   at t/1-Net-Z3950-ZOOM.t line 22.
t/1-Net-Z3950-ZOOM......ok 5/23# Looks like you failed 1 test of 23.         
t/1-Net-Z3950-ZOOM......dubious                                              
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
        Failed 1/23 tests, 95.65% okay
t/10-options............ok                                                   
t/11-option-callback....ok                                                   
t/12-query..............ok                                                   
t/13-resultset..........ok                                                   
t/14-sorting............ok                                                   
t/15-scan...............ok                                                   
t/16-packages...........ok                                                   
t/17-logging............ok                                                   
t/18-charset............ok                                                   
t/19-events.............ok                                                   
t/2-ZOOM................ok 1/23                                              
#   Failed test 'connection to non-existent host 'no.such.host' fails'
#   at t/2-ZOOM.t line 20.
t/2-ZOOM................ok 5/23# Looks like you failed 1 test of 23.         
t/2-ZOOM................dubious                                              
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
        Failed 1/23 tests, 95.65% okay
t/20-options............ok                                                   
t/21-option-callback....ok                                                   
t/22-query..............ok                                                   
t/23-resultset..........ok                                                   
t/24-sorting............ok                                                   
t/25-scan...............ok                                                   
t/26-packages...........ok                                                   
t/27-logging............ok                                                   
t/28-charset............ok                                                   
t/29-events.............ok                                                   
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/1-Net-Z3950-ZOOM.t    1   256    23    1   4.35%  4
t/2-ZOOM.t              1   256    23    1   4.35%  4
Failed 2/22 test scripts, 90.91% okay. 2/714 subtests failed, 99.72% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force


How do I fix this?  From looking around it seems that there might be something
wrong with my version of YAZ, but I don't know what.  Or can I (and how do I)
force the installation?  Or would that break things further down the line?





More information about the Koha mailing list