[EP-tech] Eprints on Ubuntu 16LTS

Christer Enkvist christer.enkvist at slu.se
Tue Sep 13 08:50:35 BST 2016


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 


More information about the Eprints-tech mailing list