[Net-z3950] Fwd: I have problems installing Net::z3950(kindly look at it)

Chandra Shekaran chandru1782 at gmail.com
Fri Sep 7 21:26:05 CEST 2007


Dear Friend,

I am installing koha for the first time. I am doing it on ubuntu machine. I
had done all the things upto now properly. now installing Net::z3950 gives
the following errors. kindly suggest me what to do to solve the problem.

Thanks a lot for your valuable suggestions going to come.

regards
chandru
________________________________________________________________________________

-------------------------------------------------------------------------------------------------------------------------


Removing previously used /root/.cpan/build/Net-Z3950-ZOOM-1.19

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

Checking if your kit is complete...
Looks good
Writing Makefile for Net::Z3950::ZOOM
/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
Running Mkbootstrap 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
chmod 644 ZOOM.bs
cp samples/zoom/zselect blib/script/zselect
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/zselect
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.19\"
-DXS_VERSION=\"1.19\" -fPIC "-I/usr/lib/perl/5.8/CORE"   ZOOM.c
cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
chmod 644 blib/arch/auto/Net/Z3950/ZOOM/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 -lgcrypt -lgpg-error -lxml2 -lpthread -lz
-lm -lpthread -lssl -lcrypto -ldl -lwrap -lnsl    \

chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
Manifying blib/man3/Net::Z3950::ZOOM.3pm
Manifying blib/man3/ZOOM.3pm
  /usr/bin/make -j3 -- 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 3/22
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/1-Net-Z3950-ZOOM.t at line 25.
t/1-Net-Z3950-ZOOM......ok 5/22
#   Failed test 'delayed connection to 'z3950.indexdata.com/gils''
#   in t/1-Net-Z3950-ZOOM.t at line 36.
t/1-Net-Z3950-ZOOM......ok 8/22
#   Failed test 'search for invalid query '@attr @and 1=4 minerals' fails'
#   in t/1-Net-Z3950-ZOOM.t at line 57.
t/1-Net-Z3950-ZOOM......NOK 11
#   Failed test 'found 1 record as expected'
#   in t/1-Net-Z3950-ZOOM.t at line 79.
Use of uninitialized value in subroutine entry at t/1-Net-Z3950-ZOOM.t line
83.
rec is not of type ZOOM_record at t/1-Net-Z3950-ZOOM.t line 83.
t/1-Net-Z3950-ZOOM......NOK 18# Looks like you planned 22 tests but only ran
18.
# Looks like you failed 4 tests of 18 run.
# Looks like your test died just after 18.
t/1-Net-Z3950-ZOOM......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4, 7, 11, 18-22
        Failed 8/22 tests, 63.64% okay
t/10-options............ok
t/11-option-callback....ok
t/12-query..............ok 1/41
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/12-query.t at line 53.
t/12-query..............ok 13/41
#   Failed test 'found 1 record as expected'
#   in t/12-query.t at line 145.
Use of uninitialized value in subroutine entry at t/12-query.t line 151.
rec is not of type ZOOM_record at t/12-query.t line 151.
t/12-query..............NOK 16# Looks like you planned 41 tests but only ran
17.
# Looks like you failed 2 tests of 17 run.
# Looks like your test died just after 17.
t/12-query..............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 12, 16, 18-41
        Failed 26/41 tests, 36.59% okay
t/13-resultset..........ok 1/24
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/13-resultset.t at line 16.

#   Failed test 'found 2 records'
#   in t/13-resultset.t at line 22.
Use of uninitialized value in subroutine entry at t/13-resultset.t line 31.
rec is not of type ZOOM_record at t/13-resultset.t line 31.
# Looks like you planned 24 tests but only ran 5.
# Looks like you failed 2 tests of 5 run.
# Looks like your test died just after 5.
t/13-resultset..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 4, 6-24
        Failed 21/24 tests, 12.50% okay
t/14-sorting............ok 1/29
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/14-sorting.t at line 18.
t/14-sorting............ok 3/29
#   Failed test 'found 0 records (expected 5)'
#   in t/14-sorting.t at line 29.
t/14-sorting............NOK 5# Looks like you planned 29 tests but only ran
9.
# Looks like you failed 2 tests of 9 run.
t/14-sorting............dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2, 5, 10-29
        Failed 22/29 tests, 24.14% okay
t/15-scan...............ok 1/87
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/15-scan.t at line 17.
t/15-scan...............ok 3/87
#   Failed test 'got 0 terms (expected 10)'
#   in t/15-scan.t at line 130.
t/15-scan...............NOK 5
#   Failed test 'got 0 terms (expected 6)'
#   in t/15-scan.t at line 130.
t/15-scan...............NOK 10
#   Failed test 'got 0 terms (expected 4)'
#   in t/15-scan.t at line 130.
t/15-scan...............NOK 14
#   Failed test 'seed-term is start of returned list'
#   in t/15-scan.t at line 72.
Use of uninitialized value in concatenation (.) or string at
t/15-scan.tline 74.

#   Failed test 'got last title term '' to use as seed'
#   in t/15-scan.t at line 74.
t/15-scan...............NOK 16
#   Failed test 'got 0 terms (expected 4)'
#   in t/15-scan.t at line 130.
t/15-scan...............NOK 20
#   Failed test 'seed-term is start of returned list'
#   in t/15-scan.t at line 88.
Use of uninitialized value in concatenation (.) or string at
t/15-scan.tline 90.

#   Failed test 'got last title term '' to use as seed'
#   in t/15-scan.t at line 90.
t/15-scan...............NOK 21Use of uninitialized value in concatenation
(.) or string at t/15-scan.t line 98.
t/15-scan...............NOK 22Use of uninitialized value in subroutine entry
at t/15-scan.t line 128.
scan is not of type ZOOM_scanset at t/15-scan.t line 128.
# Looks like you planned 87 tests but only ran 24.
# Looks like you failed 9 tests of 24 run.
# Looks like your test died just after 24.
t/15-scan...............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 5, 10, 14-16, 20-22, 25-87
        Failed 72/87 tests, 17.24% okay
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 (10000)'
#   in t/16-packages.t at line 88.
t/16-packages...........ok 8/40
#   Failed test 'database creation 'rvuqqqxftv' refused (10000)'
#   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.

#   Failed test 'database 'rvuqqqxftv' 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.
Use of uninitialized value in concatenation (.) or string at
t/16-packages.tline 178.

#   Failed test 'database creation 'rvuqqqxftv''
#   in t/16-packages.t at line 110.

#   Failed test 'database 'rvuqqqxftv' has 0 records (expected 1)'
#   in t/16-packages.t at line 178.

#   Failed test 'database 'rvuqqqxftv' has 0 records (expected 1)'
#   in t/16-packages.t at line 178.

#   Failed test 'database 'rvuqqqxftv' has 0 records (expected 2)'
#   in t/16-packages.t at line 178.

#   Failed test 'database drop 'rvuqqqxftv''
#   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 1/9
#   Failed test 'connection to 'z3950.loc.gov:7090/voyager''
#   in t/18-charset.t at line 17.
t/18-charset............ok 3/9
#   Failed test 'found 0 records (expected 1)'
#   in t/18-charset.t at line 28.
t/18-charset............NOK 4
#   Failed test 'got first record'
#   in t/18-charset.t at line 31.
Use of uninitialized value in subroutine entry at t/18-charset.t line 34.
rec is not of type ZOOM_record at t/18-charset.t line 34.
t/18-charset............NOK 5# Looks like you planned 9 tests but only ran
5.
# Looks like you failed 3 tests of 5 run.
# Looks like your test died just after 5.
t/18-charset............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 4-9
        Failed 7/9 tests, 22.22% okay
t/19-events.............ok 1/23
#   Failed test 'event is 10 (end), expected 1 (connect)'
#   in t/19-events.t at line 101.

#   Failed test 'event is 4 (timeout), expected 6 (send apdu)'
#   in t/19-events.t at line 101.
impossible at t/19-events.t line 93.
# Looks like you planned 23 tests but only ran 9.
# Looks like you failed 2 tests of 9 run.
# Looks like your test died just after 9.
t/19-events.............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 8-23
        Failed 16/23 tests, 30.43% okay
t/2-ZOOM................ok 3/22
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/2-ZOOM.t at line 23.
Can't call method "destroy" on an undefined value at t/2-ZOOM.t line 25.
# Looks like you planned 22 tests but only ran 4.
# Looks like you failed 1 test of 4 run.
# Looks like your test died just after 4.
t/2-ZOOM................dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-22
        Failed 19/22 tests, 13.64% okay
t/20-options............ok
t/21-option-callback....ok
t/22-query..............ok 1/41
t/22-query..............NOK 12#   Failed test 'connection to '
z3950.indexdata.com/gils''
#   in t/22-query.t at line 58.
t/22-query..............ok 13/41
t/22-query..............NOK 15#   Failed test 'search'
#   in t/22-query.t at line 119.
Can't call method "search" on an undefined value at t/22-query.t line 118.
# Looks like you planned 41 tests but only ran 15.
# Looks like you failed 2 tests of 15 run.
# Looks like your test died just after 15.
t/22-query..............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 12, 15-41
        Failed 28/41 tests, 31.71% okay
t/23-resultset..........ok 1/24
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/23-resultset.t at line 14.

#   Failed test 'search for '@attr 1=4 mineral''
#   in t/23-resultset.t at line 19.
Can't call method "size" on an undefined value at t/23-resultset.t line 20.
# Looks like you planned 24 tests but only ran 3.
# Looks like you failed 2 tests of 3 run.
# Looks like your test died just after 3.
t/23-resultset..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-24
        Failed 23/24 tests, 4.17% okay
t/24-sorting............ok 1/29
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/24-sorting.t at line 16.

#   Failed test 'search for '@attr 1=4 map''
#   in t/24-sorting.t at line 24.
Can't call method "size" on an undefined value at t/24-sorting.t line 25.
# Looks like you planned 29 tests but only ran 4.
# Looks like you failed 2 tests of 4 run.
# Looks like your test died just after 4.
t/24-sorting............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 4-29
        Failed 27/29 tests, 6.90% okay
t/25-scan...............ok 1/87
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   in t/25-scan.t at line 15.
t/25-scan...............NOK 2
#   Failed test 'scan for 'w''
#   in t/25-scan.t at line 114.
Can't call method "size" on an undefined value at t/25-scan.t line 116.
# Looks like you planned 87 tests but only ran 3.
t/25-scan...............NOK 3# Looks like you failed 2 tests of 3 run.
# Looks like your test died just after 3.
t/25-scan...............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-87
        Failed 86/87 tests, 1.15% okay
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.
t/26-packages...........ok 8/40
#   Failed test 'database creation 'zgoeaepicn''
#   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 'zgoeaepicn' 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.tline 164.
t/26-packages...........ok 15/40
#   Failed test 'database creation 'zgoeaepicn''
#   in t/26-packages.t at line 99.
t/26-packages...........NOK 24
#   Failed test 'database 'zgoeaepicn' has 0 records (expected 1)'
#   in t/26-packages.t at line 164.
t/26-packages...........NOK 29
#   Failed test 'database 'zgoeaepicn' has 0 records (expected 1)'
#   in t/26-packages.t at line 164.
t/26-packages...........NOK 33
#   Failed test 'database 'zgoeaepicn' has 0 records (expected 2)'
#   in t/26-packages.t at line 164.
t/26-packages...........NOK 37
#   Failed test 'database drop 'zgoeaepicn''
#   in t/26-packages.t at line 123.
t/26-packages...........NOK 40# 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 1/9
#   Failed test 'connection to 'z3950.loc.gov:7090/voyager''
#   in t/28-charset.t at line 15.
Can't call method "option" on an undefined value at t/28-charset.t line 17.
# Looks like you planned 9 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/28-charset............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay
t/29-events.............ok 1/23
#   Failed test 'event is 10 (end), expected 1 (connect)'
#   in t/29-events.t at line 77.

t/29-events.............NOK 8#   Failed test 'event is 4 (timeout), expected
6 (send apdu)'
#   in t/29-events.t at line 77.
impossible at t/29-events.t line 69.
t/29-events.............NOK 9# Looks like you planned 23 tests but only ran
9.
# Looks like you failed 2 tests of 9 run.
# Looks like your test died just after 9.
t/29-events.............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 8-23
        Failed 16/23 tests, 30.43% okay
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------

t/1-Net-Z3950-ZOOM.t  255 65280    22   12  54.55%  4 7 11 18-22
t/12-query.t          255 65280    41   50 121.95%  12 16 18-41
t/13-resultset.t      255 65280    24   40 166.67%  2 4 6-24
t/14-sorting.t          2   512    29   42 144.83%  2 5 10-29
t/15-scan.t           255 65280    87  135 155.17%  2 5 10 14-16 20-22 25-87

t/16-packages.t        11  2816    40   12  30.00%  3 5 7 10 13-14 24 29 33
37
                                                    40-41
t/18-charset.t        255 65280     9   11 122.22%  2 4-9
t/19-events.t         255 65280    23   30 130.43%  8-23
t/2-ZOOM.t            255 65280    22   37 168.18%  4-22
t/22-query.t          255 65280    41   54 131.71%  12 15-41
t/23-resultset.t      255 65280    24   44 183.33%  2-24
t/24-sorting.t        255 65280    29   52 179.31%  2 4-29
t/25-scan.t           255 65280    87  170 195.40%  2-87
t/26-packages.t        11  2816    40   12  30.00%  3 5 7 10 13-14 24 29 33
37
                                                    40-41
t/28-charset.t        255 65280     9   15 166.67%  2-9
t/29-events.t         255 65280    23   30 130.43%  8-23
Failed 16/22 test scripts, 27.27% okay. 399/712 subtests failed, 43.96%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

________________________________________________________________________________

------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.indexdata.dk/pipermail/net-z3950/attachments/20070908/707b8440/attachment-0001.htm 


More information about the Net-z3950 mailing list