[Koha-devel] koha-common install
Paul A
paul.a at navalmarinearchive.com
Sat Dec 27 00:35:55 CET 2014
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 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://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>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>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/
>
>
>----------
>_______________________________________________
>Koha-devel mailing list
>Koha-devel at lists.koha-community.org
>http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>website : http://www.koha-community.org/
>git : http://git.koha-community.org/
>bugs : 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> and <http://UltraMarine.ca>
More information about the Koha-devel
mailing list