[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Missing Perl Library Date::Calc
Hi Ilina Syazwani Musa,
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:
yum install perl-Date-Calc perl-Geo-IP
apt install libdate-calc-perl libgeo-ip-perl
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.
Regards
David Newman
[1] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FIRStats2&data=01%7C01%7C%7C59a5146de2894da0310208d814ef6234%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=Sq8LU9pLcwq1nKHXvCl5OSSMSTFu5FMwX83PwOU9A5M%3D&reserved=0
On 20/06/2020 08:41, ILINA SYAZWANI BINTI MUSA via Eprints-tech wrote:
> Hi everyone,
>
> I'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 "missing Perl
> library, Date::Calc, Geo::IP."
>
> 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.
>
> Any ideas?
> Thank you.
>
> --
> Ilina Syazwani Musa (ISM)
> Pustakawan/ Librarian,
> Bahagian Sistem Maklumat/ Information System Division,
> Perpustakaan Utama/ Central Library,
> University of Malaya,
> 50603 Lembah Pantai,
> Kuala Lumpur.
> Tel : +603-7967 3296
> E-mail: _ilina at um.edu.my <mailto:ilina at um.edu.my>_
>
> " PENAFIAN: E-mel ini dan apa-apa fail yang dikepilkan bersamanya
> ("Mesej") 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.
>
>
> DISCLAIMER: This e-mail and any files transmitted with it ("Message")
> 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. "
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7C59a5146de2894da0310208d814ef6234%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=NUfNAmZfUaamNxsIVanJTMHn0dz4QuEgXUlnBSbbYSg%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C59a5146de2894da0310208d814ef6234%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=eyz8DV47sPdYdvrMpgoCJCzA5SDPxBC8%2Fc8tGGU5d7o%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=01%7C01%7C%7C59a5146de2894da0310208d814ef6234%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=UNANpFcAqrsuNqudDyN1VIM%2FUbfJwd29z4Wd02n5FCE%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200620/8c8ac419/attachment-0001.html