NCSC-NL / taranis3

Taranis
Other
59 stars 17 forks source link

error when trying to use taranis bash commands #19

Closed bsi-lz closed 5 years ago

bsi-lz commented 5 years ago

After merging your 3.5 changes into our codebase i get following error when trying to execute the taranis bash commands:

ERROR: failed to load plugin Taranis::Command::Install from /home/taranis/taranis-3.4.0/perl5/Taranis/Command/Install.pm: Can't locate File/Remove.pm in @INC (@INC contains: /home/taranis/taranis-3.4.0/perl5 /home/taranis/ChartDirector/lib /home/taranis/lib/perl5/x86_64-linux-thread-multi /home/taranis/lib/perl5 /home/taranis/sources/taranis-3.4.0/pm /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/taranis/taranis-3.4.0/perl5/Taranis/Command/Install.pm line 12, line 1003. BEGIN failed--compilation aborted at /home/taranis/taranis-3.4.0/perl5/Taranis/Command/Install.pm line 12, line 1003. Compilation failed in require at (eval 425) line 1, line 1003. BEGIN failed--compilation aborted at (eval 425) line 1, line 1003.

I can not find the File::Remove.pm anywhere in your 3.5 package...

bsi-lz commented 5 years ago

i guess its installed vie CPAN during installation?

markov2 commented 5 years ago

Good guess.

Oy, I introduced a new chick-n-egg problem. As user taranis, try "cpan -i File::Remove" Needs to get fixed in 3.5.1 -- Regards, MarkOv


   Mark Overmeer MSc                                MARKOV Solutions
   Mark@Overmeer.net                          solutions@overmeer.net

http://Mark.Overmeer.net http://solutions.overmeer.net

bsi-lz commented 5 years ago

That helped. Thanks alot

markov2 commented 5 years ago

This should have been fixed in 3.6.0, but probably wasn't. Extended fix in 3.6.2