<div dir="ltr">hmmmm,<br><br>Really unsure about this? Just curios did you install the lamp server before you did all these perl modules?<br><br>I think it is looking for a mysql path of some sort.<br><br><br>sudo apt-get install lamp-server^<br>
<br>I think thats the command to install the lamp server stack.<br><br>Regards,<br><br><br><br><div class="gmail_quote">On Wed, May 12, 2010 at 7:43 PM, <span dir="ltr"><<a href="mailto:bariki.kamara@out.ac.tz">bariki.kamara@out.ac.tz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Susan,<br>
<br>
Thanks for your support. I manage to install all the perl modules, except<br>
for the DBD::mysql module. When Am trying to install/force install, I came<br>
up with the following result:<br>
<br>
cpan[1]> force install DBD::mysql<br>
<div class="im">CPAN: Storable loaded ok (v2.18)<br>
</div><div class="im">Going to read /home/kohaadmin/.cpan/sources/authors/01mailrc.txt.gz<br>
</div>CPAN: Compress::Zlib loaded ok (v2.015)<br>
<div class="im">CPAN: YAML loaded ok (v0.66)<br>
</div><div class="im">Going to read /home/kohaadmin/.cpan/build/<br>
............................................................................DONE<br>
Found 38 old builds, restored the state of 38<br>
............................................................................DONE<br>
</div><div class="im">Going to read /home/kohaadmin/.cpan/sources/modules/02packages.details.txt.gz<br>
Database was generated on Wed, 12 May 2010 10:27:07 GMT<br>
</div>CPAN: HTTP::Date loaded ok (v5.810)<br>
<div class="im">...............<br>
New CPAN.pm version (v1.9402) available.<br>
[Currently running version is v1.9205]<br>
You might want to try<br>
install CPAN<br>
reload cpan<br>
to both upgrade CPAN.pm and run the new version without leaving<br>
the current session.<br>
<br>
</div><div class="im">CPAN: Time::HiRes loaded ok (v1.9711)<br>
<br>
</div>.............................................................DONE<br>
<div class="im">Going to read /home/kohaadmin/.cpan/sources/modules/03modlist.data.gz<br>
............................................................................DONE<br>
Going to write /home/kohaadmin/.cpan/Metadata<br>
</div>Running install for module 'DBD::mysql'<br>
Running make for C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz<br>
<div class="im">CPAN: Digest::SHA loaded ok (v5.45)<br>
Checksum for<br>
</div>/home/kohaadmin/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz<br>
<div class="im">ok<br>
Scanning cache /home/kohaadmin/.cpan/build for sizes<br>
............................................................................DONE<br>
</div>DBD-mysql-4.014/<br>
DBD-mysql-4.014/ChangeLog<br>
DBD-mysql-4.014/constants.h<br>
DBD-mysql-4.014/dbdimp.c<br>
DBD-mysql-4.014/dbdimp.h<br>
DBD-mysql-4.014/eg/<br>
DBD-mysql-4.014/eg/<a href="http://bug14979.pl" target="_blank">bug14979.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://bug21028.pl" target="_blank">bug21028.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://bug30033.pl" target="_blank">bug30033.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://bug30033pg.pl" target="_blank">bug30033pg.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://decimal_test.pl" target="_blank">decimal_test.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://issue21946.pl" target="_blank">issue21946.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://prepare_memory_usage.pl" target="_blank">prepare_memory_usage.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://proc_example1.pl" target="_blank">proc_example1.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://proc_example2.pl" target="_blank">proc_example2.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://proc_example2a.pl" target="_blank">proc_example2a.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://proc_example2b.pl" target="_blank">proc_example2b.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://proc_example3.pl" target="_blank">proc_example3.pl</a><br>
DBD-mysql-4.014/eg/<a href="http://proc_example4.pl" target="_blank">proc_example4.pl</a><br>
DBD-mysql-4.014/INSTALL.html<br>
DBD-mysql-4.014/lib/<br>
DBD-mysql-4.014/lib/Bundle/<br>
DBD-mysql-4.014/lib/Bundle/DBD/<br>
DBD-mysql-4.014/lib/Bundle/DBD/<a href="http://mysql.pm" target="_blank">mysql.pm</a><br>
DBD-mysql-4.014/lib/DBD/<br>
DBD-mysql-4.014/lib/DBD/mysql/<br>
DBD-mysql-4.014/lib/DBD/mysql/GetInfo.pm<br>
DBD-mysql-4.014/lib/DBD/mysql/INSTALL.pod<br>
DBD-mysql-4.014/lib/DBD/<a href="http://mysql.pm" target="_blank">mysql.pm</a><br>
DBD-mysql-4.014/Makefile.PL<br>
DBD-mysql-4.014/Makefile.PL.embedded<br>
DBD-mysql-4.014/MANIFEST<br>
DBD-mysql-4.014/MANIFEST.SKIP<br>
DBD-mysql-4.014/META.yml<br>
DBD-mysql-4.014/myld<br>
DBD-mysql-4.014/mysql.xs<br>
DBD-mysql-4.014/README<br>
DBD-mysql-4.014/t/<br>
DBD-mysql-4.014/t/00base.t<br>
DBD-mysql-4.014/t/10connect.t<br>
DBD-mysql-4.014/t/20createdrop.t<br>
DBD-mysql-4.014/t/25lockunlock.t<br>
DBD-mysql-4.014/t/29warnings.t<br>
DBD-mysql-4.014/t/30insertfetch.t<br>
DBD-mysql-4.014/t/31insertid.t<br>
DBD-mysql-4.014/t/32insert_error.t<br>
DBD-mysql-4.014/t/35limit.t<br>
DBD-mysql-4.014/t/35prepare.t<br>
DBD-mysql-4.014/t/40bindparam.t<br>
DBD-mysql-4.014/t/40bindparam2.t<br>
DBD-mysql-4.014/t/40blobs.t<br>
DBD-mysql-4.014/t/40catalog.t<br>
DBD-mysql-4.014/t/40keyinfo.t<br>
DBD-mysql-4.014/t/40listfields.t<br>
DBD-mysql-4.014/t/40nulls.t<br>
DBD-mysql-4.014/t/40nulls_prepare.t<br>
DBD-mysql-4.014/t/40numrows.t<br>
DBD-mysql-4.014/t/40server_prepare.t<br>
DBD-mysql-4.014/t/40server_prepare_error.t<br>
DBD-mysql-4.014/t/40types.t<br>
DBD-mysql-4.014/t/41bindparam.t<br>
DBD-mysql-4.014/t/41blobs_prepare.t<br>
DBD-mysql-4.014/t/42bindparam.t<br>
DBD-mysql-4.014/t/50chopblanks.t<br>
DBD-mysql-4.014/t/50commit.t<br>
DBD-mysql-4.014/t/51bind_type_guessing.t<br>
DBD-mysql-4.014/t/52comment.t<br>
DBD-mysql-4.014/t/55utf8.t<br>
DBD-mysql-4.014/t/60leaks.t<br>
DBD-mysql-4.014/t/65types.t<br>
DBD-mysql-4.014/t/70takeimp.t<br>
DBD-mysql-4.014/t/71impdata.t<br>
DBD-mysql-4.014/t/75supported_sql.t<br>
DBD-mysql-4.014/t/76multi_statement.t<br>
DBD-mysql-4.014/t/80procs.t<br>
DBD-mysql-4.014/t/85init_command.t<br>
DBD-mysql-4.014/t/<a href="http://lib.pl" target="_blank">lib.pl</a><br>
DBD-mysql-4.014/t/<a href="http://mem_leak.pl" target="_blank">mem_leak.pl</a><br>
DBD-mysql-4.014/t/mysql.dbtest<br>
DBD-mysql-4.014/t/mysql.mtest<br>
DBD-mysql-4.014/TODO<br>
<div class="im">CPAN: File::Temp loaded ok (v0.18)<br>
<br>
</div> CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz<br>
<br>
Can't exec "mysql_config": No such file or directory at Makefile.PL line 82.<br>
<br>
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem<br>
not contain the path to mysql_config. Resorting to guessed values!<br>
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.<br>
Can't find mysql_config. Use --mysql_config option to specify where<br>
mysql_config is located<br>
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.<br>
Can't find mysql_config. Use --mysql_config option to specify where<br>
mysql_config is located<br>
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.<br>
Can't find mysql_config. Use --mysql_config option to specify where<br>
mysql_config is located<br>
<br>
<br>
PLEASE NOTE:<br>
<br>
For 'make test' to run properly, you must ensure that the<br>
database user 'root' can connect to your MySQL server<br>
and has the proper privileges that these tests require such<br>
as 'drop table', 'create table', 'drop procedure', 'create procedure'<br>
as well as others.<br>
<br>
mysql> grant all privileges on test.* to 'root'@'localhost' identified by<br>
's3kr1t';<br>
<br>
You can also optionally set the user to run 'make test' with:<br>
<br>
perl Makefile.PL --testuser=username<br>
<br>
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.<br>
Can't find mysql_config. Use --mysql_config option to specify where<br>
mysql_config is located<br>
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.<br>
Can't find mysql_config. Use --mysql_config option to specify where<br>
mysql_config is located<br>
Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.<br>
Can't find mysql_config. Use --mysql_config option to specify where<br>
mysql_config is located<br>
Failed to determine directory of mysql.h. Use<br>
<br>
perl Makefile.PL --cflags=-I<dir><br>
<br>
to set this directory. For details see the INSTALL.html file,<br>
section "C Compiler flags" or type<br>
<br>
perl Makefile.PL --help<br>
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]<br>
CAPTTOFU/DBD-mysql-4.014.tar.gz<br>
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK<br>
<div class="im">Running make test<br>
Make had some problems, won't test<br>
Running make install<br>
Make had some problems, won't install<br>
</div>Failed during this command:<br>
CAPTTOFU/DBD-mysql-4.014.tar.gz : writemakefile NO<br>
<div class="im">'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512<br>
<br>
</div>Can I carry on with the installation while DBD::mysql is missing? Hope you<br>
can help on this.<br>
<br>
Best Regards,<br>
Bariki G. Kamara<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
> Delete any Net-Zoom directories found under build<br>
><br>
> sudo rm -r /home/kohaadmin/.cpan/build/Net-Z*<br>
><br>
> Remove the MetaData file<br>
><br>
> sudo rm /home/kohaadmin/.cpan/Metadata<br>
><br>
> then try re-installing<br>
><br>
> sudo cpan<br>
> cpan> install Net::Z3950::ZOOM<br>
><br>
><br>
> And print out any errors it might give you.<br>
><br>
><br>
><br>
><br>
> On Wed, May 12, 2010 at 12:18 PM, <<a href="mailto:bariki.kamara@out.ac.tz">bariki.kamara@out.ac.tz</a>> wrote:<br>
><br>
>> >> On Tue, May 11, 2010 at 10:48 AM, <<a href="mailto:bariki.kamara@out.ac.tz">bariki.kamara@out.ac.tz</a>> wrote:<br>
>> >><br>
>> >>> Hi,<br>
>> >>><br>
>> >>> I'm trying to install the following perl modules below on the Ubuntu<br>
>> >>> v9.04(Server Edition) but I'm facing with the following problem,<br>
>> >>><br>
>> >>><br>
>> >>> cpan[8]> install Net::Z3950::ZOOM<br>
>> >>> Running install for module 'Net::Z3950::ZOOM'<br>
>> >>> Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz<br>
>> >>> Has already been unwrapped into directory<br>
>> >>> /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW<br>
>> >>> '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512,<br>
>> >>> won't<br>
>> >>> make<br>
>> >>> Running make test<br>
>> >>> Make had some problems, won't test<br>
>> >>> Running make install<br>
>> >>> Make had some problems, won't install<br>
>> >>><br>
>> >><br>
>> >> Try changing to<br>
>> /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW<br>
>> >> and<br>
>> >> doing:<br>
>> >><br>
>> >> sudo make clean<br>
>> >> sudo perl Makefile.PL<br>
>> >> sudo make<br>
>> >> sudo make test<br>
>> >><br>
>> >> and see what exactly is failing.<br>
>> >><br>
>> >> You can do a similar thing for each module that failed to install.<br>
>> >><br>
>> >> Kind Regards,<br>
>> >> Chris<br>
>> >><br>
>> > Hi Chris,<br>
>> ><br>
>> > Thanks for the effort, Am trying to change to that directory but Am<br>
>> > getting the following result<br>
>> ><br>
>> > kohaadmin@library:~$ cd<br>
>> > /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW<br>
>> > -bash: cd: /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW:<br>
>> > Permission denied<br>
>> ><br>
>> > even if Am login as root user(sudo) Am getting the same result. Can<br>
>> you<br>
>> > assist on that.<br>
>> ><br>
>> > Regards,<br>
>> > Bariki G. Kamara<br>
>> ><br>
>> Hi Chris,<br>
>><br>
>> I succeed changing to the directory<br>
>> /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW by running the<br>
>> command sudo chmod, so when Am trying to do as you directed me, running<br>
>> the command sudo make clean, Am getting the following result below<br>
>><br>
>> kohaadmin@library:~/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW$ sudo make<br>
>> clean<br>
>> make: *** No rule to make target `clean'. Stop.<br>
>><br>
>> Can you assist on that.<br>
>><br>
>> Regards,<br>
>> Bariki G. Kamara<br>
>><br>
>><br>
>> ---------------------- CONFIDENTIALITY NOTICE<br>
>> --------------------------------<br>
>><br>
>> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL<br>
>><br>
>> This email is intended only for the person to whom it is addressed and<br>
>> may<br>
>> contain confidential information and may be legally privileged. If you<br>
>> are<br>
>> not the intended recipient, you are notified that you may not use,<br>
>> distribute or copy this document in any manner whatsoever. Kindly also<br>
>> notify the sender by email and/or delete this e-mail. Any views or<br>
>> opinions<br>
>> expressed in this e-mail are those of the sender and do not necessarily<br>
>> coincide with those of the Open University of Tanzania.<br>
>><br>
>> --------------------THE OPEN UNIVERSITY OF<br>
>> TANZANIA--------------------------<br>
>><br>
>> _______________________________________________<br>
>> Koha mailing list<br>
>> <a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
>> <a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
>><br>
><br>
<br>
<br>
<br>
---------------------- CONFIDENTIALITY NOTICE --------------------------------<br>
<br>
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL<br>
<br>
This email is intended only for the person to whom it is addressed and may<br>
contain confidential information and may be legally privileged. If you are<br>
not the intended recipient, you are notified that you may not use,<br>
distribute or copy this document in any manner whatsoever. Kindly also<br>
notify the sender by email and/or delete this e-mail. Any views or opinions<br>
expressed in this e-mail are those of the sender and do not necessarily<br>
coincide with those of the Open University of Tanzania.<br>
<br>
--------------------THE OPEN UNIVERSITY OF TANZANIA--------------------------<br>
<br>
</div></div></blockquote></div><br></div>