[Koha-bugs] [Bug 7167] updatedatabase improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 27 19:17:44 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7167

Galen Charlton <gmcharlt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gmcharlt at gmail.com

--- Comment #227 from Galen Charlton <gmcharlt at gmail.com> ---
(In reply to comment #226)
> Reopening because this breaks Koha, you can't currently install
> 
> perl Makefile.PL fails with this change, I don't think that is separate bug,
> just this one needs to be reverted of fixed.

Specifically, one way that failure manifests is:

$ perl Makefile.PL 
unable to locate Koha configuration file koha-conf.xml at
/home/esi/koha/C4/Context.pm line 372.
unable to locate Koha configuration file koha-conf.xml at
/home/esi/koha/C4/Context.pm line 372.
Can't call method "config" on unblessed reference at
/home/esi/koha/C4/Context.pm line 790.
Compilation failed in require at /home/esi/koha/C4/Installer.pm line 26.
BEGIN failed--compilation aborted at /home/esi/koha/C4/Installer.pm line 26.
Compilation failed in require at Makefile.PL line 31.
BEGIN failed--compilation aborted at Makefile.PL line 31.

The following commit fixes the immediate problem and allows the perl
Makefile.PL; make; make test sequence to work, although the patch is otherwise
untested.

http://git.koha-community.org/gitweb/?p=wip/koha-equinox.git;a=commitdiff;h=aa0052119467f84a7afe33d64714e52ed90acbe4

As the TODO in the patch notes, the double "unable to locate Koha configuration
file" bit when running Makefile.PL is noise.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list