'make test' fails with the following 2 errors. Any ideas?
t/Creators.t ........................ 1/16 ERROR in koha-conf.xml --
/usr/share/koha/koha-3.18.02/blib/PERL_MODULE_DIR/C4/Creators/PDF.pm line 123.
line 319.
# at t/Creators.t line 47.
# at t/Creators.t line 51.
# Looks like you failed 2 tests of 16.
t/Creators.t ........................ Dubious, test returned 2 (wstat 512,
/... snip.../
Failed 1/98 test programs. 2/9708 subtests failed.
Post by Tomas Cohen Araziregards
To+
El Fri Dec 26 2014 at 20:36:30, Paul A
Hi Mark and Chris,
Thanks for your input. Just tried again on a brand new 64-bit Ubuntu
14.04.1 server, perl 5.18, apache 2.4.6, mysql 5.5, memcached, users/pwds,
etc. This will be one of our new production servers, and I was hoping to
upgrade Koha from our current 3.8.5.
/... snip .../
 libapache2-mpm-itk
 apache2-mpm-itk
 koha-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
<http://koha_perl_deps.pl>koha_perl_deps.pl -m -u
                       Â
Installed     Required
    Module is
Module
Name                 Â
Version      Version
Required
--------------------------------------------------------------------------------------------
HTTPD::Bench::ApacheBench           0
*Â Â Â Â Â Â Â Â 0.73Â Â Â Â Â Â Â Â Â Â No
Module::Bundled::Files            0
*Â Â Â Â Â Â Â Â 0.03Â Â Â Â Â Â Â Â Â Â No
Readonly::XSÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0
*Â Â Â Â Â Â Â Â 1.02Â Â Â Â Â Â Â Â Â Â No
Test::DBIx::Class               0
*Â Â Â Â Â Â Â Â 0.42Â Â Â Â Â Â Â Â Â Â No
Test::WWW::Mechanize             1.42
*Â Â Â Â Â Â 1.44Â Â Â Â Â Â Â Â Â Â No
--------------------------------------------------------------------------------------------
Total modules reported: 5Â Â Â Â Â Â Â Â Â Â Â * Module is
missing or
requires an upgrade.
Now confused as to whether these are required or not??? In any case, perl
Warning: prerequisite HTTPD::Bench::ApacheBench 0.73 not found.
Warning: prerequisite Test::DBIx::Class 0.42 not found.
Warning: prerequisite Test::WWW::Mechanize 1.44 not found. We have 1.42.
Writing Makefile for koha
Unable to open MakeMaker.tmp: Permission denied at
/usr/share/perl/5.18/ExtUtils/MakeMaker.pm line 1030.
Have tried (unsuccessfully) some attempts with CPAN, e.g.
Reading '/home/paul/.cpan/Metadata'
  Database was generated on Fri, 26 Dec 2014 08:53:17 GMT
Running install for module 'HTTPD::Bench::ApacheBench'
Running make for A/AD/ADIRAJ/ApacheBench-0.73.tar.gz
Checksum for
/home/paul/.cpan/sources/authors/id/A/AD/ADIRAJ/ApacheBench-0.73.tar.gz ok
  CPAN.pm: Building A/AD/ADIRAJ/ApacheBench-0.73.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for HTTPD::Bench::ApacheBench
Writing MYMETA.yml and MYMETA.json
Writing Makefile for HTTPD::Bench::ApacheBench
Writing MYMETA.yml and MYMETA.json
cp lib/HTTPD/Bench/ApacheBench/Regression.pm
blib/lib/HTTPD/Bench/ApacheBench/Regression.pm
cp lib/HTTPD/Bench/ApacheBench/Run.pm blib/lib/HTTPD/Bench/ApacheBench/Run.pm
cp lib/HTTPD/Bench/ApacheBench.pm blib/lib/HTTPD/Bench/ApacheBench.pm
make[1]: Entering directory
`/home/paul/.cpan/build/ApacheBench-0.73-hFvRj7/src'
/usr/bin/perl /usr/share/perl/5.18.2/ExtUtils/xsubpp -typemap
/usr/share/perl/5.18/ExtUtils/typemap ApacheBench.xs > ApacheBench.xsc &&
mv ApacheBench.xsc ApacheBench.c
cc -c  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g  -DVERSION=\"0.73\" -DXS_VERSION=\"0.73\"
-fPIC "-I/usr/lib/perl/5.18/CORE"Â Â ApacheBench.c
/bin/sh: 1: cc: not found
make[1]: *** [ApacheBench.o] Error 127
make[1]: Leaving directory
`/home/paul/.cpan/build/ApacheBench-0.73-hFvRj7/src'
make: *** [subdirs] Error 2
  ADIRAJ/ApacheBench-0.73.tar.gz
  make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Any thoughts, pointers?
Thanks and br -- Paul
P.S. Mark: the additional repositories are in sources.list.d/koha.list, etc
-- not in the main file.
Post by Mark TompsettGreetings,
I figured I had not done a 32-bit install in a while, so I grabbed the
Ubuntu 14.04.1 LTS ISO.
I installed it in VirtualBox OpenSSH, LAMP, and Mail Server selected (even
though I probably could have gone with nothing).
I then followed the instructions
<<http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages>http://wi
ki.koha-community.org/wiki/Koha_on_ubuntu_-_packages>http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages
Post by Mark TompsettNow, I was expecting some apache2 issues to crop up, but strangely I had
sudo apt-get install koha-common
You should NEVER tinker with /etc/apt/sources.list, when you SHOULD ADD
/etc/apt/sources.list.d/NEWFILE.list and sudo apt-get update.
GPML,
Mark Tompsett
Sent: Wednesday, December 24, 2014 8:28 PM
Subject: Re: [Koha-devel] koha-common install
Something is broken with one of the dependencies of yaz on the latest LTS.
I ran into this the other day on my Dev box. Haven't had time to chase it
down yet.
Kind Regards
Chris
On Dec 24, 2014 4:33 PM, "Paul A"
Happy Christmas, Happy Holidays all around,
Having a look at latest releases of Ubuntu and Koha on a 32-bit 'sandbox'
server, newly built with latest 14.04.1 LTS Ubuntu. Koha failed despite
major attempts at fulfilling dependencies, including CPAN which cannot
find yaz, idzebra nor libnet-z3950-zoom-perl. 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
I'm *guessing* that i386 is no longer supported, but couldn't find any
mention at koha-community. I should be able to get a 64-bit sandbox after
staff leave for the holidays later today and will try again. Here's the
Distributor ID: Ubuntu
Description:Â Â Ubuntu 14.04.1 LTS
Release:Â Â Â Â 14.04
Codename:Â Â Â Â trusty
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
koha-common : Depends: libnet-z3950-zoom-perl but it is not going to be installed
        Depends: idzebra-2.0 but it is not going to be
installed
Post by Mark Tompsett        Depends: yaz but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
br -- paul
_______________________________________________
Koha-devel mailing list
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
<<http://www.koha-community.org/>http://www.koha-community.org/>http://www.koha-community.org/
<<http://git.koha-community.org/>http://git.koha-community.org/>http://git.koha-community.org/
<<http://bugs.koha-community.org/>http://bugs.koha-community.org/>http://bugs.koha-community.org/
Post by Mark Tompsett----------
_______________________________________________
Koha-devel mailing list
ty.org
Post by Mark Tompsetthttp://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : <http://www.koha-community.org/>http://www.koha-community.org/
git : <http://git.koha-community.org/>http://git.koha-community.org/
bugs : <http://bugs.koha-community.org/>http://bugs.koha-community.org/
---
Maritime heritage and history, preservation and conservation,
research and education through the written word and the arts.
<<http://NavalMarineArchive.com>http://NavalMarineArchive.com> and
<<http://UltraMarine.ca>http://UltraMarine.ca>
_______________________________________________
Koha-devel mailing list
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : <http://www.koha-community.org/>http://www.koha-community.org/
git : <http://git.koha-community.org/>http://git.koha-community.org/
bugs : <http://bugs.koha-community.org/>http://bugs.koha-community.org/