[Koha] install last version

Susan Mustafa susan.mustafa at gmail.com
Mon May 24 22:37:26 NZST 2010


I would think its looking for a mysql installed.

Have you installed mysqlserver? and client?

If on ubuntu do
sudo apt-get install mysql-devel
sudo apt-get install lamp-server^

Then

sudo cpan

cpan> force install DBD::mysql


Tell us what errors it gives you then,


On Sun, May 23, 2010 at 1:22 PM, Luís Díaz <ldiaz at greendata.es> wrote:

> Hi
> I see this web talkong about a bug:
>
> http://bugs.mysql.com/bug.php?id=24244
>
> And I comment that this command :
> install DBD::mysql
>
> returns this error:
>
>  CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.014.tar.gz
>
> Can't exec "mysql_config": No existe el fichero ó directorio 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 existe el fichero ó directorio 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 existe el fichero ó directorio 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 existe el fichero ó directorio 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 --testdb=test
> --testuser=test --testpass=test]
>   CAPTTOFU/DBD-mysql-4.014.tar.gz
>   /usr/bin/perl Makefile.PL --testdb=test --testuser=test --testpass=test
> -- 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 --testdb=test --testuser=test --testpass=test'
> returned status 512
>
>
>
> 2010/5/23 Luís Díaz <ldiaz at greendata.es>
>
> Hi Suzan
>> mmmm I think it's other problem, look this:
>>
>> cpan[2]> install CGI::Session::Serialize::yaml
>> CGI::Session::Serialize::yaml is up to date (4.24).
>>
>> Reinstalling now I have this new error:
>>
>> DBD driver has not implemented the AutoCommit attribute at /usr/lib/perl5/DBI.pm line 691.
>> Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 30.
>> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 30.
>>
>>
>>
>> Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23.
>> BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23.
>>
>>
>>
>> And the log show this:
>>
>> root at dl145:/var/log/koha# tail -f koha-opac-error_log
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] BEGIN
>> failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line
>> 25.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] Compilation
>> failed in require at /usr/share/koha/lib/C4/Overdues.pm line 25.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] BEGIN
>> failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 25.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] Compilation
>> failed in require at /usr/share/koha/lib/C4/Members.pm line 27.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] BEGIN
>> failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 27.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] Compilation
>> failed in require at /usr/share/koha/lib/C4/Auth.pm line 27.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] BEGIN
>> failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 27.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] Compilation
>> failed in require at /usr/share/koha/opac/cgi-bin/opac/errors/500.pl line
>> 21.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] BEGIN
>> failed--compilation aborted at /usr/share/koha/opac/cgi-bin/opac/errors/
>> 500.pl line 21.
>> [Sun May 23 09:34:38 2010] [error] [client 125.230.148.159] Premature end
>> of script headers: 500.pl
>>
>>
>> 2010/5/23 Susan Mustafa <susan.mustafa at gmail.com>
>>
>> When I had this error, I read that you need to install the perl module
>>> CGI::Session::Serialize::yaml
>>>
>>> sudo cpan
>>> cpan> install CGI::Session::Serialize::yaml
>>>
>>> Maybe give that a try! Regards,
>>>
>>>
>>>
>>> On Sun, May 23, 2010 at 5:37 AM, Chris Cormack <chris at bigballofwax.co.nz
>>> > wrote:
>>>
>>>> On 23 May 2010 09:53, Luís Díaz <ldiaz at greendata.es> wrote:
>>>> > Hi Chris
>>>> >
>>>> > Here is the log, I don't see any db messages.
>>>> > The OS is 64 bits...could it be the reason?
>>>>
>>>> I don't think so, others have run it on 64 bits ok, the other logs to
>>>> check are the koha apache2 logs. If you did a standard install they
>>>> will be in /usr/share/koha/var/log
>>>>
>>>> Chris
>>>> _______________________________________________
>>>> Koha mailing list
>>>> Koha at lists.katipo.co.nz
>>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100524/e97fad9b/attachment.htm 


More information about the Koha mailing list