[Koha] Can't install Net::Z3950::ZOOM on openSUSE 11.0
Bob Ewart
bob-ewart at earthlink.net
Mon Jul 14 08:37:38 NZST 2008
I've been following Ricardo's excellent "Installation Guide for
Installing Koha 3 on openSUSE 11"
http://wiki.koha.org/doku.php?id=opensuse_11.0
Net::Z3950::ZOOM fails even after installing the libyaz packages.
I noticed that his guide showed version 1.21 and mine is 1.24.
I could try forcing it, but thought I'd check with the list first.
The output is:
cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
Database was generated on Sun, 13 Jul 2008 18:02:49 GMT
Running install for module 'Net::Z3950::ZOOM'
CPAN: Data::Dumper loaded ok (v2.121_14)
'YAML' not installed, falling back to Data::Dumper and Storable to read
prefs '/root/.cpan/prefs'
Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.24.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
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
............................................................................DONE
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
CPAN: File::Temp loaded ok (v0.18)
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
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
Could not read '/root/.cpan/build/Net-Z3950-ZOOM-1.24-36RGgw/META.yml'.
Falling back to other methods to determine prerequisites
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/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.10.0/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 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE
-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe
-DVERSION=\"1.24\" -DXS_VERSION=\"1.24\" -fPIC
"-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/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="/usr/lib64" cc -shared -L/usr/local/lib64 ZOOM.o -o
blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \
-lyaz -L/usr/lib64 -lxslt -lxml2 -lz -lm -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
MIRK/Net-Z3950-ZOOM-1.24.tar.gz
/usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
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
t/17-logging............ok
t/18-charset............ok
t/19-events.............ok
t/2-ZOOM................
# Failed test 'connection to non-existent host 'no.such.host' fails'
# at t/2-ZOOM.t line 20.
# Looks like you failed 1 test of 23.
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 List of Failed
-------------------------------------------------------------------------------
t/2-ZOOM.t 1 256 23 1 4
Failed 1/22 test scripts. 1/714 subtests failed.
Files=22, Tests=714, 57 wallclock secs ( 1.14 cusr + 0.12 csys = 1.26 CPU)
Failed 1/22 test programs. 1/714 subtests failed.
make: *** [test_dynamic] Error 255
MIRK/Net-Z3950-ZOOM-1.24.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MIRK/Net-Z3950-ZOOM-1.24.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MIRK/Net-Z3950-ZOOM-1.24.tar.gz : make_test NO
Lockfile removed.
-----------
# rpm -qa | grep -i yaz
libyaz-3.0.16-40.1
libyaz-devel-3.0.16-40.1
--
Bob
More information about the Koha
mailing list