kiddinn / log2timeline

Automatically exported from code.google.com/p/log2timeline
GNU General Public License v3.0
0 stars 3 forks source link

Installation on Windows with active perl 5.14.2 #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi !

I encountered several issues when installing log2timeline on a win7 x64 system 
with ActivePerl 5.14.2. I had to :

On the \lib\Log2t\input\symantec.pm and \lib\Log2t\input\mcafeehs.pm files :
    Replace "use Shift" by "use v5.10.1"
    Replace envery "switch (" by "for ("
    Replace envery "case (" by "when ("

(perl said that it could not find the "Shift.pm" package)

On the \lib\Log2t\input\ls_quarantine.pm file :

    Line 124, add an "if($sth)" condition in order to englobe the "$result = $sth->execute();" and the following "while" loop.

(I had an error telling "Can't call method "execute" on an undefined value)

Bye :)

Original issue reported on code.google.com by achevali...@gmail.com on 14 Sep 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Hi

The "use Shift" and switch sentence is very much expected since that module has 
been deprecated from the language.

And there is a TODO entry in the ROADMAP to replace every occurrence of those 
entries (some have already been replaced) with the proper "correct" new way of 
doing things.

Added a quick patch: 
http://code.google.com/p/log2timeline/source/detail?r=5ab4280d116780a307bc678dde
3c823daf8b1364

for the ls_quarantine module.

The switch sentence will be fixed soon.

I'm keeping this bug open as a reminder to fix the "switch" problem.

Original comment by ki...@kiddaland.net on 14 Sep 2012 at 9:31

GoogleCodeExporter commented 9 years ago
This should be fixed in the new release that is coming up.

The switch module has been removed from both modules that are there. 

Original comment by ki...@kiddaland.net on 19 Sep 2012 at 4:28