[Koha] koha problem

Mark Tompsett mtompset at hotmail.com
Mon Aug 25 13:39:05 NZST 2014


Greetings,

> i upgrade my ubuntu server 12.4
> now i am facing this error

Upgrading the server, or upgrading Koha? Your errors suggest Koha.

> Can't locate DateTime/Format/MySQL.pm in @INC (@INC contains:
> /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2
> /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at
> /usr/share/koha/lib/C4/Koha.pm line 30.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Koha.pm line
> 30.
> Compilation failed in require at /usr/share/koha/opac/cgi-bin/opac/
> opac-main.pl line 26.
> BEGIN failed--compilation aborted at /usr/share/koha/opac/cgi-bin/opac/
> opac-main.pl line 26.

You didn't say how you installed Koha. Though, I suspect you are trying to 
build from source, which is really hard.
Robin Sheat did point at the Debian instructions, which should work well 
enough on Ubuntu.
But again, that assumes you installed it a particular way, and that you know 
the difference.

If you installed from source, then you can't follow the upgrade instructions 
on:
http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages
Because you never installed it from packages.

You may wish to look at:
http://wiki.koha-community.org/wiki/Moving_an_installation_from_a_regular_install_to_the_Debian_packages
Though, I have not tested these, and make no claims as to whether it is 
current and valid enough.

GPML,
Mark Tompsett 



More information about the Koha mailing list