[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Missing Perl Library Date::Calc
Hi David Newman and everyone,
At first, it didn't work. I got "permission denied" error. After I used
'chmod 777' for the stats directory, I can run the command. Thank you for
the explanation and the link. It's really helpful.
On Sat, Jun 20, 2020 at 3:56 PM David R Newman <drn at ecs.soton.ac.uk> wrote:
> 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%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=STVOeyFHONkwVMUXFwQz5zXKNqJch3wu4UFb%2BlvkZ%2Fg%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 <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%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=pPm5qbqKEdO9vigausL%2B0aid0M5ckMuwgfwLp73WgEk%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=VVilUdQyQ9rI7ccXl5JyAfaiMBSRa%2BBJReY8yuI7kyM%3D&reserved=0
>
>
>
> <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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=62j%2B1kEKihLXdOWHHpZWIgVZDJ3a3wDO9LClFoXVUrI%3D&reserved=0> Virus-free.
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=%2FlBuL784o7pPHV089y8jkUhWojLJwR46%2FQrNZwz8sRU%3D&reserved=0
> <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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C00270e371af84152ee6f08d8163eb0a7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=62j%2B1kEKihLXdOWHHpZWIgVZDJ3a3wDO9LClFoXVUrI%3D&reserved=0>
> <#m_3503775770707227456_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
--
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 <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. "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200622/2167f778/attachment-0001.html