EPrints Technical Mailing List Archive
Message: #05926
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Eprints on Ubuntu 16LTS
- To: Eprints Tech Mailing List <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Eprints on Ubuntu 16LTS
- From: Denis Pitzalis <denis.pitzalis@gmail.com>
- Date: Tue, 13 Sep 2016 11:10:25 +0200
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/ for more details (or if you want proper bugfix syntax).7e03cdd3e5d25df5556a36dbfcd5d6 cbcd676afb
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/
--
- References:
- [EP-tech] Eprints on Ubuntu 16LTS
- From: Christer Enkvist <christer.enkvist@slu.se>
- [EP-tech] Eprints on Ubuntu 16LTS
- Prev by Date: [EP-tech] Eprints on Ubuntu 16LTS
- Next by Date: [EP-tech] EPrints 3.4 Preview 2 released
- Previous by thread: [EP-tech] Eprints on Ubuntu 16LTS
- Next by thread: [EP-tech] EPrints 3.4 Preview 2 released
- Index(es):