<div dir="ltr">Hi David Newman and everyone,<div><br></div><div>At first, it didn&#39;t work. I got &quot;permission denied&quot; error. After I used &#39;chmod 777&#39; for the stats directory, I can run the command. Thank you for the explanation and the link. It&#39;s really helpful.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 20, 2020 at 3:56 PM David R Newman &lt;<a href="mailto:drn@ecs.soton.ac.uk">drn@ecs.soton.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

  
  <div>
    <p>Hi <span style="font-size:small;font-family:arial">Ilina
        Syazwani Musa,</span></p>
    <p><span style="font-size:small;font-family:arial">These are
        additional libraries needed for IRStats2, Geo::IP to work out
        the country based on the IP address and Date::Calc to process
        dates, e.g. work out what the date was one month ago, one year
        ago, etc.  To install these Perl modules use one of the
        following commands:</span></p>
    <p><span style="font-size:small;font-family:arial">yum install
        perl-Date-Calc perl-Geo-IP</span></p>
    <p><span style="font-size:small;font-family:arial">apt install
        libdate-calc-perl libgeo-ip-perl</span></p>
    <p><span style="font-size:small;font-family:arial">Once installed,
        you reload your webserver (e.g. apachectl graceful) to make sure
        it has loaded these new Perl modules.  There is a note on the
        wiki page for IRStats2 [1] that both of these are additional (to
        EPrints) dependencies but the page could do with a bit of an
        update, as there is quite a bit of out of date information and
        there is only instructions on how to install these dependencies
        on Debian based systems but not RedHat based ones.</span></p>
    <p><span style="font-size:small;font-family:arial">Regards</span></p>
    <p><span style="font-size:small;font-family:arial">David Newman</span></p>
    <p><span style="font-size:small;font-family:arial">[1]
        <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FIRStats2&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=STVOeyFHONkwVMUXFwQz5zXKNqJch3wu4UFb%2BlvkZ%2Fg%3D&amp;reserved=0" originalSrc="https://wiki.eprints.org/w/IRStats2" shash="ar7cujvRnFeM9hnMsY6XdTx8AlwMoenrolLfIgu0hNLX8TjtZoCD+EudSy/c3yBBtKfqWQOGNsn1KMPI6tJ4BBSGmJVucrrmbQOy55tGcdV8obCuyezaIdGlRG7e6PiqO+HGMApoXItOKnPgLK+5G+/8g/xz9FRYirVEzArsdc0=" target="_blank">https://wiki.eprints.org/w/IRStats2</a><br>
      </span></p>
    <div>On 20/06/2020 08:41, ILINA SYAZWANI
      BINTI MUSA via Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi everyone,
        <div><br>
        </div>
        <div>I&#39;ve installed the perl modules, Geo::IP and Date::Calc
          through cpan. Then, by using Eprints Bazaar, I installed
          IRStats2 for my eprints-3.4.1. Initially, there is an error
          saying that &quot;missing Perl library, Date::Calc, Geo::IP.&quot;</div>
        <div><br>
        </div>
        <div>So I copied the folder Geo and Date from
          /root/perl5/lib/perl5 into /opt/eprints3/perl_lib, then, I
          restarted the httpd service. Unfortunately, the Eprints still
          cannot detect Date::Calc only even though it is in the same
          folder as Geo.  </div>
        <div><br>
        </div>
        <div>Any ideas?</div>
        <div>Thank you.</div>
        <div>
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr"><span style="font-size:small;font-family:arial">Ilina
                        Syazwani Musa (ISM)</span>
                      <div style="font-size:small;font-family:arial">Pustakawan/
                        Librarian,</div>
                      <div style="font-size:small;font-family:arial">Bahagian
                        Sistem Maklumat/ Information System Division,<br>
                        Perpustakaan Utama/ Central Library,<br>
                        University of Malaya,<br>
                        50603 Lembah Pantai,<br>
                        Kuala Lumpur.<br>
                        Tel : +603-7967 3296<br>
                        E-mail: <u><a href="mailto:ilina@um.edu.my" target="_blank">ilina@um.edu.my</a></u></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div style="text-align:left;font-family:&quot;Times New Roman&quot;;color:blue">
        <div style="margin-left:40px"><font size="1">&quot; PENAFIAN: E-mel
            ini dan apa-apa fail yang dikepilkan bersamanya (&quot;Mesej&quot;)
            adalah ditujukan hanya untuk kegunaan penerima(-penerima)
            yang termaklum di atas dan mungkin mengandungi maklumat
            sulit. Anda dengan ini dimaklumkan bahawa mengambil apa jua
            tindakan bersandarkan kepada, membuat penilaian, mengulang
            hantar, menghebah, mengedar, mencetak, atau menyalin Mesej
            ini atau sebahagian daripadanya oleh sesiapa selain daripada
            penerima(-penerima) yang termaklum di atas adalah dilarang.
            Jika anda telah menerima Mesej ini kerana kesilapan, anda
            mesti menghapuskan Mesej ini dengan segera dan memaklumkan
            kepada penghantar Mesej ini menerusi balasan e-mel.
            Pendapat-pendapat, rumusan-rumusan, dan sebarang maklumat
            lain di dalam Mesej ini yang tidak berkait dengan urusan
            rasmi Universiti Malaya adalah difahami sebagai bukan
            dikeluar atau diperakui oleh mana-mana pihak yang disebut.<br>
          </font></div>
        <font size="1"><br>
          <br>
        </font>
        <div style="margin-left:40px"><font size="1">DISCLAIMER: This
            e-mail and any files transmitted with it (&quot;Message&quot;) is
            intended only for the use of the recipient(s) named above
            and may contain confidential information. You are hereby
            notified that the taking of any action in reliance upon, or
            any review, retransmission, dissemination, distribution,
            printing or copying of this Message or any part thereof by
            anyone other than the intended recipient(s) is strictly
            prohibited. If you have received this Message in error, you
            should delete this Message immediately and advise the sender
            by return e-mail. Opinions, conclusions and other
            information in this Message that do not relate to the
            official business of University of Malaya shall be
            understood as neither given nor endorsed by any of the
            forementioned. &quot;<br>
          </font></div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=pPm5qbqKEdO9vigausL%2B0aid0M5ckMuwgfwLp73WgEk%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="ECcsCIrmv+Vultmtaf3fcoVNJtc6o8OK5v3eDdfroH9xdF5vbpJMHwwjLlR5RpChkcDDsmLBJ6wnXwCtnTbJ5shnj1I4X223SqzNOFzOhXetotS9XADg9w/LZDNfGWPlfwM2Dli9BoipbhPhjllWJprJzGyKxWF6aZeb4gnS7WI=" target="_blank">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=VVilUdQyQ9rI7ccXl5JyAfaiMBSRa%2BBJReY8yuI7kyM%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="AtXjL/009sCXFgZzFQdehpKsimgPT78aLugJ/7i04IY9CFd1+2IimfzXeKWoMLjJ9xJoHz9y1ioyOpFcs6iYblrCeODFdO8DwSDjXyXFT1B+VIOegFpTC9+OBlLxSMivMxCS70moRnC5NkulGSqx7VN6ulPvG7kT9T5ulQx6PKM=" target="_blank">http://wiki.eprints.org/</a></pre>
    </blockquote>
  <div id="gmail-m_3503775770707227456DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
        <tbody><tr>
        <td style="width:55px;padding-top:13px"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=62j%2B1kEKihLXdOWHHpZWIgVZDJ3a3wDO9LClFoXVUrI%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="dENV6Md+d52KxUYePNOg2+KwcQhr7ldfCieSlC7j6ABXF3K2Nle6gnANJcWdOZuGMODcv9ySBY/rtRUXSSmjMpBaXL7H07HOp5E0c4RZGdCEuJ/s5Zv/ogA7I2XmDtPd6cO0dMG6fDgMotoBFKWPqg5TmB3Uxtiky7yoTC57peE=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=62j%2B1kEKihLXdOWHHpZWIgVZDJ3a3wDO9LClFoXVUrI%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="dENV6Md+d52KxUYePNOg2+KwcQhr7ldfCieSlC7j6ABXF3K2Nle6gnANJcWdOZuGMODcv9ySBY/rtRUXSSmjMpBaXL7H07HOp5E0c4RZGdCEuJ/s5Zv/ogA7I2XmDtPd6cO0dMG6fDgMotoBFKWPqg5TmB3Uxtiky7yoTC57peE=" style="color:rgb(68,83,234)" target="_blank">www.avg.com</a>
                </td>
        </tr>
</tbody></table><a href="#m_3503775770707227456_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-size:small;font-family:arial">Ilina Syazwani Musa (ISM)</span><div style="font-size:small;font-family:arial">Pustakawan/ Librarian,</div><div style="font-size:small;font-family:arial">Bahagian Sistem Maklumat/ Information System Division,<br>Perpustakaan Utama/ Central Library,<br>University of Malaya,<br>50603 Lembah Pantai,<br>Kuala Lumpur.<br>Tel : +603-7967 3296<br>E-mail: <u><a href="mailto:ilina@um.edu.my" target="_blank">ilina@um.edu.my</a></u></div></div></div></div></div></div></div>

<br>
<div style="text-align:left;font-family:Times New Roman;color:blue"><div style="margin-left:40px"><font size="1">&quot;
 PENAFIAN: E-mel ini dan apa-apa fail yang dikepilkan bersamanya 
(&quot;Mesej&quot;) adalah ditujukan hanya untuk kegunaan penerima(-penerima) yang
 termaklum di atas dan mungkin mengandungi maklumat sulit. Anda dengan ini dimaklumkan bahawa mengambil apa jua tindakan bersandarkan kepada, membuat penilaian, mengulang hantar, menghebah, mengedar, mencetak, atau menyalin Mesej ini atau sebahagian daripadanya oleh sesiapa selain daripada penerima(-penerima) yang termaklum di atas adalah dilarang. Jika anda telah menerima Mesej ini kerana kesilapan, anda mesti menghapuskan Mesej ini dengan segera dan memaklumkan kepada penghantar Mesej ini menerusi balasan e-mel. Pendapat-pendapat, rumusan-rumusan, dan sebarang maklumat lain di dalam Mesej ini yang tidak berkait dengan urusan rasmi Universiti Malaya adalah difahami sebagai bukan dikeluar atau diperakui oleh mana-mana pihak yang disebut.<br></font></div><font size="1"><br><br></font><div style="margin-left:40px"><font size="1">DISCLAIMER: This e-mail and any files transmitted with it (&quot;Message&quot;) is intended only for the use of the recipient(s) named above and may contain confidential information. You are hereby notified that the taking of any action in reliance upon, or any review, retransmission, dissemination, distribution, printing or copying of this Message or any part thereof by anyone other than the intended recipient(s) is strictly prohibited. If you have received this Message in error, you should delete this Message immediately and advise the sender by return e-mail. Opinions, conclusions and other information in this Message that do not relate to the official business of University of Malaya shall be understood as neither given nor endorsed by any of the forementioned. &quot;<br></font></div></div>