<html>
<body>
At 11:58 PM 12/26/2014 +0000, Tomas Cohen Arazi wrote:<br>
<blockquote type=cite class=cite cite>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).</blockquote><br>
Thanks Tomas -- I seem to have got all the dependencies installed -- but
'make test' fails with the following 2 errors. Any ideas?<br><br>
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.<br>
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.<br><br>
#   Failed test 'testing StrWidth() returns correct point
width'<br>
#   at t/Creators.t line 47.<br>
#          got:
'19.344'<br>
#     expected: '23.044921875'<br><br>
#   Failed test 'testing Text() writes to the correct
x-value'<br>
#   at t/Creators.t line 51.<br>
#          got:
'29.344'<br>
#     expected: '33.044921875'<br>
# Looks like you failed 2 tests of 16.<br>
t/Creators.t ........................ Dubious, test returned 2 (wstat
512, 0x200)<br>
Failed 2/16 subtests<br>
/... snip.../<br>
Test Summary Report<br>
-------------------<br>
t/Creators.t                     
(Wstat: 512 Tests: 16 Failed: 2)<br>
  Failed tests:  12, 14<br>
  Non-zero exit status: 2<br>
Files=98, Tests=9708, 31 wallclock secs ( 0.57 usr  0.06 sys + 22.15
cusr  1.20 csys = 23.98 CPU)<br>
Result: FAIL<br>
Failed 1/98 test programs. 2/9708 subtests failed.<br>
make: *** [test_dynamic] Error 255<br><br>
Thanks and best regards -- Paul<br><br>
<br><br>
<blockquote type=cite class=cite cite>regards<br>
To+<br><br>
El Fri Dec 26 2014 at 20:36:30, Paul A
(<<a href="mailto:paul.a@navalmarinearchive.com">paul.a@navalmarinearchive.com</a>>)
escribió:<br>

<dl>
<dd>Hi Mark and Chris,<br><br>

<dd>Thanks for your input.  Just tried again on a brand new 64-bit
Ubuntu<br>

<dd>14.04.1 server, perl 5.18, apache 2.4.6, mysql 5.5, memcached,
users/pwds,<br>

<dd>etc.  This will be one of our new production servers, and I was
hoping to<br>

<dd>upgrade Koha from our current 3.8.5.<br><br>

<dd>Tried the package first:<br><br>

<dd>paul@hood:/usr/share/koha$ sudo apt-get install koha-common<br>

<dd>/... snip .../<br>

<dd>Errors were encountered while processing:<br>

<dd>  libapache2-mpm-itk<br>

<dd>  apache2-mpm-itk<br>

<dd>  koha-common<br>

<dd>E: Sub-process /usr/bin/dpkg returned an error code (1)<br><br>

<dd>So to get a bit more insight, used the latest tarball:<br><br>

<dd>paul@hood:/usr/share/koha/koha-3.18.02$ perl
<a href="http://koha_perl_deps.pl">koha_perl_deps.pl</a> -m -u<br><br>

<dd>  Â  Â  Â  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  Â Installed 
  Â  Â  Â Required<br>

<dd>  Â  Â  Â  Module is<br>

<dd>Module<br>

<dd>Name  Â  Â  Â  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  Â  Â  Â  Â
Version  Â  Â  Â  Â  Â Version<br>

<dd>Required<br>

<dd>--------------------------------------------------------------------------------------------<br>

<dd>HTTPD::Bench::ApacheBench  Â  Â  Â  Â 
  Â  Â  Â  Â  Â 0<br>

<dd>*  Â  Â  Â  Â  Â  Â  Â
0.73  Â  Â  Â  Â  Â  Â  Â 
  Â  No<br>

<dd>Module::Bundled::Files  Â  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  0<br>

<dd>*  Â  Â  Â  Â  Â  Â  Â
0.03  Â  Â  Â  Â  Â  Â  Â 
  Â  No<br>

<dd>Readonly::XS  Â  Â  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  Â  Â  Â 
  0<br>

<dd>*  Â  Â  Â  Â  Â  Â  Â
1.02  Â  Â  Â  Â  Â  Â  Â 
  Â  No<br>

<dd>Test::DBIx::Class  Â  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  Â  Â  Â 0<br>

<dd>*  Â  Â  Â  Â  Â  Â  Â
0.42  Â  Â  Â  Â  Â  Â  Â 
  Â  No<br>

<dd>Test::WWW::Mechanize  Â  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  Â  1.42<br>

<dd>*  Â  Â  Â  Â  Â  1.44  Â 
  Â  Â  Â  Â  Â  Â  Â 
No<br><br>

<dd>--------------------------------------------------------------------------------------------<br>

<dd>Total modules reported: 5  Â  Â  Â  Â 
  Â  Â  Â  Â  Â  * Module is missing
or<br>

<dd>requires an upgrade.<br><br>

<dd>Now confused as to whether these are required or not???  In any
case, perl<br>

<dd>Makefile.PL fails:<br><br>

<dd>Warning: prerequisite HTTPD::Bench::ApacheBench 0.73 not found.<br>

<dd>Warning: prerequisite Test::DBIx::Class 0.42 not found.<br>

<dd>Warning: prerequisite Test::WWW::Mechanize 1.44 not found. We have
1.42.<br>

<dd>Writing Makefile for koha<br>

<dd>Unable to open MakeMaker.tmp: Permission denied at<br>

<dd>/usr/share/perl/5.18/ExtUtils/MakeMaker.pm line 1030.<br><br>
<br>

<dd>Have tried (unsuccessfully) some attempts with CPAN, e.g.<br><br>

<dd>paul@hood:/usr/share/koha$ sudo cpan HTTPD::Bench::ApacheBench<br>

<dd>Reading '/home/paul/.cpan/Metadata'<br>

<dd>  Â Database was generated on Fri, 26 Dec 2014 08:53:17
GMT<br>

<dd>Running install for module 'HTTPD::Bench::ApacheBench'<br>

<dd>Running make for A/AD/ADIRAJ/ApacheBench-0.73.tar.gz<br>

<dd>Checksum for<br>

<dd>/home/paul/.cpan/sources/authors/id/A/AD/ADIRAJ/ApacheBench-0.73.tar.gz
ok<br><br>

<dd>  Â CPAN.pm: Building A/AD/ADIRAJ/ApacheBench-0.73.tar.gz<br>
<br>

<dd>Checking if your kit is complete...<br>

<dd>Looks good<br>

<dd>Writing Makefile for HTTPD::Bench::ApacheBench<br>

<dd>Writing MYMETA.yml and MYMETA.json<br>

<dd>Writing Makefile for HTTPD::Bench::ApacheBench<br>

<dd>Writing MYMETA.yml and MYMETA.json<br>

<dd>cp lib/HTTPD/Bench/ApacheBench/Regression.pm<br>

<dd>blib/lib/HTTPD/Bench/ApacheBench/Regression.pm<br>

<dd>cp lib/HTTPD/Bench/ApacheBench/Run.pm
blib/lib/HTTPD/Bench/ApacheBench/Run.pm<br>

<dd>cp lib/HTTPD/Bench/ApacheBench.pm
blib/lib/HTTPD/Bench/ApacheBench.pm<br>

<dd>make[1]: Entering directory<br>

<dd>`/home/paul/.cpan/build/ApacheBench-0.73-hFvRj7/src'<br>

<dd>/usr/bin/perl /usr/share/perl/5.18.2/ExtUtils/xsubpp 
-typemap<br>

<dd>/usr/share/perl/5.18/ExtUtils/typemap  ApacheBench.xs >
ApacheBench.xsc &&<br>

<dd>mv ApacheBench.xsc ApacheBench.c<br>

<dd>cc -c  Â -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fstack-protector<br>

<dd>-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE<br>

<dd>-D_FILE_OFFSET_BITS=64 -O2 -g  Â -DVERSION=\"0.73\"
-DXS_VERSION=\"0.73\"<br>

<dd>-fPIC "-I/usr/lib/perl/5.18/CORE"  Â
ApacheBench.c<br>

<dd>/bin/sh: 1: cc: not found<br>

<dd>make[1]: *** [ApacheBench.o] Error 127<br>

<dd>make[1]: Leaving directory
`/home/paul/.cpan/build/ApacheBench-0.73-hFvRj7/src'<br>

<dd>make: *** [subdirs] Error 2<br>

<dd>  Â ADIRAJ/ApacheBench-0.73.tar.gz<br>

<dd>  Â make -- NOT OK<br>

<dd>Running make test<br>

<dd>  Â Can't test without successful make<br>

<dd>Running make install<br>

<dd>  Â Make had returned bad status, install seems
impossible<br><br>

<dd>Any thoughts, pointers?<br><br>

<dd>Thanks and br -- Paul<br><br>

<dd>P.S. Mark: the additional repositories are in
sources.list.d/koha.list, etc<br>

<dd>-- not in the main file.<br><br>
<br>

<dd>At 11:58 PM 12/24/2014 -0500, Mark Tompsett wrote:<br>

<dd>>Greetings,<br>

<dd>><br>

<dd>>I figured I had not done a 32-bit install in a while, so I
grabbed the<br>

<dd>>Ubuntu 14.04.1 LTS ISO.<br>

<dd>>I installed it in VirtualBox OpenSSH, LAMP, and Mail Server
selected (even<br>

<dd>>though I probably could have gone with nothing).<br>

<dd>>I then followed the instructions<br>

<dd>><<a href="http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages">http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages</a>><a href="http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages" eudora="autourl">http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages</a><br>

<dd>>Now, I was expecting some apache2 issues to crop up, but
strangely I had<br>

<dd>>no problems whatsoever running:<br>

<dd>>sudo apt-get install koha-common<br>

<dd>><br>

<dd>>You should NEVER tinker with /etc/apt/sources.list, when you
SHOULD ADD<br>

<dd>>/etc/apt/sources.list.d/NEWFILE.list and sudo apt-get
update.<br>

<dd>><br>

<dd>>GPML,<br>

<dd>>Mark Tompsett<br>

<dd>><br>

<dd>><br>

<dd>>From:
<<a href="mailto:chris.nighswonger@gmail.com" eudora="autourl">mailto:chris.nighswonger@gmail.com</a>>Christopher
Nighswonger<br>

<dd>>Sent: Wednesday, December 24, 2014 8:28 PM<br>

<dd>>To:
<<a href="mailto:paul.a@navalmarinearchive.com" eudora="autourl">mailto:paul.a@navalmarinearchive.com</a>>Paul
A<br>

<dd>>Cc:
<<a href="mailto:koha-devel@lists.koha-community.org" eudora="autourl">mailto:koha-devel@lists.koha-community.org</a>>Koha
Devel<br>

<dd>>Subject: Re: [Koha-devel] koha-common install<br>

<dd>><br>

<dd>><br>

<dd>>Something is broken with one of the dependencies of yaz on the
latest LTS.<br>

<dd>>I ran into this the other day on my Dev box. Haven't had time to
chase it<br>

<dd>>down yet.<br>

<dd>><br>

<dd>>Kind Regards<br>

<dd>><br>

<dd>>Chris<br>

<dd>>On Dec 24, 2014 4:33 PM, "Paul A"<br>

<dd>><<<a href="mailto:paul.a@navalmarinearchive.com" eudora="autourl">mailto:paul.a@navalmarinearchive.com</a>><a href="mailto:paul.a@navalmarinearchive.com">paul.a@navalmarinearchive.com</a>>
wrote:<br>

<dd>>Happy Christmas, Happy Holidays all around,<br>

<dd>><br>

<dd>>Having a look at latest releases of Ubuntu and Koha on a 32-bit
'sandbox'<br>

<dd>>server, newly built with latest 14.04.1 LTS Ubuntu. Koha failed
despite<br>

<dd>>major attempts at fulfilling dependencies, including CPAN which
cannot<br>

<dd>>find yaz, idzebra nor libnet-z3950-zoom-perl. I started with
130-odd<br>

<dd>>missing files, individually installed all but these, despite
adding deb's<br>

<dd>>for koha, and Debian wheezy and squeeze to
/etc/apt/sources.list<br>

<dd>><br>

<dd>>I'm *guessing* that i386 is no longer supported, but couldn't
find any<br>

<dd>>mention at koha-community. I should be able to get a 64-bit
sandbox after<br>

<dd>>staff leave for the holidays later today and will try again.
Here's the<br>

<dd>>gory details:<br>

<dd>><br>

<dd>>paul@hallowell:/$ lsb_release -a<br>

<dd>>Distributor ID: Ubuntu<br>

<dd>>Description:  Â  Ubuntu 14.04.1 LTS<br>

<dd>>Release:  Â  Â  Â  14.04<br>

<dd>>Codename:  Â  Â  Â trusty<br>

<dd>><br>

<dd>>paul@hallowell:/$ sudo apt-get install koha-common<br>

<dd>>Reading package lists... Done<br>

<dd>>Building dependency tree<br>

<dd>>Reading state information... Done<br>

<dd>>Some packages could not be installed. This may mean that you
have<br>

<dd>>requested an impossible situation or if you are using the
unstable<br>

<dd>>distribution that some required packages have not yet been
created<br>

<dd>>or been moved out of Incoming.<br>

<dd>>The following information may help resolve the situation:<br>

<dd>><br>

<dd>>The following packages have unmet dependencies:<br>

<dd>>koha-common : Depends: libnet-z3950-zoom-perl but it is not going
to be<br>

<dd>>installed<br>

<dd>>  Â  Â  Â  Â  Â  Â  Â 
Depends: idzebra-2.0 but it is not going to be installed<br>

<dd>>  Â  Â  Â  Â  Â  Â  Â 
Depends: yaz but it is not going to be installed<br>

<dd>>E: Unable to correct problems, you have held broken
packages.<br>

<dd>><br>

<dd>>br -- paul<br>

<dd>><br>

<dd>><br>

<dd>>_______________________________________________<br>

<dd>>Koha-devel mailing list<br>

<dd>><<a href="mailto:Koha-devel@lists.koha-community.org" eudora="autourl">mailto:Koha-devel@lists.koha-community.org</a>><a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>

<dd>><a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" eudora="autourl">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>

<dd>>website :
<<a href="http://www.koha-community.org/">http://www.koha-community.org/</a>><a href="http://www.koha-community.org/" eudora="autourl">http://www.koha-community.org/</a><br>

<dd>>git :
<<a href="http://git.koha-community.org/">http://git.koha-community.org/</a>><a href="http://git.koha-community.org/" eudora="autourl">http://git.koha-community.org/</a><br>

<dd>>bugs :
<<a href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a>><a href="http://bugs.koha-community.org/" eudora="autourl">http://bugs.koha-community.org/</a><br>

<dd>><br>

<dd>><br>

<dd>>----------<br>

<dd>>_______________________________________________<br>

<dd>>Koha-devel mailing list<br>

<dd>><a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>

<dd>><a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" eudora="autourl">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>

<dd>>website :
<a href="http://www.koha-community.org/">http://www.koha-community.org/</a><br>

<dd>>git :
<a href="http://git.koha-community.org/">http://git.koha-community.org/</a><br>

<dd>>bugs :
<a href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a><br><br>

<dd>---<br>

<dd>Maritime heritage and history, preservation and conservation,<br>

<dd>research and education through the written word and the arts.<br>

<dd><<a href="http://NavalMarineArchive.com">http://NavalMarineArchive.com</a>>
and
<<a href="http://UltraMarine.ca">http://UltraMarine.ca</a>><br><br>

<dd>_______________________________________________<br>

<dd>Koha-devel mailing list<br>

<dd><a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>

<dd><a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" eudora="autourl">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>

<dd>website :
<a href="http://www.koha-community.org/">http://www.koha-community.org/</a><br>

<dd>git :
<a href="http://git.koha-community.org/">http://git.koha-community.org/</a><br>

<dd>bugs :
<a href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a><br>

</dl></blockquote></body>
</html>