Hi Susan, I do as you directed and the following below are the results; cpan[1]> install Net::Z3950::ZOOM CPAN: Storable loaded ok (v2.18) CPAN: LWP::UserAgent loaded ok (v5.819) CPAN: Time::HiRes loaded ok (v1.9711) I would like to connect to one of the following sites to get 'authors/01mailrc.txt.gz': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] yes Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.66) Going to read /home/kohaadmin/.cpan/sources/authors/01mailrc.txt.gz Going to read /home/kohaadmin/.cpan/build/ ............................................................................DONE Found 38 old builds, restored the state of 38 ............................................................................DONE Fetching with LWP: http://www.perl.org/CPAN/modules/02packages.details.txt.gz Going to read /home/kohaadmin/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Wed, 12 May 2010 10:27:07 GMT ............... New CPAN.pm version (v1.9402) available. [Currently running version is v1.9205] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. .............................................................DONE Fetching with LWP: http://www.perl.org/CPAN/modules/03modlist.data.gz Going to read /home/kohaadmin/.cpan/sources/modules/03modlist.data.gz ............................................................................DONE Going to write /home/kohaadmin/.cpan/Metadata Running install for module 'Net::Z3950::ZOOM' Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz CPAN: Digest::SHA loaded ok (v5.45) Checksum for /home/kohaadmin/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz ok Scanning cache /home/kohaadmin/.cpan/build for sizes ............................................................................DONE Net-Z3950-ZOOM-1.25/ Net-Z3950-ZOOM-1.25/samples/ Net-Z3950-ZOOM-1.25/samples/zoom/ Net-Z3950-ZOOM-1.25/samples/zoom/trivial-async.pl Net-Z3950-ZOOM-1.25/samples/zoom/async.pl Net-Z3950-ZOOM-1.25/samples/zoom/zoomscan.pl Net-Z3950-ZOOM-1.25/samples/zoom/zhello.pl Net-Z3950-ZOOM-1.25/samples/zoom/zoomtst1.pl Net-Z3950-ZOOM-1.25/samples/zoom/zselect Net-Z3950-ZOOM-1.25/samples/zoom/zoomdump Net-Z3950-ZOOM-1.25/samples/zoom/update.pl Net-Z3950-ZOOM-1.25/samples/zoom/zoomtst3.pl Net-Z3950-ZOOM-1.25/samples/README Net-Z3950-ZOOM-1.25/samples/net-z3950/ Net-Z3950-ZOOM-1.25/samples/net-z3950/zoomtst1.pl Net-Z3950-ZOOM-1.25/samples/records/ Net-Z3950-ZOOM-1.25/samples/records/esdd0006.grs Net-Z3950-ZOOM-1.25/samples/ccl/ Net-Z3950-ZOOM-1.25/samples/ccl/default.bib Net-Z3950-ZOOM-1.25/samples/cql/ Net-Z3950-ZOOM-1.25/samples/cql/pqf.properties Net-Z3950-ZOOM-1.25/samples/net-z3950-zoom/ Net-Z3950-ZOOM-1.25/samples/net-z3950-zoom/async.pl Net-Z3950-ZOOM-1.25/samples/net-z3950-zoom/zoomtst1.pl Net-Z3950-ZOOM-1.25/samples/net-z3950-zoom/zoomtst3.pl Net-Z3950-ZOOM-1.25/README Net-Z3950-ZOOM-1.25/Changes Net-Z3950-ZOOM-1.25/META.yml Net-Z3950-ZOOM-1.25/MANIFEST Net-Z3950-ZOOM-1.25/ZOOM.xs Net-Z3950-ZOOM-1.25/MANIFEST.SKIP Net-Z3950-ZOOM-1.25/Makefile.PL Net-Z3950-ZOOM-1.25/t/ Net-Z3950-ZOOM-1.25/t/29-events.t Net-Z3950-ZOOM-1.25/t/11-option-callback.t Net-Z3950-ZOOM-1.25/t/15-scan.t Net-Z3950-ZOOM-1.25/t/16-packages.t Net-Z3950-ZOOM-1.25/t/13-resultset.t Net-Z3950-ZOOM-1.25/t/24-sorting.t Net-Z3950-ZOOM-1.25/t/17-logging.t Net-Z3950-ZOOM-1.25/t/20-options.t Net-Z3950-ZOOM-1.25/t/12-query.t Net-Z3950-ZOOM-1.25/t/10-options.t Net-Z3950-ZOOM-1.25/t/1-Net-Z3950-ZOOM.t Net-Z3950-ZOOM-1.25/t/22-query.t Net-Z3950-ZOOM-1.25/t/27-logging.t Net-Z3950-ZOOM-1.25/t/25-scan.t Net-Z3950-ZOOM-1.25/t/19-events.t Net-Z3950-ZOOM-1.25/t/14-sorting.t Net-Z3950-ZOOM-1.25/t/28-charset.t Net-Z3950-ZOOM-1.25/t/23-resultset.t Net-Z3950-ZOOM-1.25/t/26-packages.t Net-Z3950-ZOOM-1.25/t/18-charset.t Net-Z3950-ZOOM-1.25/t/2-ZOOM.t Net-Z3950-ZOOM-1.25/t/21-option-callback.t Net-Z3950-ZOOM-1.25/typemap Net-Z3950-ZOOM-1.25/lib/ Net-Z3950-ZOOM-1.25/lib/ZOOM.pm Net-Z3950-ZOOM-1.25/lib/ZOOM.pod Net-Z3950-ZOOM-1.25/lib/Net/ Net-Z3950-ZOOM-1.25/lib/Net/Z3950/ Net-Z3950-ZOOM-1.25/lib/Net/Z3950/ZOOM.pm Net-Z3950-ZOOM-1.25/lib/Net/Z3950.pm CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build M/MI/MIRK/Net-Z3950-ZOOM-1.25.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.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 -O2 -g -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" -fPIC "-I/usr/lib/perl/5.10/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 -O2 -g -L/usr/local/lib ZOOM.o -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \ -lyaz -lexslt -lxslt -lxml2 -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/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 MIRK/Net-Z3950-ZOOM-1.25.tar.gz 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.t .... 5/23 # Failed test 'connection to 'z3950.indexdata.com/gils'' # at t/1-Net-Z3950-ZOOM.t line 28. t/1-Net-Z3950-ZOOM.t .... 20/23 # Looks like you failed 1 test of 23. t/1-Net-Z3950-ZOOM.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/23 subtests 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 ......... ok 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 ............ 27/41 # Failed test 'search' # at t/22-query.t line 119. ZOOM error 10007 "Timeout" from diag-set 'ZOOM'# Looks like you planned 41 tests but only ran 27. # Looks like you failed 1 test of 27 run. # Looks like your test died just after 27. t/22-query.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 15/41 subtests t/23-resultset.t ........ ok t/24-sorting.t .......... ok t/25-scan.t ............. ok t/26-packages.t ......... 34/39 # Failed test 'database 'nlsljklocr' not searchable (10007)' # at t/26-packages.t line 159. # Failed test 'database drop 'nlsljklocr'' # at t/26-packages.t line 123. # Looks like you planned 39 tests but only ran 38. # Looks like you failed 2 tests of 38 run. t/26-packages.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/39 subtests t/27-logging.t .......... ok t/28-charset.t .......... ok t/29-events.t ........... ok Test Summary Report ------------------- t/1-Net-Z3950-ZOOM.t (Wstat: 256 Tests: 23 Failed: 1) Failed test: 5 Non-zero exit status: 1 t/22-query.t (Wstat: 65280 Tests: 27 Failed: 1) Failed test: 27 Non-zero exit status: 255 Parse errors: Bad plan. You planned 41 tests but ran 27. t/26-packages.t (Wstat: 512 Tests: 38 Failed: 2) Failed tests: 34, 37 Non-zero exit status: 2 Parse errors: Bad plan. You planned 39 tests but ran 38. Files=22, Tests=697, 529 wallclock secs ( 0.18 usr 0.00 sys + 0.91 cusr 0.12 csys = 1.21 CPU) Result: FAIL Failed 3/22 test programs. 4/697 subtests failed. make: *** [test_dynamic] Error 255 MIRK/Net-Z3950-ZOOM-1.25.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports MIRK/Net-Z3950-ZOOM-1.25.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: MIRK/Net-Z3950-ZOOM-1.25.tar.gz : make_test NO ****************************** END ************************************
Delete any Net-Zoom directories found under build
sudo rm -r /home/kohaadmin/.cpan/build/Net-Z*
Remove the MetaData file
sudo rm /home/kohaadmin/.cpan/Metadata
then try re-installing
sudo cpan cpan> install Net::Z3950::ZOOM
And print out any errors it might give you.
On Wed, May 12, 2010 at 12:18 PM, <bariki.kamara@out.ac.tz> wrote:
On Tue, May 11, 2010 at 10:48 AM, <bariki.kamara@out.ac.tz> wrote:
Hi,
I'm trying to install the following perl modules below on the Ubuntu v9.04(Server Edition) but I'm facing with the following problem,
cpan[8]> install Net::Z3950::ZOOM Running install for module 'Net::Z3950::ZOOM' Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz Has already been unwrapped into directory /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512, won't make Running make test Make had some problems, won't test Running make install Make had some problems, won't install
Try changing to /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW and doing:
sudo make clean sudo perl Makefile.PL sudo make sudo make test
and see what exactly is failing.
You can do a similar thing for each module that failed to install.
Kind Regards, Chris
Hi Chris,
Thanks for the effort, Am trying to change to that directory but Am getting the following result
kohaadmin@library:~$ cd /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW -bash: cd: /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW: Permission denied
even if Am login as root user(sudo) Am getting the same result. Can you assist on that.
Regards, Bariki G. Kamara
Hi Chris,
I succeed changing to the directory /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW by running the command sudo chmod, so when Am trying to do as you directed me, running the command sudo make clean, Am getting the following result below
kohaadmin@library:~/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW$ sudo make clean make: *** No rule to make target `clean'. Stop.
Can you assist on that.
Regards, Bariki G. Kamara
---------------------- CONFIDENTIALITY NOTICE --------------------------------
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL
This email is intended only for the person to whom it is addressed and may contain confidential information and may be legally privileged. If you are not the intended recipient, you are notified that you may not use, distribute or copy this document in any manner whatsoever. Kindly also notify the sender by email and/or delete this e-mail. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of the Open University of Tanzania.
--------------------THE OPEN UNIVERSITY OF TANZANIA--------------------------
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
---------------------- CONFIDENTIALITY NOTICE -------------------------------- PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL This email is intended only for the person to whom it is addressed and may contain confidential information and may be legally privileged. If you are not the intended recipient, you are notified that you may not use, distribute or copy this document in any manner whatsoever. Kindly also notify the sender by email and/or delete this e-mail. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of the Open University of Tanzania. --------------------THE OPEN UNIVERSITY OF TANZANIA--------------------------