LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2012, 05:54 PM   #1
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Rep: Reputation: 7
klamav or clamtk - how to install, error when building packages with gui


Hello.

I've got problem with installation of klamav. I downloaded clamav from slackbuilds, installed it, addes user to a group and i had created clamav group earlier.

Clamav works from command line in terminal. I wanted to install klamav front-end in order to having gui but there is something wrong.

When launching ./DoubleClickOrExecuteMeToInstallKlamaAV-0.45 i have output like this, with error where creator finishes his work:


Code:
root@darkstar:/tmp/klamav-0.45-installer# dir
DoubleClickOrExecuteMeToInstallKlamaAV-0.45  INSTALL
root@darkstar:/tmp/klamav-0.45-installer# ./DoubleClickOrExecuteMeToInstallKlamaAV-0.45 
Verifying archive integrity... All good.
Uncompressing KlamAV.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................
***************************************************************************************************
                            Checking your ClamAV Installation
***************************************************************************************************

/usr/bin/clamscan
Clamscan binary present...
/usr/bin/freshclam
freshclam binary present...

Testing existence of 'clamav' user group..

Good: clamav group already exists.

***************************************************************************************************
               Looks Good! Will now proceed with the graphical installation...
***************************************************************************************************



Please wait while the Arkollon installer is compiled

This may take a few moments


******************************************************
 ERROR: An error occured running make.                
 Check the ".arkcomp-log" file in your home directory 
 for more information.                                
******************************************************
than in .arkcomp-log there is output like this:

Code:
Compiling arkollon
cd src/ && /usr/lib/qt/bin/qmake /tmp/selfgz2557223770/arkollon-0.4/src/src.pro -o Makefile
uic: File generated with too old version of Qt Designer (3.1)
uic: File generated with too old version of Qt Designer (3.1)
cd src/ && make -f Makefile 
make[1]: Wej<C5><9B>cie do katalogu `/tmp/selfgz2557223770/arkollon-0.4/src'
/usr/lib/qt/bin/uic wizardbase.ui -o ui_wizardbase.h
uic: File generated with too old version of Qt Designer (3.1)
File 'wizardbase.ui' is not valid
make[1]: *** [ui_wizardbase.h] B<C5><82><C4><85>d 1
make[1]: Opuszczenie katalogu `/tmp/selfgz2557223770/arkollon-0.4/src'
make: *** [sub-src-make_default] B<C5><82><C4><85>d 2
Can you help me? I have problem with Windows after leaving my home computer for my family and on all my hard disk drives, exept the one with Slackware, i have viruses. I'm trying to fix it with avast for linux, and i'm searching for other tools for it (i don't use anything for viruses on windows cause everything doesen't work on this operating system ( everything freezes ond Windows xp when trying to scan with avg, but i know that there was more than 11.000 viruses only on one hard disk drive!!) in order to fix it after leaving my computer to my family...


Working trough terminal is a bit pain, i'd like to have gui for it. Can you tell me how to install klamav or even clamtk?


Thank you for your time.


BTW - are there any other viruses scanner, like avast, for Linux - Slackware? I'm using avast right now cause i found slackbuild for it.

Last edited by firekage; 01-29-2012 at 05:56 PM.
 
Old 01-30-2012, 08:57 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
firekage,

As the error log says you will need to upgrade your Qt version, the gui needs a later version. But if your clamav is running already then you can purge the viruses in other drives easily.

Update your virus database first:

Quote:
--$ freshclam
Mount the infected partition into the /mnt directory.

Then scan the drives:

Quote:
--$ clamscan -vr /mnt/partition --remove=yes
[If you want to check the infected before deleting them you must create a place to move them. Create a folder /home/USERNAME/move then pass this switch when you issue the clamscan, example-]

Quote:
--$ sudo clamscan -vr /mnt/partition --move=/home/USERNAME/move
[The sudo is a matter of taste. I usually do it when I universally move files to eliminate excuses from clamscan.]

Hope this helps.

Good luck.

Last edited by malekmustaq; 01-30-2012 at 08:58 PM.
 
Old 01-31-2012, 03:36 AM   #3
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Thank You for an advice.

I prefer gui, that's why i want to install it. I would upgrade QT but i don't know how - i'm not experienced with compiling when i don't have slackbuild.
 
Old 01-31-2012, 05:39 AM   #4
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
doesn't klamav require kde3 (and therefore qt3)?

you may try clamtk in stead, but be prepared to install a bunch of perl modules

seems you can find all required perl modules on slackbuilds except perl-file-find-rule

Last edited by solarfields; 01-31-2012 at 05:42 AM.
 
Old 01-31-2012, 06:01 AM   #5
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by solarfields View Post
doesn't klamav require kde3 (and therefore qt3)?

you may try clamtk in stead, but be prepared to install a bunch of perl modules

seems you can find all required perl modules on slackbuilds except perl-file-find-rule

On slackbuilds.org there is no clamtk slackbuild.
 
Old 01-31-2012, 06:02 AM   #6
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
"seems you can find all required perl modules, except..."
 
Old 01-31-2012, 11:40 AM   #7
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
By the way what version is your slackware?
Please also check your Qt version find out what you have and what Klamav needs.

There is a clamav GUI here. you can check it. It runs on a GTK+1.2.

Last edited by malekmustaq; 01-31-2012 at 11:43 AM.
 
Old 02-01-2012, 03:57 AM   #8
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by malekmustaq View Post
By the way what version is your slackware?
Please also check your Qt version find out what you have and what Klamav needs.

There is a clamav GUI here. you can check it. It runs on a GTK+1.2.
1. Slackware x32, 13.37.
2. QT is 4.7. GTK+ is 2.2.
3. I don't know what Klamav needs, i found only this site, and there is no info about this, or i can't find it.

http://linuxappfinder.com/package/klamav

BTW - i wouldn't know that clamav gui is called avscan...strange.


Tried to compile clam gui:

Code:
/usr/include/gtk-1.2/gtk/gtkselection.h:103:6: note: expected 'const guchar *' but argument is of type 'const gchar *'
Compiling module fprompt.o
Compiling module guirgbimg.o
Compiling module guiutils.o
Compiling module main.o
Compiling module menu_button.o
Compiling module obj.o
Compiling module obj_fio.o
Compiling module pdialog.o
Compiling module pulist.o
Compiling module tool_bar.o
Compiling module disk.o
In file included from disk.cpp:31:0:
../include/string.h:47:65: error: new declaration 'char* strcasestr(const char*, const char*)'
/usr/include/string.h:369:28: error: ambiguates old declaration 'const char* strcasestr(const char*, const char*)'
disk.cpp: In function 'char* PrefixPaths(const char*, const char*)':
disk.cpp:1011:13: warning: deprecated conversion from string constant to 'char*'
make[1]: *** [disk.o] Error 1
make: *** [all] Error 2
root@darkstar:/tmp/avscan-5.1.1-openssl#
I'm too stupid for it.

Last edited by firekage; 02-01-2012 at 04:22 AM.
 
Old 02-01-2012, 04:45 AM   #9
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
no you are not stupid, simply there seems to be no easy way to get a GUI for clamav for Slackware at the moment

you can check http://www.clamav.net/lang/en/downlo.../3rdparty-gui/ for a list of clamav GUIs just FYI

as for ClamTK: it seems to be actively developed. What you can try is to install all its perl modules dependencies from SlackBuilds.org and for the ones that are not available there, simply use cpan2tgz (this nice tool you can install from SlackBuilds.org)

after that ClamTK is supposed to work

Last edited by solarfields; 02-01-2012 at 04:49 AM.
 
Old 02-02-2012, 04:35 AM   #10
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Thank you for a reply.
 
Old 02-02-2012, 04:47 AM   #11
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
did you find a solution?
 
Old 02-03-2012, 05:11 AM   #12
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by solarfields View Post
did you find a solution?
No. I tried fighting with my problems using AVG - other topic. I don't know yet how to compile from source, still learning. I had to save my stuff from my 6 hard drives because they got infected (somebody from my family used Windows...with infected hdd or pendrive - i'm sure of it cause they said so), and still trying to fix it. When i fix it than i will try software from your link.

Thank you.

Last edited by firekage; 02-03-2012 at 05:13 AM.
 
Old 02-03-2012, 05:52 AM   #13
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
I installed (succesfully) FETCAV front end - it works but i don't know what to do in order to having "icon" in KDE for FETCAV gui for clamav. It works from terminal.

edit - well, FETCAV works, i have gui, but after setting it...clamav doesen't work.

Quote:
oot@darkstar:/usr/local/sbin# fetcav.sh
No parameter passed... starting in Wizard mode by default...
/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc:27: error: unexpected identifier `gtk-alternative-button-order', expected keyword - e.g. `style'
/home/firekage/.kde/share/config/gtkrc:10: error: unexpected identifier `gtk-theme-name', expected keyword - e.g. `style'

Last edited by firekage; 02-03-2012 at 05:58 AM.
 
Old 02-03-2012, 07:23 AM   #14
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
sent you an email

Last edited by solarfields; 02-03-2012 at 07:29 AM.
 
Old 02-03-2012, 07:47 AM   #15
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by solarfields View Post
sent you an email
Could you send me a private message? My email account (interia.pl) went down - server doesen't respond, i can't evel log to it.

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating ClamTk AntiVirus Engine, GUI... Deckster1972 Linux - Newbie 1 10-20-2011 10:53 PM
can't install GTK gui building package nakul Linux - Software 6 03-21-2010 05:55 AM
Klamav: Qt error during configure leiw Linux - Newbie 2 12-17-2006 10:58 PM
Mandriva 2007 Power Pack can't install clamtk Grogerf Mandriva 14 12-12-2006 04:46 AM
Error when installing KlamAV Thakowbbery Linux - Software 0 10-13-2005 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration