[Koha-devel] koha-common install
Mark Tompsett
mtompset at hotmail.com
Sun Dec 28 09:11:12 CET 2014
Greetings,
> paul at hood:/usr/share/koha$ sudo apt-get install koha-common
> /... snip .../
> Errors were encountered while processing:
> libapache2-mpm-itk
> apache2-mpm-itk
> koha-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
That is to be expected, because of the changes in apache2. If you forget to
deal with the apache2-mpm-itk BEFORE installing koha-common, you can refer
to the troubleshooting appendix:
http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages#Appendix_B:_Troubleshooting
> So to get a bit more insight, used the latest tarball:
Consulting the wiki instructions is far more useful and less confusing.
What you discovered were things that might be required if you were to
attempt to run the full testing suite. For example, I recall
Test::WWW::Mechanize is used in some batch test which is now broken because
of the change of the data tables from one thing to another. Don't remember
if I bug reported it. Similarly Test::DBIx::Class is required for the newer
Shibboleth tests. I did spend a few days tracking down dependencies. It is
easiest to install in Debian Jessie, though I did get success in Ubuntu
14.04 LTS after much pain. Another problem is that some modules don't return
the version number the way the script expects to parse, and so you may find
you actually do have Readonly::XS 1.02 or higher installed.
> Have tried (unsuccessfully) some attempts with CPAN, e.g.
A few more things in closing, consider using cpan2deb rather than CPAN. And
...
[SNIP]
> cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector
[SNIP]
/bin/sh: 1: cc: not found
Install gcc and make, before trying to cpan things, because sometimes they
require them.
> P.S. Mark: the additional repositories are in sources.list.d/koha.list,
> etc -- not in the main file.
[SNIP TO OLD POST]
> I started with 130-odd missing files, individually installed all but
> these, despite adding deb's for koha, and Debian wheezy and squeeze to
> /etc/apt/sources.list
That is not what you said.
GPML,
Mark Tompsett
More information about the Koha-devel
mailing list