[Koha-devel] Koha now requires Perl 5.20

David Cook dcook at prosentient.com.au
Thu Apr 19 02:16:01 CEST 2018


It looks like the Koha instance on RHEL 6.9 using Perl 5.10.1 is version 3.20.x. (It may be worth noting it isn't available on the Internet; it's on a private network.) Looks like 3.20.0 was a May 2015 release, so it is getting long in the tooth, although not quite as long as 3.8.0, which was in April 2012 (and the first version of Koha where I contributed a patch). Looks like 3.8.23 was February 2014. 

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia

Office: 02 9212 0899
Direct: 02 8005 0595


-----Original Message-----
From: koha-devel-bounces at lists.koha-community.org [mailto:koha-devel-bounces at lists.koha-community.org] On Behalf Of Paul A
Sent: Thursday, 19 April 2018 1:24 AM
To: koha-devel at lists.koha-community.org
Subject: Re: [Koha-devel] Koha now requires Perl 5.20

On 2018-04-18 09:57 AM, Jonathan Druart wrote:
>> We  have Koha running on a RHEL 6 instance which uses 5.10.1, and it 
>> seems
> to be doing fine so far. It is an older version of Koha though.
> 
> Which version is "an older version of Koha"?

Hesitating to intervene, but as a point of reference, we have three instances (WAN, LAN and backup) of Koha 3.8.24 running perfectly (Ubuntu LTS 14.04 [note 1] and 16.04) using Perl versions from 5.018002 up to 5.022001. Our notes do not show that we had to "downgrade" any particular Perl modules, libraries etc (just add a few during tarball
installs.)

Over the next few weeks, we will start our two-yearly software review with Ubuntu 18.04 LTS, and try the latest version of Koha (we decided in
2016 not to upgrade Koha, as we are a non-lending library and saw a performance hit on cataloguing and search, both OPAC and staff. "If it ain't broke, don't fix it" -- with obvious security mods.)

If we find anything relevant, I'll get back to you all.

Best -- Paul
Tired old sys-admin.

Note 1: our WAN OPAC server: /$ uptime 11:16:12 up 1022 days, 14:47 -- not too shabby for reliability ;=}


> 
> On Tue, 17 Apr 2018 at 22:36 David Cook <dcook at prosentient.com.au 
> <mailto:dcook at prosentient.com.au>> wrote:
> 
>     Hi Jonathan,____
> 
>     __ __
> 
>     Thanks for reverting that patch. ____
> 
>     __ __
> 
>     We have Koha running on a RHEL 6 instance which uses 5.10.1, and it
>     seems to be doing fine so far. It is an older version of Koha
>     though. I just did the following grep: grep -R "use 5\." *. I see
>     “use 5.010” but nothing greater than that. ____
> 
>     __ __
> 
>     I don’t think there’s really much that is special about installing
>     Koha on OpenSUSE per se. We just do a source install and use a
>     combination of vendor packages and CPAN modules to meet the required
>     dependencies. (Actually, we now do RPM builds that match a
>     particular structure that we used when we just did source installs
>     by hand.) I could take a look at the wiki though.____
> 
>     __ __
> 
>     David Cook____
> 
>     Systems Librarian____
> 
>     Prosentient Systems____
> 
>     72/330 Wattle St
>     <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>____
> 
>     Ultimo, NSW
>     <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>     2007____
> 
>     Australia____
> 
>     __ __
> 
>     Office: 02 9212 0899 <tel:02%2092%2012%2008%2099>____
> 
>     Direct: 02 8005 0595 <tel:02%2080%2005%2005%2095>____
> 
>     __ __
> 
>     *From:*Jonathan Druart
>     [mailto:jonathan.druart at bugs.koha-community.org
>     <mailto:jonathan.druart at bugs.koha-community.org>]
>     *Sent:* Tuesday, 17 April 2018 8:58 PM
> 
> 
>     *To:* David Cook <dcook at prosentient.com.au
>     <mailto:dcook at prosentient.com.au>>
>     *Cc:* koha-devel at lists.koha-community.org
>     <mailto:koha-devel at lists.koha-community.org>
> 
>     *Subject:* Re: [Koha-devel] Koha now requires Perl 5.20____
> 
>     __ __
> 
>     Hi David,____
> 
>     I did not confirm Mark's assumption on pushing but made sure 5.20
>     was available in most of the GNU/Linux distros I know.____
> 
>     If this restriction is not necessary it does not make sense to keep
>     it, I am going to revert the patch later today.____
> 
>     However I am pretty sure 5.10 is not enough.____
> 
>     If you have knowledge about how to install Koha on OpenSuse it would
>     be great to update the wiki, the existing page is from 2010. We have
>     people asking on #koha or the mailing list sometimes.____
> 
>     __ __
> 
>     Cheers,____
> 
>     Jonathan____
> 
>     __ __
> 
>     On Mon, 16 Apr 2018 at 22:41 David Cook <dcook at prosentient.com.au
>     <mailto:dcook at prosentient.com.au>> wrote:____
> 
>         Hi all,____
> 
>         ____
> 
>         I just tried to work on Koha master on OpenSUSE 42.3, which was
>         released on 2017-07-26, but I’m being prevented from installing
>         Koha, because OpenSUSE 42.3 uses Perl 5.18.2 rather than Perl
>         5.20. ____
> 
>         ____
> 
>         I tracked the change back to
>         https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20104.
>         The claim was that C4::Log::cronlogaction uses caller and that
>         caller doesn’t exist before Perl 5.20, but that’s not true. The
>         caller function has been in Perl for an extremely long time. You
>         can find it in RHEL 6.9 which uses Perl 5.10. I just used it in
>         Perl 5.18.2. So that doesn’t seem like a good justification for
>         requiring a minimum version of Perl 5.20.____
> 
>         ____
> 
>         I have a feeling that this change is going to bite other people
>         developing and using Koha around the world. There are people
>         running Koha on openSUSE, Suse Enterprise Linux, Fedora, Red
>         Hat, CentOS… probably other distros as well. Are we really going
>         to exclude everyone that doesn’t use recent Debian-based distros
>         from using newer versions of Koha?____
> 
>         ____
> 
>         It seems to me that this decision was made without community
>         discussion. Maybe I’m wrong, but I figured I’d bring it up with
>         everyone. ____
> 
>         ____
> 
>         For my part, I’m just going to hack around this requirement for
>         now, but I don’t really like that as a long-term solution. ____
> 
>         ____
> 
>         What does everyone else think?____
> 
>         ____
> 
>         David Cook____
> 
>         Systems Librarian____
> 
>         Prosentient Systems____
> 
>         72/330 Wattle St
>         <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>____
> 
>         Ultimo, NSW
>         <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>         2007____
> 
>         Australia____
> 
>         ____
> 
>         Office: 02 9212 0899 <tel:02%2092%2012%2008%2099>____
> 
>         Direct: 02 8005 0595 <tel:02%2080%2005%2005%2095>____
_______________________________________________
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/




More information about the Koha-devel mailing list