[Koha-devel] koha-common install
Paul A
paul.a at navalmarinearchive.com
Sun Dec 28 01:47:17 CET 2014
At 11:58 PM 12/26/2014 +0000, Tomas Cohen Arazi wrote:
>We have installed 3.18 using the koha-common package on Ubuntu 14.04
>(amd64) flawlessly. The only caveat I have memory of, was setting mpm_itk
>*before* running sudo apt-get install koha-common (because of a mod_itk
>package bug, inherited from Debian).
Thanks Tomas -- I seem to have got all the dependencies installed -- but
'make test' fails with the following 2 errors. Any ideas?
t/Creators.t ........................ 1/16 ERROR in koha-conf.xml --
missing <font type="H">/path/to/font.ttf</font> at
/usr/share/koha/koha-3.18.02/blib/PERL_MODULE_DIR/C4/Creators/PDF.pm line 123.
ERROR in koha-conf.xml -- missing <font type="H">/path/to/font.ttf</font>
at /usr/share/koha/koha-3.18.02/blib/PERL_MODULE_DIR/C4/Creators/PDF.pm
line 319.
# Failed test 'testing StrWidth() returns correct point width'
# at t/Creators.t line 47.
# got: '19.344'
# expected: '23.044921875'
# Failed test 'testing Text() writes to the correct x-value'
# at t/Creators.t line 51.
# got: '29.344'
# expected: '33.044921875'
# Looks like you failed 2 tests of 16.
t/Creators.t ........................ Dubious, test returned 2 (wstat 512,
0x200)
Failed 2/16 subtests
/... snip.../
Test Summary Report
-------------------
t/Creators.t (Wstat: 512 Tests: 16 Failed: 2)
Failed tests: 12, 14
Non-zero exit status: 2
Files=98, Tests=9708, 31 wallclock secs ( 0.57 usr 0.06 sys + 22.15
cusr 1.20 csys = 23.98 CPU)
Result: FAIL
Failed 1/98 test programs. 2/9708 subtests failed.
make: *** [test_dynamic] Error 255
Thanks and best regards -- Paul
>regards
>To+
>
>El Fri Dec 26 2014 at 20:36:30, Paul A
>(<<mailto:paul.a at navalmarinearchive.com>paul.a at navalmarinearchive.com>)
>escribió:
>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.
>
>Tried the package first:
>
>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)
>
>So to get a bit more insight, used the latest tarball:
>
>paul at hood:/usr/share/koha/koha-3.18.02$ perl
><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
>Makefile.PL fails:
>
>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.
>
>paul at hood:/usr/share/koha$ sudo cpan HTTPD::Bench::ApacheBench
>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.
>
>
>At 11:58 PM 12/24/2014 -0500, Mark Tompsett wrote:
> >Greetings,
> >
> >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
> >Now, I was expecting some apache2 issues to crop up, but strangely I had
> >no problems whatsoever running:
> >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
> >
> >
> >From: <mailto:chris.nighswonger at gmail.com>Christopher Nighswonger
> >Sent: Wednesday, December 24, 2014 8:28 PM
> >To: <mailto:paul.a at navalmarinearchive.com>Paul A
> >Cc: <mailto:koha-devel at lists.koha-community.org>Koha Devel
> >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"
> ><<mailto:paul.a at navalmarinearchive.com><mailto:paul.a at navalmarinearchive.
> com>paul.a at navalmarinearchive.com> wrote:
> >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
> >gory details:
> >
> >paul at hallowell:/$ lsb_release -a
> >Distributor ID: Ubuntu
> >Description:Â Â Ubuntu 14.04.1 LTS
> >Release:Â Â Â Â 14.04
> >Codename:Â Â Â Â trusty
> >
> >paul at hallowell:/$ sudo apt-get install koha-common
> >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.
> >The following information may help resolve the situation:
> >
> >The following packages have unmet dependencies:
> >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
> >Â Â Â Â Â Â Â Â 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
> ><mailto:Koha-devel at lists.koha-community.org><mailto:Koha-devel at lists.koha
> -community.org>Koha-devel at lists.koha-community.org
> >http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> >website :
> <<http://www.koha-community.org/>http://www.koha-community.org/>http://www.koha-community.org/
> >git :
> <<http://git.koha-community.org/>http://git.koha-community.org/>http://git.koha-community.org/
> >bugs :
> <<http://bugs.koha-community.org/>http://bugs.koha-community.org/>http://bugs.koha-community.org/
> >
> >
> >----------
> >_______________________________________________
> >Koha-devel mailing list
> ><mailto:Koha-devel at lists.koha-community.org>Koha-devel at lists.koha-communi
> ty.org
> >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/
>
>---
>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
><mailto:Koha-devel at lists.koha-community.org>Koha-devel at lists.koha-community.org
>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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20141227/bbcaa6e4/attachment-0001.html>
More information about the Koha-devel
mailing list