in reply to Re^4: Tk::Canvas not working
in thread Tk::Canvas not working

Downloading an updated virus signature database might not help, because the name "Win64.Evo.gen{Trj}" indicates that this particular false positive was detected based on heuristic scan, not based on a signature match. So, the anti-virus software disassembles the code and looks for particular code patterns or operations rather than a specific match. For example, I remember, back in the day when everybody used MS-DOS, it was a popular thing for viruses to look for all the EXE or COM files within the current directory. So, anti-virus softwares were designed to look for this behavior rather than a particular code. So, when the anti-virus program noticed that a program searches for *.exe and *.com, then that caused an warning alert. And that's what you have here. It's not a match based alert. So, you will have to go into options and disable the heuristic scanner. I don't have Norton Antivirus, so I can't give you more step-by-step directions on how to do that. But that's what you'll have to do. Or you can just disable the entire virus scanner temporarily while you install the Tk module.

Replies are listed 'Best First'.
Re^6: Tk::Canvas not working
by BillKSmith (Monsignor) on Dec 10, 2024 at 16:18 UTC
    Aha! Norton seems to have updated itself recently. Several screens have changed slightly. In my ignorance of AV technology, I never considered this as a possible source of my problem. I agree that I probably could install Tk by turning off all AV. That would not help if AV later deletes the suspicious file again. I have found a page of options that looks promising. I still have to study them in view of your comments. Thanks.
    Bill
Re^6: Tk::Canvas not working
by BillKSmith (Monsignor) on Dec 13, 2024 at 18:49 UTC
    Thanks to both of you for your help. Still, the time has come for me to give up for now. Tk will not install even with force turned on and AV turned off. Its log says that there is a file not found but I can determine what file it means. I probably should reinstall perl, but have become a bit gun-shy.
    Bill
      Tk will not install even with force turned on and AV turned off.

      Could it be that Windows Defender is the culprit ?
      That definitely happened to me once and I had to turn Windows Defender off to get a full install of a gcc package I had downloaded from https://winlibs.com.
      I eventually found a way to re-enable Windows Defender such that the problematic file was not removed ... but I forget the exact process.
      I think there was some way of telling Windows Defender to accept that specific file, despite it being deemed malevolent.

      Cheers,
      Rob
      The following procedure resolved all related issues.

      Uninstall strawberry perl

      Turn off anti-virus in Norton for one hour

      Install strawberry perl

      Install TK as described in previous posts

      Turn on anti-virus

      Install several modules required by my script

      Run the script. Norton quarantined the same file as before. This time, I found and selected the option to restore this file and make it an exception to the anti-virus checking

      Run my script successfully!!

      Bill