<div dir="ltr"><div><div>Thanks Christer,<br><br></div>I&#39;ve posted a patch here: <a href="https://github.com/eprints/eprints/pull/416">https://github.com/eprints/eprints/pull/416</a><br><br></div>Denis<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 9:50 AM, Christer Enkvist <span dir="ltr">&lt;<a href="mailto:christer.enkvist@slu.se" target="_blank">christer.enkvist@slu.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="SV">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Dear list,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">I noticed that the Debian packages for Eprints have some issues with Ubuntu 16. 
</span><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US">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…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US">First, create fake entry for apache2-mpm-prefork (required by eprints.deb) and install a MPM fork for apache:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">apt-get install libapache2-mod-php<br>
apt-get install -y equivs<br>
equivs-control apache2-mpm-prefork<br>
dpkg -i apache2-mpm-prefork_1.0_all.<wbr>deb<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US">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/<wbr>URI/Escape.pm.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Replace line 205
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">return join &#39;&#39;, @URI::Escape::escapes{$[0] =~ /(\C)/g};<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">with the following:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">if (utf8::isutf8($[0])) {<br>
my $s = $[0];<br>
utf8::encode($s);<br>
unshift(@, $s);<br>
}<br>
return join &#39;&#39;, @URI::Escape::escapes{$_[0] =~ /(.)/sg};<br>
}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US">See:
</span><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d"><a href="https://github.com/libwww-perl/uri/commit/7e03cdd3e5d25df5556a36dbfcd5d6cbcd676afb" target="_blank"><span lang="EN-US">https://github.com/libwww-<wbr>perl/uri/commit/<wbr>7e03cdd3e5d25df5556a36dbfcd5d6<wbr>cbcd676afb</span></a></span><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">
<span lang="EN-US">for more details (or if you want proper bugfix syntax).<u></u><u></u></span></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Christer<u></u><u></u></span></p>
</div>
</div>

<br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b><a href="mailto:d.pitzalis@unesco.org" style="border:none;text-decoration:none;color:#049cdb" target="_blank"><span style="color:#049cdb">Denis Pitzalis, PhD</span></a></b><br><a href="http://www.unesco.org" style="border:none;text-decoration:none;color:#b0b0b0" target="_blank"><span style="color:#b0b0b0">Web Architect/Lead Developer</span></a>
                    
                
                
                     
                
                
                    
                        <a href="http://www.unesco.org" style="border:none;text-decoration:none;color:#b0b0b0" target="_blank">
                            </a><br><br><a href="http://www.unesco.org" style="border:none;text-decoration:none;color:#b0b0b0" target="_blank"><span style="color:#b0b0b0">ERI/DPI/WEB</span></a><br><a href="https://goo.gl/maps/U2TEZ2x14MM2" style="border:none;text-decoration:none;color:#b0b0b0" target="_blank"><span style="color:#b0b0b0">7, place de Fontenoy<br>
                            75007 <span style="color:#e0e0e0">•</span> Paris <span style="color:#e0e0e0">•</span> France</span></a> <br>
                        <span style="color:#b0b0b0">Tel. +33 (0) 1 45 68 18 16</span>
                                        
                                
                
                     
                
                
                    
                        <a href="http://www.unesco.org" style="border:none;text-decoration:none;color:#b0b0b0" target="_blank">
                            </a><br><br><a href="http://www.unesco.org" style="border:none;text-decoration:none;color:#b0b0b0" target="_blank"><span style="color:#b0b0b0">http://www.unesco.org</span></a></div></div></div></div></div></div></div>
</div>