[Koha] Problems installing ZOOM

Stefano Bargioni bargioni at pusc.it
Thu Jul 2 03:14:08 NZST 2009


Hi,
I'm trying to install Koha 3.0.3 in a Debian Lenny.
The prerequisite Perl module Net::Z3950::ZOOM has become a problem.
The tarball from CPAN has a README that suggests to enter the command
dh-make-perl --build
See the result below (runs as root).
Is this the best way? Where is my mistake?
Thanks a lot. Stefano


astronomic:/home/sb/Net-Z3950-ZOOM-1.25# dh-make-perl --build
Found: Net-Z3950-ZOOM 1.25 (libnet-z3950-zoom-perl arch=any)
Searching for package containing MARC::Record using apt-file.

Needs the following modules for which there are no debian packages  
available
  - MARC::Record
Using maintainer: root <root at astronomic.pusc.it>
Found changelog: Changes
Found docs: README samples/README
Found examples: samples/*
Using rules: /usr/share/dh-make-perl/rules.MakeMaker.xs
**********
Copyright information incomplete!

Upstream copyright information could not be automatically determined.

If you are building this package for your personal use, you might  
disregard
this information; however, if you intend to upload this package to  
Debian
(or in general, if you plan on distributing it), you must look into the
complete copyright information.

The causes for this warning are:
No licensing information
make: Entering directory `/home/sb/Net-Z3950-ZOOM-1.25'
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
# Add commands to clean up after the build process here
[ ! -f Makefile ] || make realclean
make: Leaving directory `/home/sb/Net-Z3950-ZOOM-1.25'
make: Entering directory `/home/sb/Net-Z3950-ZOOM-1.25'
dh_testdir
# Add commands to compile the package here
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Z3950::ZOOM
make OPTIMIZE="-Wall -g -O2" LD_RUN_PATH=""
make[1]: Entering directory `/home/sb/Net-Z3950-ZOOM-1.25'
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.10/ExtUtils/xsubpp  -typemap /usr/ 
share/perl/5.10/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 -DDEBIAN -fno-strict-aliasing -pipe -I/usr/ 
local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g - 
O2   -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" -fPIC "-I/usr/lib/perl/ 
5.10/CORE"   ZOOM.c
ZOOM.xs: In function ‘XS_Net__Z3950__ZOOM_options_set_callback’:
ZOOM.xs:469: warning: statement with no effect
ZOOM.xs:470: warning: statement with no effect
Running Mkbootstrap for Net::Z3950::ZOOM ()
chmod 644 ZOOM.bs
rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
LD_RUN_PATH="" cc  -shared -O2 -g -L/usr/local/lib ZOOM.o  -o blib/ 
arch/auto/Net/Z3950/ZOOM/ZOOM.so 	\
	   -lyaz -lexslt -lxslt -lxml2 -lpthread -lssl -lcrypto -lwrap -lnsl   
	\
	
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/zoomdump blib/script/zoomdump
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ 
zoomdump
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
make[1]: Leaving directory `/home/sb/Net-Z3950-ZOOM-1.25'
make test
make[1]: Entering directory `/home/sb/Net-Z3950-ZOOM-1.25'
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.t .... ok
t/10-options.t .......... ok
t/11-option-callback.t .. ok
t/12-query.t ............ ok
t/13-resultset.t ........ ok
t/14-sorting.t .......... ok
t/15-scan.t ............. ok
t/16-packages.t ......... 3/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/16-packages.t line 88.
t/16-packages.t ......... 5/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/16-packages.t line 88.
t/16-packages.t ......... 7/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/16-packages.t line 88.

#   Failed test 'database creation 'utmijxcaea''
#   at t/16-packages.t line 110.
t/16-packages.t ......... 13/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/16-packages.t line 88.

#   Failed test 'database 'utmijxcaea' can be searched'
#   at t/16-packages.t line 175.
Use of uninitialized value $expected_count in numeric eq (==) at t/16- 
packages.t line 179.
Use of uninitialized value $expected_count in concatenation (.) or  
string at t/16-packages.t line 179.

#   Failed test 'database 'utmijxcaea' can be searched'
#   at t/16-packages.t line 175.
Use of uninitialized value $expected_count in numeric eq (==) at t/16- 
packages.t line 179.
Use of uninitialized value $expected_count in concatenation (.) or  
string at t/16-packages.t line 179.

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

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

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

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

#   Failed test 'database drop 'utmijxcaea' expected 235 but succeeded'
#   at t/16-packages.t line 136.
# Looks like you planned 39 tests but ran 41.
# Looks like you failed 12 tests of 41 run.
t/16-packages.t ......... Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 11/39 subtests
t/17-logging.t .......... ok
t/18-charset.t .......... ok
t/19-events.t ........... ok
t/2-ZOOM.t .............. ok
t/20-options.t .......... ok
t/21-option-callback.t .. ok
t/22-query.t ............ ok
t/23-resultset.t ........ ok
t/24-sorting.t .......... ok
t/25-scan.t ............. ok
t/26-packages.t ......... 3/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/26-packages.t line 79.
t/26-packages.t ......... 5/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/26-packages.t line 79.
t/26-packages.t ......... 7/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/26-packages.t line 79.

#   Failed test 'database creation 'szdunzqdra''
#   at t/26-packages.t line 99.
t/26-packages.t ......... 13/39
#   Failed test 'connection to 'z3950.indexdata.com:2100' refused  
(10007)'
#   at t/26-packages.t line 79.

#   Failed test 'database 'szdunzqdra' can be searched'
#   at t/26-packages.t line 159.
Use of uninitialized value $expected_count in numeric eq (==) at t/26- 
packages.t line 164.
Use of uninitialized value $expected_count in concatenation (.) or  
string at t/26-packages.t line 164.

#   Failed test 'database 'szdunzqdra' can be searched'
#   at t/26-packages.t line 159.
Use of uninitialized value $expected_count in numeric eq (==) at t/26- 
packages.t line 164.
Use of uninitialized value $expected_count in concatenation (.) or  
string at t/26-packages.t line 164.

#   Failed test 'database creation 'szdunzqdra''
#   at t/26-packages.t line 99.

#   Failed test 'database 'szdunzqdra' has 0 records (expected 1)'
#   at t/26-packages.t line 164.

#   Failed test 'database 'szdunzqdra' has 0 records (expected 1)'
#   at t/26-packages.t line 164.

#   Failed test 'database 'szdunzqdra' has 0 records (expected 2)'
#   at t/26-packages.t line 164.

#   Failed test 'database drop 'szdunzqdra''
#   at t/26-packages.t line 123.
# Looks like you planned 39 tests but ran 41.
# Looks like you failed 12 tests of 41 run.
t/26-packages.t ......... Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 11/39 subtests
t/27-logging.t .......... ok
t/28-charset.t .......... ok
t/29-events.t ........... ok

Test Summary Report
-------------------
t/16-packages.t       (Wstat: 3072 Tests: 41 Failed: 13)
   Failed tests:  3, 5, 7, 10, 13-14, 20, 24, 29, 33, 37
                 40-41
   Non-zero exit status: 12
   Parse errors: Bad plan.  You planned 39 tests but ran 41.
t/26-packages.t       (Wstat: 3072 Tests: 41 Failed: 13)
   Failed tests:  3, 5, 7, 10, 13-14, 20, 24, 29, 33, 37
                 40-41
   Non-zero exit status: 12
   Parse errors: Bad plan.  You planned 39 tests but ran 41.
Files=22, Tests=716, 262 wallclock secs ( 0.29 usr  0.06 sys +  1.61  
cusr  0.17 csys =  2.13 CPU)
Result: FAIL
Failed 2/22 test programs. 26/716 subtests failed.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/home/sb/Net-Z3950-ZOOM-1.25'
make: *** [build-stamp] Error 2
make: Leaving directory `/home/sb/Net-Z3950-ZOOM-1.25'
Cannot create deb package



More information about the Koha mailing list