Problem on the Installation of Perl Modules
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 cpan[9]> install POE Running install for module 'POE' Running make for R/RC/RCAPUTO/POE-1.289.tar.gz Has already been unwrapped into directory /home/kohaadmin/.cpan/build/POE-1.289-3tC6nT Could not make: Unknown error Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible cpan[10]> install SMS::Send Running install for module 'SMS::Send' Running make for A/AD/ADAMK/SMS-Send-0.05.tar.gz Has already been unwrapped into directory /home/kohaadmin/.cpan/build/SMS-Send-0.05-4Sne1s Could not make: Unknown error Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Pls. any one who can 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--------------------------
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
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 ---------------------- 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--------------------------
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--------------------------
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
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--------------------------
Hi Susan, I used force install command and the problem is solved. Net::Z3950::ZOOM is now installed successful. Thanks a lot. Regards, Bariki G. Kamara
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--------------------------
On Wed, May 12, 2010 at 9:48 AM, <bariki.kamara@out.ac.tz> wrote:
I used force install command and the problem is solved. Net::Z3950::ZOOM is now installed successful.
Just as a follow-up to clarify for those who may come across this thread in a search for this problem: On Ubuntu (and Debian) you should not have to force install the Net::Z3950::ZOOM perl module. A simple 'sudo apt-get install libnet-z3950-zoom-perl' will suffice to install this module correctly. The INSTALL.Ubuntu file included with the Koha distribution outlines which modules need to be cpan'd. Also, in the not to distant future, all of the perl modules used by Koha will be available via apt. Kind Regards, Chris
On Wed, May 12, 2010 at 9:48 AM, <bariki.kamara@out.ac.tz> wrote:
I used force install command and the problem is solved. Net::Z3950::ZOOM is now installed successful.
Just as a follow-up to clarify for those who may come across this thread in a search for this problem:
On Ubuntu (and Debian) you should not have to force install the Net::Z3950::ZOOM perl module. A simple 'sudo apt-get install libnet-z3950-zoom-perl' will suffice to install this module correctly. The INSTALL.Ubuntu file included with the Koha distribution outlines which modules need to be cpan'd.
Also, in the not to distant future, all of the perl modules used by Koha will be available via apt.
Kind Regards, Chris
Hi Chris, Hope you are pretty fine. Thanks for your clarification. This is very well noted. 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--------------------------
Hi Susan, Thanks for your support. I manage to install all the perl modules, except for the DBD::mysql module. When Am trying to install/force install, I came up with the following result: cpan[1]> force install DBD::mysql CPAN: Storable loaded ok (v2.18) Going to read /home/kohaadmin/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok (v2.015) CPAN: YAML loaded ok (v0.66) Going to read /home/kohaadmin/.cpan/build/ ............................................................................DONE Found 38 old builds, restored the state of 38 ............................................................................DONE Going to read /home/kohaadmin/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Wed, 12 May 2010 10:27:07 GMT CPAN: HTTP::Date loaded ok (v5.810) ............... 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. CPAN: Time::HiRes loaded ok (v1.9711) .............................................................DONE Going to read /home/kohaadmin/.cpan/sources/modules/03modlist.data.gz ............................................................................DONE Going to write /home/kohaadmin/.cpan/Metadata Running install for module 'DBD::mysql' Running make for C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz CPAN: Digest::SHA loaded ok (v5.45) Checksum for /home/kohaadmin/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz ok Scanning cache /home/kohaadmin/.cpan/build for sizes ............................................................................DONE DBD-mysql-4.014/ DBD-mysql-4.014/ChangeLog DBD-mysql-4.014/constants.h DBD-mysql-4.014/dbdimp.c DBD-mysql-4.014/dbdimp.h DBD-mysql-4.014/eg/ DBD-mysql-4.014/eg/bug14979.pl DBD-mysql-4.014/eg/bug21028.pl DBD-mysql-4.014/eg/bug30033.pl DBD-mysql-4.014/eg/bug30033pg.pl DBD-mysql-4.014/eg/decimal_test.pl DBD-mysql-4.014/eg/issue21946.pl DBD-mysql-4.014/eg/prepare_memory_usage.pl DBD-mysql-4.014/eg/proc_example1.pl DBD-mysql-4.014/eg/proc_example2.pl DBD-mysql-4.014/eg/proc_example2a.pl DBD-mysql-4.014/eg/proc_example2b.pl DBD-mysql-4.014/eg/proc_example3.pl DBD-mysql-4.014/eg/proc_example4.pl DBD-mysql-4.014/INSTALL.html DBD-mysql-4.014/lib/ DBD-mysql-4.014/lib/Bundle/ DBD-mysql-4.014/lib/Bundle/DBD/ DBD-mysql-4.014/lib/Bundle/DBD/mysql.pm DBD-mysql-4.014/lib/DBD/ DBD-mysql-4.014/lib/DBD/mysql/ DBD-mysql-4.014/lib/DBD/mysql/GetInfo.pm DBD-mysql-4.014/lib/DBD/mysql/INSTALL.pod DBD-mysql-4.014/lib/DBD/mysql.pm DBD-mysql-4.014/Makefile.PL DBD-mysql-4.014/Makefile.PL.embedded DBD-mysql-4.014/MANIFEST DBD-mysql-4.014/MANIFEST.SKIP DBD-mysql-4.014/META.yml DBD-mysql-4.014/myld DBD-mysql-4.014/mysql.xs DBD-mysql-4.014/README DBD-mysql-4.014/t/ DBD-mysql-4.014/t/00base.t DBD-mysql-4.014/t/10connect.t DBD-mysql-4.014/t/20createdrop.t DBD-mysql-4.014/t/25lockunlock.t DBD-mysql-4.014/t/29warnings.t DBD-mysql-4.014/t/30insertfetch.t DBD-mysql-4.014/t/31insertid.t DBD-mysql-4.014/t/32insert_error.t DBD-mysql-4.014/t/35limit.t DBD-mysql-4.014/t/35prepare.t DBD-mysql-4.014/t/40bindparam.t DBD-mysql-4.014/t/40bindparam2.t DBD-mysql-4.014/t/40blobs.t DBD-mysql-4.014/t/40catalog.t DBD-mysql-4.014/t/40keyinfo.t DBD-mysql-4.014/t/40listfields.t DBD-mysql-4.014/t/40nulls.t DBD-mysql-4.014/t/40nulls_prepare.t DBD-mysql-4.014/t/40numrows.t DBD-mysql-4.014/t/40server_prepare.t DBD-mysql-4.014/t/40server_prepare_error.t DBD-mysql-4.014/t/40types.t DBD-mysql-4.014/t/41bindparam.t DBD-mysql-4.014/t/41blobs_prepare.t DBD-mysql-4.014/t/42bindparam.t DBD-mysql-4.014/t/50chopblanks.t DBD-mysql-4.014/t/50commit.t DBD-mysql-4.014/t/51bind_type_guessing.t DBD-mysql-4.014/t/52comment.t DBD-mysql-4.014/t/55utf8.t DBD-mysql-4.014/t/60leaks.t DBD-mysql-4.014/t/65types.t DBD-mysql-4.014/t/70takeimp.t DBD-mysql-4.014/t/71impdata.t DBD-mysql-4.014/t/75supported_sql.t DBD-mysql-4.014/t/76multi_statement.t DBD-mysql-4.014/t/80procs.t DBD-mysql-4.014/t/85init_command.t DBD-mysql-4.014/t/lib.pl DBD-mysql-4.014/t/mem_leak.pl DBD-mysql-4.014/t/mysql.dbtest DBD-mysql-4.014/t/mysql.mtest DBD-mysql-4.014/TODO CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz Can't exec "mysql_config": No such file or directory at Makefile.PL line 82. Cannot find the file 'mysql_config'! Your execution PATH doesn't seem not contain the path to mysql_config. Resorting to guessed values! Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located PLEASE NOTE: For 'make test' to run properly, you must ensure that the database user 'root' can connect to your MySQL server and has the proper privileges that these tests require such as 'drop table', 'create table', 'drop procedure', 'create procedure' as well as others. mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t'; You can also optionally set the user to run 'make test' with: perl Makefile.PL --testuser=username Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Failed to determine directory of mysql.h. Use perl Makefile.PL --cflags=-I<dir> to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type perl Makefile.PL --help Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site] CAPTTOFU/DBD-mysql-4.014.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: CAPTTOFU/DBD-mysql-4.014.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512 Can I carry on with the installation while DBD::mysql is missing? Hope you can help on this. Best Regards, Bariki G. Kamara
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--------------------------
hmmmm, Really unsure about this? Just curios did you install the lamp server before you did all these perl modules? I think it is looking for a mysql path of some sort. sudo apt-get install lamp-server^ I think thats the command to install the lamp server stack. Regards, On Wed, May 12, 2010 at 7:43 PM, <bariki.kamara@out.ac.tz> wrote:
Hi Susan,
Thanks for your support. I manage to install all the perl modules, except for the DBD::mysql module. When Am trying to install/force install, I came up with the following result:
cpan[1]> force install DBD::mysql CPAN: Storable loaded ok (v2.18) Going to read /home/kohaadmin/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok (v2.015) CPAN: YAML loaded ok (v0.66) Going to read /home/kohaadmin/.cpan/build/
............................................................................DONE Found 38 old builds, restored the state of 38
............................................................................DONE Going to read /home/kohaadmin/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Wed, 12 May 2010 10:27:07 GMT CPAN: HTTP::Date loaded ok (v5.810) ............... 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.
CPAN: Time::HiRes loaded ok (v1.9711)
.............................................................DONE Going to read /home/kohaadmin/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE Going to write /home/kohaadmin/.cpan/Metadata Running install for module 'DBD::mysql' Running make for C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz CPAN: Digest::SHA loaded ok (v5.45) Checksum for
/home/kohaadmin/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz ok Scanning cache /home/kohaadmin/.cpan/build for sizes
............................................................................DONE DBD-mysql-4.014/ DBD-mysql-4.014/ChangeLog DBD-mysql-4.014/constants.h DBD-mysql-4.014/dbdimp.c DBD-mysql-4.014/dbdimp.h DBD-mysql-4.014/eg/ DBD-mysql-4.014/eg/bug14979.pl DBD-mysql-4.014/eg/bug21028.pl DBD-mysql-4.014/eg/bug30033.pl DBD-mysql-4.014/eg/bug30033pg.pl DBD-mysql-4.014/eg/decimal_test.pl DBD-mysql-4.014/eg/issue21946.pl DBD-mysql-4.014/eg/prepare_memory_usage.pl DBD-mysql-4.014/eg/proc_example1.pl DBD-mysql-4.014/eg/proc_example2.pl DBD-mysql-4.014/eg/proc_example2a.pl DBD-mysql-4.014/eg/proc_example2b.pl DBD-mysql-4.014/eg/proc_example3.pl DBD-mysql-4.014/eg/proc_example4.pl DBD-mysql-4.014/INSTALL.html DBD-mysql-4.014/lib/ DBD-mysql-4.014/lib/Bundle/ DBD-mysql-4.014/lib/Bundle/DBD/ DBD-mysql-4.014/lib/Bundle/DBD/mysql.pm DBD-mysql-4.014/lib/DBD/ DBD-mysql-4.014/lib/DBD/mysql/ DBD-mysql-4.014/lib/DBD/mysql/GetInfo.pm DBD-mysql-4.014/lib/DBD/mysql/INSTALL.pod DBD-mysql-4.014/lib/DBD/mysql.pm DBD-mysql-4.014/Makefile.PL DBD-mysql-4.014/Makefile.PL.embedded DBD-mysql-4.014/MANIFEST DBD-mysql-4.014/MANIFEST.SKIP DBD-mysql-4.014/META.yml DBD-mysql-4.014/myld DBD-mysql-4.014/mysql.xs DBD-mysql-4.014/README DBD-mysql-4.014/t/ DBD-mysql-4.014/t/00base.t DBD-mysql-4.014/t/10connect.t DBD-mysql-4.014/t/20createdrop.t DBD-mysql-4.014/t/25lockunlock.t DBD-mysql-4.014/t/29warnings.t DBD-mysql-4.014/t/30insertfetch.t DBD-mysql-4.014/t/31insertid.t DBD-mysql-4.014/t/32insert_error.t DBD-mysql-4.014/t/35limit.t DBD-mysql-4.014/t/35prepare.t DBD-mysql-4.014/t/40bindparam.t DBD-mysql-4.014/t/40bindparam2.t DBD-mysql-4.014/t/40blobs.t DBD-mysql-4.014/t/40catalog.t DBD-mysql-4.014/t/40keyinfo.t DBD-mysql-4.014/t/40listfields.t DBD-mysql-4.014/t/40nulls.t DBD-mysql-4.014/t/40nulls_prepare.t DBD-mysql-4.014/t/40numrows.t DBD-mysql-4.014/t/40server_prepare.t DBD-mysql-4.014/t/40server_prepare_error.t DBD-mysql-4.014/t/40types.t DBD-mysql-4.014/t/41bindparam.t DBD-mysql-4.014/t/41blobs_prepare.t DBD-mysql-4.014/t/42bindparam.t DBD-mysql-4.014/t/50chopblanks.t DBD-mysql-4.014/t/50commit.t DBD-mysql-4.014/t/51bind_type_guessing.t DBD-mysql-4.014/t/52comment.t DBD-mysql-4.014/t/55utf8.t DBD-mysql-4.014/t/60leaks.t DBD-mysql-4.014/t/65types.t DBD-mysql-4.014/t/70takeimp.t DBD-mysql-4.014/t/71impdata.t DBD-mysql-4.014/t/75supported_sql.t DBD-mysql-4.014/t/76multi_statement.t DBD-mysql-4.014/t/80procs.t DBD-mysql-4.014/t/85init_command.t DBD-mysql-4.014/t/lib.pl DBD-mysql-4.014/t/mem_leak.pl DBD-mysql-4.014/t/mysql.dbtest DBD-mysql-4.014/t/mysql.mtest DBD-mysql-4.014/TODO CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz
Can't exec "mysql_config": No such file or directory at Makefile.PL line 82.
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem not contain the path to mysql_config. Resorting to guessed values! Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
PLEASE NOTE:
For 'make test' to run properly, you must ensure that the database user 'root' can connect to your MySQL server and has the proper privileges that these tests require such as 'drop table', 'create table', 'drop procedure', 'create procedure' as well as others.
mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';
You can also optionally set the user to run 'make test' with:
perl Makefile.PL --testuser=username
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Can't exec "mysql_config": No such file or directory at Makefile.PL line 464. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located Failed to determine directory of mysql.h. Use
perl Makefile.PL --cflags=-I<dir>
to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type
perl Makefile.PL --help Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site] CAPTTOFU/DBD-mysql-4.014.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: CAPTTOFU/DBD-mysql-4.014.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512
Can I carry on with the installation while DBD::mysql is missing? Hope you can help on this.
Best Regards, Bariki G. Kamara
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--------------------------
Hi Bariki, On Wed, May 12, 2010 at 4:18 AM, <bariki.kamara@out.ac.tz> wrote:
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.
You can disregard that message and simply: sudo make sudo make test and if there are no failed tests then do sudo make install If you get errors, feel free to post them. Kind Regards, Chris
Hi Bariki,
On Wed, May 12, 2010 at 4:18 AM, <bariki.kamara@out.ac.tz> wrote:
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.
You can disregard that message and simply:
sudo make sudo make test
and if there are no failed tests then do
sudo make install
If you get errors, feel free to post them.
Kind Regards, Chris
Hi Chris, After running the sudo make test, the following errors appear; kohaadmin@library:~/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW$ sudo 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 ............ 17/41 Use of uninitialized value in subroutine entry at /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm line 161. Net::Z3950::ZOOM::record_get_binary: rec is not of type ZOOM_record at /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm line 161. # Looks like you planned 41 tests but only ran 17. # Looks like your test died just after 17. t/12-query.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 24/41 subtests t/13-resultset.t ........ 2/24 # Failed test 'connection to 'z3950.indexdata.com/gils'' # at t/13-resultset.t line 16. # Failed test 'found 2 records' # at t/13-resultset.t line 22. Use of uninitialized value in subroutine entry at t/13-resultset.t line 31. Net::Z3950::ZOOM::record_error: 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.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 21/24 subtests t/14-sorting.t .......... ok t/15-scan.t ............. ok t/16-packages.t ......... 32/39 # Failed test 'record update 2 failed 10007 'Timeout' ()' # at t/16-packages.t line 161. # Failed test 'database 'punpabrwav' has 0 records (expected 2)' # at t/16-packages.t line 179. # Failed test 'database drop 'punpabrwav' expected 235 but succeeded' # at t/16-packages.t line 136. # Looks like you failed 3 tests of 39. t/16-packages.t ......... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/39 subtests t/17-logging.t .......... ok t/18-charset.t .......... 2/9 # Failed test 'connection to 'z3950.loc.gov:7090/voyager'' # at t/18-charset.t line 17. # Failed test 'search for '@attr 1=7 3879093520'' # at t/18-charset.t line 25. # Failed test 'found 0 records (expected 1)' # at t/18-charset.t line 28. # Failed test 'got first record' # at t/18-charset.t line 31. Use of uninitialized value in subroutine entry at /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm line 161. Net::Z3950::ZOOM::record_get_binary: rec is not of type ZOOM_record at /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm line 161. # Looks like you planned 9 tests but only ran 5. # Looks like you failed 4 tests of 5 run. # Looks like your test died just after 5. t/18-charset.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 8/9 subtests 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 ........ 7/24 ZOOM error 10007 "Timeout" from diag-set 'ZOOM'# Looks like you planned 24 tests but only ran 7. # Looks like your test died just after 7. t/23-resultset.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 17/24 subtests t/24-sorting.t .......... ok t/25-scan.t ............. ok t/26-packages.t ......... ok t/27-logging.t .......... ok t/28-charset.t .......... ok t/29-events.t ........... 8/23 # Failed test 'event is 10 (end), expected 1 (connect)' # at t/29-events.t line 77. impossible at t/29-events.t line 69. # Looks like you planned 23 tests but only ran 8. # Looks like you failed 1 test of 8 run. # Looks like your test died just after 8. t/29-events.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 16/23 subtests Test Summary Report ------------------- t/1-Net-Z3950-ZOOM.t (Wstat: 256 Tests: 23 Failed: 1) Failed test: 5 Non-zero exit status: 1 t/12-query.t (Wstat: 65280 Tests: 17 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 41 tests but ran 17. t/13-resultset.t (Wstat: 65280 Tests: 5 Failed: 2) Failed tests: 2, 4 Non-zero exit status: 255 Parse errors: Bad plan. You planned 24 tests but ran 5. t/16-packages.t (Wstat: 768 Tests: 39 Failed: 3) Failed tests: 32, 35, 38 Non-zero exit status: 3 t/18-charset.t (Wstat: 65280 Tests: 5 Failed: 4) Failed tests: 2-5 Non-zero exit status: 255 Parse errors: Bad plan. You planned 9 tests but ran 5. t/23-resultset.t (Wstat: 65280 Tests: 7 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 24 tests but ran 7. t/29-events.t (Wstat: 65280 Tests: 8 Failed: 1) Failed test: 8 Non-zero exit status: 255 Parse errors: Bad plan. You planned 23 tests but ran 8. Files=22, Tests=633, 549 wallclock secs ( 0.13 usr 0.05 sys + 0.85 cusr 0.18 csys = 1.21 CPU) Result: FAIL Failed 7/22 test programs. 11/633 subtests failed. make: *** [test_dynamic] Error 255 What might be the problem. 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--------------------------
Bariki, Sorry, I missed the fact that your platform is Ubuntu. So, do this: sudo apt-get install libnet-z3950-zoom-perl libpoe-perl libsms-send-perl and that should do the trick. Kind Regards, Chris
participants (3)
-
bariki.kamara@out.ac.tz -
Chris Nighswonger -
Susan Mustafa