PDA

View Full Version : KlamAV GUI for ClamAV


gonzalo76
13th February 2005, 09:44 AM
Hi, I just wanted a gui for clamav antivirus and I found klamav but I can't figure out how to install it.
This is the error message I received:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I did
[root@PC-GONZALO klamav-0.12.1]# whereis gcc
gcc: /usr/libexec/gcc

Does anybody know how to fix this?

ghaefb
13th February 2005, 10:05 AM
It looks like you don't have gcc installed.
You need to install development packages -> Development Tools

ilja
13th February 2005, 11:07 AM

[root@josephine ~]# whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz

You only have the libraries.

gnutux
14th April 2005, 08:18 PM
I am also trying to install klamav but it keeps saying that my kernel's capabilities are built-in:


************************************************** *************************************************
Welcome to the KlamAV Installation Process
************************************************** *************************************************

I'm going to attempt to install the following components:
1. The component that will give KlamAV real-time access to files. (dazuko: http://www.dazuko.org)
2. The KlamAV front-end and the mail scanning plugin (klammail: part of the KlamAV project).. (http://www.sf/net/projects/klamav).

Do you still want to continue?

(Y/n) ?
Y
************************************************** *************************************************
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.


************************************************** *************
Step One:
Building Real-Time Scanning Component (dazuko kernel module)...
Please note that this step is necessary even if you already have
dazuko installed. At the moment, KlamAV needs to know the exact
location of dazuko - so it installs it in /lib/modules/2.6.9-1.667/ and loads
it from there.
************************************************** *************

checking host system type... Linux
kernel source in /lib/modules/2.6.9-1.667/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
checking if Linux is 2.6... yes (2.6.9)
checking if security module support is enabled... yes
verifying capabilities are not built-in... built-in :(
error: capabilities are built-in to the kernel:
you will need to recompile a kernel with capabilities
as a kernel module


xboxrulz

Angelus
15th April 2005, 09:17 AM
I'm also getting the error with the kernel having built in capabillities.. Any ideas?

Angelus
18th April 2005, 12:31 AM
I managed to get passed the errors complaining about the kernel having built in capabillties. I just installed the latest kernel with yum(ex), but now I'm having some other issuses..



./configure successful

=======================
Configuration summary
=======================

module events = ON_OPEN ON_EXEC
devfs support = no
rsbac support = no
stacking support = yes
local __d_path() = yes
module debug = no
library 1.x compatibility = yes

make -C /lib/modules/2.6.10-1.770_14.rhfc3.at/build SUBDIRS=/home/schuyler/klamav-0.17/src/dazuko-2.0.5 modules
make[1]: Entering directory `/lib/modules/2.6.10-1.770_14.rhfc3.at/build'
CC [M] /home/schuyler/klamav-0.17/src/dazuko-2.0.5/dazuko_linux26_lsm.o
CC [M] /home/schuyler/klamav-0.17/src/dazuko-2.0.5/dazuko_linux26.o
/home/schuyler/klamav-0.17/src/dazuko-2.0.5/dazuko_linux26.c:287: error: static declaration of ‘__d_path’ follows non-static declaration
include/linux/dcache.h:259: error: previous declaration of ‘__d_path’ was here
make[2]: *** [/home/schuyler/klamav-0.17/src/dazuko-2.0.5/dazuko_linux26.o] Error 1
make[1]: *** [_module_/home/schuyler/klamav-0.17/src/dazuko-2.0.5] Error 2
make[1]: Leaving directory `/lib/modules/2.6.10-1.770_14.rhfc3.at/build'
make: *** [dummy_rule.o] Error 2


Any ideas anyone?

joao rebelo
12th March 2006, 11:36 AM
Hi, probabli, you all ready have your problem resolved, but for the ones that don t have it, i had the some probleme as you and what i made is, first forget the Klamav Scrip Installer and install the files manualy.
1º Download the last Dazuko version, now is 2.2.0 and then decompress the tar ball and in the Dazuko directori:
isuue this command:
localhost# ./configure && make && make install

at this point you all ready have the Dazuku 2.2.0 installed, now download da Klamav souce tar ball, decompress an in the Klamav directory, issue this commands:

localhost# ./configure && make && make install

at this point every thing must run, in a console type klamav, your anti-virus must start run in a grafical mode.
Afther this you can setup a shortcup to Klamav in your desktop or wherever you want.

Red Knuckles
18th April 2006, 09:00 PM
Hi, probabli, you all ready have your problem resolved, but for the ones that don t have it, i had the some probleme as you and what i made is, first forget the Klamav Scrip Installer and install the files manualy.
1º Download the last Dazuko version, now is 2.2.0 and then decompress the tar ball and in the Dazuko directori:
isuue this command:
localhost# ./configure && make && make install

at this point you all ready have the Dazuku 2.2.0 installed, now download da Klamav souce tar ball, decompress an in the Klamav directory, issue this commands:

localhost# ./configure && make && make install

at this point every thing must run, in a console type klamav, your anti-virus must start run in a grafical mode.
Afther this you can setup a shortcup to Klamav in your desktop or wherever you want.

I'm still getting this error when I try to configure Dazuko:

[root@c-xx-xxx-xxx-xx dazuko-2.2.0]# ./configure && make && make install
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.16-1.2080_FC5/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.16)
checking if security module support is enabled... yes
verifying capabilities are not built-in... built-in :(
error: capabilities are built-in to the kernel:
you will need to recompile a kernel with capabilities
as a kernel module

and I'm to much of a newbie to know how to "recompile a kernel with capabilities as a kernel module". So how do I "recompile a kernel with capabilities as a kernel module"? Also what do I need to do about 'RSBAC' and 'devfs'? :confused:

joao rebelo
19th April 2006, 12:30 AM
Hi,
i think the best thing is to download the last kernel version at www.kernel.org, and than recompile, afther you decompresse the kernel file, copy the confiuration file of the actual kernel that you have in the /boot directory and rename the file in the directory of the new kernel to .config , than edit this file and chang to m the line

CONFIG_SECURITY_CAPABILITIES=m

like this, afther you do that you must issue
#make oldconfig

answer the questions to the new featurs (the kernel gives you the best option), than

login as root with su command and issue:

#make && make modules modules_install

and than reboot whith the new kernel if the Klamav ask for a nother feature you must recompile the kernel again, in mi case i had to recompile 2 or 3 times.

To install the Klamav is better to use CLI like ./configure, make && make install
because the GUI does work in some distros

Red Knuckles
20th April 2006, 11:49 PM
Hi,
i think the best thing is to download the last kernel version at www.kernel.org, and than recompile, afther you decompresse the kernel file, copy the confiuration file of the actual kernel that you have in the /boot directory and rename the file in the directory of the new kernel to .config , than edit this file and chang to m the line

CONFIG_SECURITY_CAPABILITIES=m

like this, afther you do that you must issue
#make oldconfig

answer the questions to the new featurs (the kernel gives you the best option), than

login as root with su command and issue:

#make && make modules modules_install

and than reboot whith the new kernel if the Klamav ask for a nother feature you must recompile the kernel again, in mi case i had to recompile 2 or 3 times.

To install the Klamav is better to use CLI like ./configure, make && make install
because the GUI does work in some distros

Ok, I'm a newbie and these instructions are over my head. Is this what I'm supposed to download 'patch-2.6.16.9.bz2'? I downloaded it and when I try to decompress it I get :

[ben@localhost ~]$ tar -xjvf patch-2.6.16.9.bz2
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

I'm not sure if that's the right commcand for this process.

joao rebelo
21st April 2006, 10:23 AM
Hi,
no, what you have to download is the http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.9.tar.bz2

If is the first time that you are going to compile the kernel, is better first read the readme and install file afther decompress the tar ball.

And if you need more help fell free to ask.

Beste regards.

João Rebelo

joao rebelo
21st April 2006, 10:33 AM
Hi, again,

to decompress the tar ball you must issue:

linux# tar -zxfvkernel_file_name

or you can do by type:

linux# bunzip2 kernel_linux_file
linux# tar -xfv kernel_linux_file

Or you have other alternative, if you are using fedora with gnome, you can right clik mouse on the file and you will have a optin "extact"

Red Knuckles
15th May 2006, 09:08 PM
Hi, probabli, you all ready have your problem resolved, but for the ones that don t have it, i had the some probleme as you and what i made is, first forget the Klamav Scrip Installer and install the files manualy.
1º Download the last Dazuko version, now is 2.2.0 and then decompress the tar ball and in the Dazuko directori:
isuue this command:
localhost# ./configure && make && make install

at this point you all ready have the Dazuku 2.2.0 installed, now download da Klamav souce tar ball, decompress an in the Klamav directory, issue this commands:

localhost# ./configure && make && make install

at this point every thing must run, in a console type klamav, your anti-virus must start run in a grafical mode.
Afther this you can setup a shortcup to Klamav in your desktop or wherever you want.


I just tried to install Klamav again. I downloaded source tar ball and decompressed [tar -zxvf] and when I ran the 'localhost# ./configure && make && make install' command I got this error:

checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

How to fix??? :(

joao rebelo
16th May 2006, 09:02 PM
Can you copy and post the error?