Loads of trouble trying to ./configure clamav on ubuntu

Soldato
Joined
4 Nov 2003
Posts
5,738
Location
Edinburgh
So i've finally got into all this linux lark, been at this most of the day and still can't get the blumin thing to configure. I'm at my wits end with it right now, i'm not on the linux box anymore but when i boot it back up again in a bit i'll edit this and paste the config.log into here so you can tell me what i'm doing wrong.

Basically the error is saying i dont have zlib or zlib-devel or something like that. I've googled till i drop but even apt-get installing i get a cannot lock some place error. I;ve installed the build essential and something else but i still can't get this to compile. Arg! :mad:

Will report back later when i can be bothered with that dodgy operating system :p (no its not the user ;)).

Just needed to vent, cheers!
 
Soldato
OP
Joined
4 Nov 2003
Posts
5,738
Location
Edinburgh
Right i'll break this down as most of that went right voer my head, this is basically my first little go at installing a real linux distro. Previously i've just used IPcop, Clarkconnect and some other hardware firewall linux distro i can't remember the anme of.
Una said:
I take it your using breezy, (Im on dapper atm but its likely to be in a package repository if you dont feel like building it from source).
I am using breezy indeedy.
Una said:
To reconfigure it once its installed as a package run this command.
$ sudo dpkg-reconfigure clamav-base
Totally lost me, reconfigure what, to run as a package, huh? :D:confused:
Una said:
The cannot open lock error is when you are either not running apt as root, or there already is a package manager or something locking it.
Your probably right on that one, by this time i was getting a little lost and frustrated repeating myself i may have forgot to run as root.
Una said:
As for zlib-devel if you install from a package it should handle all dependancies for you. Otherwise your going to have to compile and install them by hand as well.
Right this sentence is related to the the reconfigure bit up there, but again, your way over my head.

On a side not, yes i am totally rubbish, and its really annoying that i can't do this by myself, i hate things getting the better of me :mad:! But i've given up searching on my own trying to do this!!


What i plan to do is set up all this:
Clamav
Shorewall
Squid
Squidguard
Snort
Portsentry
Dansguardian
Webmin
logwatch
P3scan
Spamassasin.
SSH

Eventually use it as a hardware firewall, virus scanner spam filter etc for my whole home network. But i was stumped by the first on that list, go me :cool:.

Kinda off topic are there any books i can buy, or magazines that are good for people totally new to this? Starter kits?
 
Soldato
OP
Joined
4 Nov 2003
Posts
5,738
Location
Edinburgh
Thats the thing you see, i don't like asking for help on such basic things because i hate it when other people do so within areas i'm actually competent. RTFM is probably pretty true here ;)

I didn't realise i could use the debian stuff, *slaps self* since its based on debian i should have thought ahead. I'll have a shot later, and yes i was trying to compile (failing miserably none-the-less :D)
 
Soldato
OP
Joined
4 Nov 2003
Posts
5,738
Location
Edinburgh
Your flying way over my head again with that dependancies talk :(.

I've just had a bash at the debian binaries (http://www.clamav.net/binary.html), managed to load gedit up as root, edited sources.list added:
from the terminal used:
apt-cache search clamav
it returned:
W: Couldn't stat source package list http://ftp.uk.debian.org sarge/volatile/main Packages (/var/lib/apt/lists/ ftp.uk.debian.org_debian-volatile_dists_sarge_volatile_main_binary-i386_Packages) - stat (2 No such file or dir ectory)
Now i'm lost again.
 
Soldato
OP
Joined
4 Nov 2003
Posts
5,738
Location
Edinburgh
I'm getting closer, heres the latest from the terminal:
alex@DIYRouter:~$ sudo apt-get update
Get:1 http://ftp.uk.debian.org sarge/volatile Release.gpg [189B]
Hit http://ftp.uk.debian.org sarge/volatile Release
Ign http://ftp.uk.debian.org sarge/volatile Release
Hit http://ftp.uk.debian.org sarge/volatile/main Packages
Fetched 189B in 7s (25B/s)
Reading package lists... Done
W: GPG error: http://ftp.uk.debian.org sarge/volatile Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EF7FFF4276981F4
W: You may want to run apt-get update to correct these problems
alex@DIYRouter:~$ sudo atp-get install clamav
sudo: atp-get: command not found
alex@DIYRouter:~$ sudo apt-get install clamav
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
clamav: Depends: libclamav1 (>= 0.88) but it is not going to be installed
Depends: libgmp3 but it is not installable
E: Broken packages

Why cant it install that package?
It's late i'm giving up, i'll check this thread when i get back from work about 6:30 tomorrow. Hopefully someone can hold my hand every step of the way :p:D.
 
Last edited:
Soldato
OP
Joined
4 Nov 2003
Posts
5,738
Location
Edinburgh
Cheers dunky, i'll have a mash at all that in a bit then, looks like i may have fubared stuff up with the debain stuff no doubt. I didn't thin i was a good idea doing that, thought id read somewhere it could cause trouble.
 
Back
Top Bottom