Don Levey wrote:


Do I just need to remove ALL the packages and start again from scratch?


You need to uninstall all the packages and build from source. And before you do that you need to verify all the bits and pieces that the rpm's spread around your system are gone. You should expect to find parts where you don't expect they should be. Once you've built this from scratch you'll wonder why you ever used rpm's. Just be sure to keep a copy of the conf files to reduce your reconfig time.

It may take you 30 minutes to an hour to do it the first time because of the learning process, but then next upgrade will take 10 minutes. It truly is trivial to build. Write a simple script to make the process repeatable. A script I use on one of the Solaris systems looks like this (the ldflags line is wrapped by the mailer) and it assumes there is no previous version on the system. It completes in 10 minutes:

#!/bin/sh
# filename: buildit.sh

# These settings are not appropriate for everyone and are not even
# needed in many cases.
CFLAGS="-O3"
CPPFLAGS="-O3"
LDFLAGS="-R/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/local/ssl/lib"
CC=gcc

export CFLAGS CPPFLAGS LDFLAGS CC

./configure \
 --enable-milter \
 --enable-bigstack \
 --disable-clamuko \
 --with-user=smmsp \
 --with-group=smmsp \
 --without-curl \
 --without-clamav-milter

make
make install

dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to