[Koha] problem with perl -MCPAN -e 'install Net::Z3950'

Joe Atzberger ohiocore at gmail.com
Wed Sep 10 11:04:57 NZST 2008


Mohamed --

There is no real problem with your system.  This is a known issue because
Indexdata has moved their own servers that this module is attempting to
connect to for testing.  Maybe they will soon get them back up in their new
offices, or maybe they wont.

Just force the install of this module via cpan and proceed.

--Joe Atzberger

2008/9/9 Mohamed Fekry Negm <mfekry6 at hotmail.com>

>  hi to all
> i installed koha 3 on ubuntu 8 twice from 2 months and working very good
> ,now i'm try to install it with same steps ,when i install this module perl
> -MCPAN -e 'install Net::Z3950' give me this error .
>  perl -MCPAN -e 'install Net::Z3950'
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
>   Database was generated on Mon, 08 Sep 2008 16:02:53 GMT
> Running install for module Net::Z3950
> Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.24.tar.gz
> CPAN: Digest::MD5 loaded ok
> CPAN: Compress::Zlib loaded ok
> Checksum for
> /root/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.24.tar.gz ok
> Scanning cache /root/.cpan/build for sizes
> Net-Z3950-ZOOM-1.24/
> Net-Z3950-ZOOM-1.24/samples/
> Net-Z3950-ZOOM-1.24/samples/zoom/
> Net-Z3950-ZOOM-1.24/samples/zoom/trivial-async.pl
> Net-Z3950-ZOOM-1.24/samples/zoom/zdump.pl
> Net-Z3950-ZOOM-1.24/samples/zoom/async.pl
> Net-Z3950-ZOOM-1.24/samples/zoom/zoomscan.pl
> Net-Z3950-ZOOM-1.24/samples/zoom/zhello.pl
> Net-Z3950-ZOOM-1.24/samples/zoom/zoomtst1.pl
> Net-Z3950-ZOOM-1.24/samples/zoom/zselect
> Net-Z3950-ZOOM-1.24/samples/zoom/update.pl
> Net-Z3950-ZOOM-1.24/samples/zoom/zoomtst3.pl
> Net-Z3950-ZOOM-1.24/samples/README
> Net-Z3950-ZOOM-1.24/samples/net-z3950/
> Net-Z3950-ZOOM-1.24/samples/net-z3950/zoomtst1.pl
> Net-Z3950-ZOOM-1.24/samples/records/
> Net-Z3950-ZOOM-1.24/samples/records/esdd0006.grs
> Net-Z3950-ZOOM-1.24/samples/ccl/
> Net-Z3950-ZOOM-1.24/samples/ccl/default.bib
> Net-Z3950-ZOOM-1.24/samples/cql/
> Net-Z3950-ZOOM-1.24/samples/cql/pqf.properties
> Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/
> Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/async.pl
> Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/zoomtst1.pl
> Net-Z3950-ZOOM-1.24/samples/net-z3950-zoom/zoomtst3.pl
> Net-Z3950-ZOOM-1.24/README
> Net-Z3950-ZOOM-1.24/Changes
> Net-Z3950-ZOOM-1.24/META.yml
> Net-Z3950-ZOOM-1.24/MANIFEST
> Net-Z3950-ZOOM-1.24/ZOOM.xs
> Net-Z3950-ZOOM-1.24/MANIFEST.SKIP
> Net-Z3950-ZOOM-1.24/Makefile.PL
> Net-Z3950-ZOOM-1.24/t/
> Net-Z3950-ZOOM-1.24/t/29-events.t
> Net-Z3950-ZOOM-1.24/t/11-option-callback.t
> Net-Z3950-ZOOM-1.24/t/15-scan.t
> Net-Z3950-ZOOM-1.24/t/16-packages.t
> Net-Z3950-ZOOM-1.24/t/13-resultset.t
> Net-Z3950-ZOOM-1.24/t/24-sorting.t
> Net-Z3950-ZOOM-1.24/t/17-logging.t
> Net-Z3950-ZOOM-1.24/t/20-options.t
> Net-Z3950-ZOOM-1.24/t/12-query.t
> Net-Z3950-ZOOM-1.24/t/10-options.t
> Net-Z3950-ZOOM-1.24/t/1-Net-Z3950-ZOOM.t
> Net-Z3950-ZOOM-1.24/t/22-query.t
> Net-Z3950-ZOOM-1.24/t/27-logging.t
> Net-Z3950-ZOOM-1.24/t/25-scan.t
> Net-Z3950-ZOOM-1.24/t/19-events.t
> Net-Z3950-ZOOM-1.24/t/14-sorting.t
> Net-Z3950-ZOOM-1.24/t/28-charset.t
> Net-Z3950-ZOOM-1.24/t/23-resultset.t
> Net-Z3950-ZOOM-1.24/t/26-packages.t
> Net-Z3950-ZOOM-1.24/t/18-charset.t
> Net-Z3950-ZOOM-1.24/t/2-ZOOM.t
> Net-Z3950-ZOOM-1.24/t/21-option-callback.t
> Net-Z3950-ZOOM-1.24/typemap
> Net-Z3950-ZOOM-1.24/lib/
> Net-Z3950-ZOOM-1.24/lib/ZOOM.pm
> Net-Z3950-ZOOM-1.24/lib/ZOOM.pod
> Net-Z3950-ZOOM-1.24/lib/Net/
> Net-Z3950-ZOOM-1.24/lib/Net/Z3950/
> Net-Z3950-ZOOM-1.24/lib/Net/Z3950/ZOOM.pm
> Net-Z3950-ZOOM-1.24/lib/Net/Z3950.pm
> Removing previously used /root/.cpan/build/Net-Z3950-ZOOM-1.24
>
>   CPAN.pm: Going to build M/MI/MIRK/Net-Z3950-ZOOM-1.24.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.pod blib/lib/ZOOM.pod
> cp lib/ZOOM.pm blib/lib/ZOOM.pm
> 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 -I/usr/local/include
> -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.24\" -DXS_VERSION=\"1.24\" -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
> LD_RUN_PATH="/usr/local/lib" cc  -shared -L/usr/local/lib ZOOM.o  -o
> blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so     \
>        -L/usr/local/lib -lyaz -lexslt -lxslt -lxml2 -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
>
> 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
> 1/40
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/16-packages.t at line 88.
> t/16-packages...........ok
> 4/40
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/16-packages.t at line 88.
> t/16-packages...........ok
> 6/40
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/16-packages.t at line 88.
> t/16-packages...........ok
> 8/40
> #   Failed test 'database creation 'yaxwywvhoc''
> #   in t/16-packages.t at line 110.
> t/16-packages...........NOK
> 10
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/16-packages.t at line 88.
> t/16-packages...........NOK
> 13
> #   Failed test 'database 'yaxwywvhoc' can be searched'
> #   in t/16-packages.t at line 174.
> Use of uninitialized value in numeric eq (==) at t/16-packages.t line 178.
> t/16-packages...........NOK 14Use of uninitialized value in concatenation
> (.) or string at t/16-packages.t line 178.
> t/16-packages...........ok
> 15/40
> #   Failed test 'database creation 'yaxwywvhoc''
> #   in t/16-packages.t at line 110.
>
> #   Failed test 'database 'yaxwywvhoc' has 0 records (expected 1)'
> #   in t/16-packages.t at line 178.
>
> #   Failed test 'database 'yaxwywvhoc' has 0 records (expected 1)'
> #   in t/16-packages.t at line 178.
>
> t/16-packages...........NOK 24#   Failed test 'database 'yaxwywvhoc' has 0
> records (expected 2)'
> #   in t/16-packages.t at line 178.
>
> #   Failed test 'database drop 'yaxwywvhoc''
> t/16-packages...........NOK 29#   in t/16-packages.t at line
> 136.
> # Looks like you planned 40 tests but ran 1 extra.
> # Looks like you failed 11 tests of 41 run.
> t/16-packages...........dubious
>
>     Test returned status 11 (wstat 2816, 0xb00)
> DIED. FAILED tests 3, 5, 7, 10, 13-14, 24, 29, 33, 37, 40-41
>     Failed 12/40 tests, 70.00% okay
> t/17-logging............ok
>
> t/18-charset............ok
>
> t/19-events.............ok
>
> t/2-ZOOM................ok
>
> 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
> 1/40
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/26-packages.t at line 79.
> t/26-packages...........ok
> 4/40
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/26-packages.t at line 79.
> t/26-packages...........ok
> 6/40
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/26-packages.t at line 79.
>
> #   Failed test 'database creation 'nrqaxdepva''
> #   in t/26-packages.t at line 99.
> t/26-packages...........NOK
> 10
> #   Failed test 'connection to 'test.indexdata.com:2118' refused (10007)'
> #   in t/26-packages.t at line 79.
> t/26-packages...........NOK
> 13
> #   Failed test 'database 'nrqaxdepva' can be searched'
> #   in t/26-packages.t at line 159.
> t/26-packages...........NOK 14Use of uninitialized value in numeric eq (==)
> at t/26-packages.t line 164.
> Use of uninitialized value in concatenation (.) or string at
> t/26-packages.t line 164.
> t/26-packages...........ok
> 15/40
> #   Failed test 'database creation 'nrqaxdepva''
> #   in t/26-packages.t at line 99.
>
> #   Failed test 'database 'nrqaxdepva' has 0 records (expected 1)'
> #   in t/26-packages.t at line 164.
>
> #   Failed test 'database 'nrqaxdepva' has 0 records (expected 1)'
> #   in t/26-packages.t at line 164.
>
> t/26-packages...........NOK 24#   Failed test 'database 'nrqaxdepva' has 0
> records (expected 2)'
> #   in t/26-packages.t at line 164.
> t/26-packages...........NOK
> 29
> #   Failed test 'database drop 'nrqaxdepva''
> #   in t/26-packages.t at line 123.
> # Looks like you planned 40 tests but ran 1 extra.
> # Looks like you failed 11 tests of 41 run.
> t/26-packages...........dubious
>
>     Test returned status 11 (wstat 2816, 0xb00)
> DIED. FAILED tests 3, 5, 7, 10, 13-14, 24, 29, 33, 37, 40-41
>     Failed 12/40 tests, 70.00% okay
> t/27-logging............ok
>
> t/28-charset............ok
>
> t/29-events.............ok
>
> Failed Test     Stat Wstat Total Fail  Failed  List of Failed
>
> -------------------------------------------------------------------------------
> t/16-packages.t   11  2816    40   12  30.00%  3 5 7 10 13-14 24 29 33 37
> 40-41
> t/26-packages.t   11  2816    40   12  30.00%  3 5 7 10 13-14 24 29 33 37
> 40-41
> Failed 2/22 test scripts, 90.91% okay. 20/714 subtests failed, 97.20% 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
> any suggesions for this problem
>
> ------------------------------
> <http://lists.katipo.co.nz/mailman/listinfo/koha>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080909/7bbf3259/attachment-0001.htm 


More information about the Koha mailing list