[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Eprints on Ubuntu 16LTS
- Subject: [EP-tech] Eprints on Ubuntu 16LTS
- From: christer.enkvist at slu.se (Christer Enkvist)
- Date: Tue, 13 Sep 2016 07:50:35 +0000
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160913/fd2f92c3/attachment.html