Red Hat Bugzilla – Bug 1291044
Dependency missing for DNF installation.
Last modified: 2016-08-21 10:16:58 EDT
The package perl-JSON is necessary to run ClamTK, and is not installed with the clamtk package.
Without perl-JSON, the following error is generated when attempting to run clamtk:
[root@mars src]# clamtk
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /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 /usr/share/perl5/vendor_perl/ClamTk/Analysis.pm line 27.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ClamTk/Analysis.pm line 27.
Compilation failed in require at /usr/bin/clamtk line 22.
BEGIN failed--compilation aborted at /usr/bin/clamtk line 22.
I cannot duplicate this. I just tested it again, and ClamTk properly pulls in perl-JSON.
What version of ClamTk are you installing?