I'm trying to install the DateTime module. I went into CPAN from a terminal and started the install with make. It ran for hours and when it finally stopped, the last line simply said 'killed'. My perl script using the module still won't compile, it says Can't locate DateTime.pm in @INC (you may need to install the DateTime module)
I searched the file system and found the following:
/home/kelly/.cpan/build/DateTime-1.54-0/lib/DateTime /home/kelly/.cpan/build/DateTime-Locale-1.33-1/lib/DateTime /home/kelly/.cpan/build/DateTime-1.54-1/lib/DateTime /home/kelly/.cpan/build/DateTime-Locale-1.33-0/lib/DateTime So apparently the module is there but Perl can't find it?
I had previously tried installing the module and stopped it because I thought it was in an infinite loop. Also, I had previously installed some updates and hadn't restarted the computer yet. But it doesn't seem likely that either of those interfered...
sudo apt-get install libdatetime-perlon debian and derivatives). BTW, note that the ~/.cpan/build/ directory is the directory that cpan uses to build a module before installing it. It is not the final built module. The last line you mention, "killed", is nowhere near enough info to determine the cause of the build failure. You'll need to read and understand previous lines. What kind of system are you building on? a PC with lots of RAM?gccto be installed and working. And, DateTime is a library module with numerous dependencies - the build failure may be in one of those modules rather than in DateTime itself. This is yet another reason why you should install a pre-built package rather than build it yourself - all those dependencies will already be built and packaged.sudo apt-get install ...command from my first comment.