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@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@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@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@bigballofwax.co.nz>wrote:
On 23 May 2010 09:53, Luís Díaz <ldiaz@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@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha