[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Eprints on Ubuntu 16LTS



Thanks Christer,

I've posted a patch here: https://github.com/eprints/eprints/pull/416

Denis

On Tue, Sep 13, 2016 at 9:50 AM, Christer Enkvist <christer.enkvist at slu.se>
wrote:

> Dear list,
>
>
>
> I noticed that the Debian packages for Eprints have some issues with
> Ubuntu 16.  From what I found, two small workarounds is required for
> those who do not want to compile from the source code.  If anyone have
> noticed something else, please let me know!  So far I can tell everything
> works but not everything have been tested yet?
>
>
>
> First, create fake entry for apache2-mpm-prefork (required by eprints.deb)
> and install a MPM fork for apache:
>
>
> apt-get install libapache2-mod-php
> apt-get install -y equivs
> equivs-control apache2-mpm-prefork
> dpkg -i apache2-mpm-prefork_1.0_all.deb
>
>
>
> Secondly, a bug/new feature in Perls URI module forces either an update of
> the URI module or a simple edit of the file /usr/share/eprints3/perl_lib/
> URI/Escape.pm.
>
>
>
> Replace line 205
>
> return join '', @URI::Escape::escapes{$[0] =~ /(\C)/g};
>
>
>
> with the following:
>
> if (utf8::isutf8($[0])) {
> my $s = $[0];
> utf8::encode($s);
> unshift(@, $s);
> }
> return join '', @URI::Escape::escapes{$_[0] =~ /(.)/sg};
> }
>
>
>
> See: https://github.com/libwww-perl/uri/commit/
> 7e03cdd3e5d25df5556a36dbfcd5d6cbcd676afb for more details (or if you want
> proper bugfix syntax).
>
>
>
> Regards,
>
> Christer
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
>


-- 
*Denis Pitzalis, PhD <d.pitzalis at unesco.org>*
Web Architect/Lead Developer <http://www.unesco.org>
<http://www.unesco.org>

ERI/DPI/WEB <http://www.unesco.org>
7, place de Fontenoy
75007 ? Paris ? France <https://goo.gl/maps/U2TEZ2x14MM2>
Tel. +33 (0) 1 45 68 18 16   <http://www.unesco.org>

http://www.unesco.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160913/e6ea43fd/attachment-0001.html