[Shake-dev] ShakeMao installation error

Nick Horspool n.horspool at gns.cri.nz
Thu Apr 16 21:28:46 UTC 2015


Pedram,

The error message "Can't locate DateTime.pm in @INC” means Perl can’t find the DateTime module which is a dependancy of ShakeMap. This was a new module required in update r1208 in July 2014 (notes attached) so I don't know if is included in your list of already installed modules. 

Try using CPAN to install it. Alternatively if you have installed it already, it may be located in a directory that is not in your Perl path. 

Hope that helps,
Nick



___________________________ 
Nick Horspool 
Earthquake Risk Specialist 
Risk and Society Department 
GNS Science 
TE PU AO 
1 Fairway Drive, Avalon, P O Box 30 368, Lower Hutt 5040, New Zealand 
E n.horspool at gns.cri.nz <mailto:n.horspool at gns.cri.nz>, T +64 4 570 4282, F +64 4 570 4600 
www.gns.cri.nz <http://www.gns.cri.nz/>

Please note that I am out of the office Thursdays. 






> On 17/04/2015, at 9:15 am, Pedram Pezeshk <pepezeshk at gmail.com> wrote:
> 
> Hi All,
> 
> I am trying to install ShakeMap (v3.5) on a linux machine (Opensuse 12.2). Issuing the "make all" command I got the "Can't locate DateTime.pm in @INC" error message (please find below the full error message). It seems that one of the Perl modules is missing but I cant figure out which one! I have installed all the modules listed in the "Shakemap software guide" document using CPAN.
> Any help will be appreciated! 
> Best 
> Pedram
> Error message:
> /usr/bin/install -m 0755 genex /home/sysop/ShakeMap/bin
> Can't locate DateTime.pm in @INC (@INC contains: /home/sysop/ShakeMap/bin/../
> lib /home/sysop/ShakeMap/bin/../perl/lib /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i586-linux-thread-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/site_perl .) at /home/sysop/ShakeMap/bin/../perl/lib/Genex/Html.pm line 16.
> BEGIN failed--compilation aborted at /home/sysop/ShakeMap/bin/../perl/lib/Genex/Html.pm line 16.
> Compilation failed in require at /home/sysop/ShakeMap/bin/../perl/lib/Genex/Stationlist.pm line 18.
> BEGIN failed--compilation aborted at /home/sysop/ShakeMap/bin/../perl/lib/Genex/Stationlist.pm line 18.
> Compilation failed in require at /home/sysop/ShakeMap/bin/../perl/lib/Genex/Copy.pm line 12.
> BEGIN failed--compilation aborted at /home/sysop/ShakeMap/bin/../perl/lib/Genex/Copy.pm line 12.
> Compilation failed in require at ./genex line 29.
> BEGIN failed--compilation aborted at ./genex line 29.
> make[2]: *** [/home/sysop/ShakeMap/bin/genex] Error 1
> make[2]: Leaving directory `/home/sysop/ShakeMap/src/
> shake'
> make[1]: *** [shake] Error 2
> make[1]: Leaving directory `/home/sysop/ShakeMap/src'
> make: *** [all] Error 2
> 
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev


Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20150417/4ac4f5b7/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Update r1208.pdf
Type: application/pdf
Size: 152887 bytes
Desc: not available
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20150417/4ac4f5b7/attachment-0001.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20150417/4ac4f5b7/attachment-0003.html>


More information about the Shake-dev mailing list