0 Replies Latest reply: Apr 27, 2010 5:44 PM by makdaddy8888
makdaddy8888 Level 1 Level 1 (0 points)
-- Posted on 10.5 server forum moved to 10.4 server forum

I too am having enormous difficulty.
I have read the article on how to install clamav 0.96 and 0.95.3 but still cannot get it to make >properly. I first thought it was because I was using xcode 2.4 so i downloaded 2.5 which has gcc >4.0.1 from apple but i get a 'checking for gcc bug PR28045 code' one problem after another


Firstly I HAVE read and (to the best of my knowledge) understood the tutorial on how to install clamav version 0.95.3 on PPC

This below make was configured with all the correct syntax required as per the tutorial

I have a PowerMac G5 Dual 2.3 running 10.4.11 server xcode 2.4 was installed and i managed to install 2.5 after downloading xcode from connect.apple.com (also very unintuitive) also managed to use the gcc 3.3 to make clamav 0.95.3

+server:/SourceCache/clamav-0.95.3 root# make+
+make all-recursive+
+Making all in libltdl+
+make all-am+
+make[3]: Nothing to be done for `all-am'.+
+Making all in libclamav+
+^[[Amake all-recursive+
+Making all in lzma+
+make[4]: Nothing to be done for `all'.+
+Making all in .+
+Making all in clamscan+
+make[2]: Nothing to be done for `all'.+
+Making all in clamd+
+make[2]: Nothing to be done for `all'.+
+Making all in clamdscan+
+make[2]: Nothing to be done for `all'.+
+Making all in freshclam+
+make[2]: Nothing to be done for `all'.+
+Making all in sigtool+
+make[2]: Nothing to be done for `all'.+
+Making all in clamconf+
+make[2]: Nothing to be done for `all'.+
+Making all in database+
+make[2]: Nothing to be done for `all'.+
+Making all in docs+
+make[2]: Nothing to be done for `all'.+
+Making all in etc+
+make[2]: Nothing to be done for `all'.+
+Making all in clamav-milter+
+make[2]: Nothing to be done for `all'.+
+Making all in test+
+make[2]: Nothing to be done for `all'.+
+Making all in unit_tests+
+make[2]: Nothing to be done for `all'.+
+Making all in clamdtop+
+make[2]: Nothing to be done for `all'.+
+make[2]: Nothing to be done for `all-am'.+
+osxserver:/SourceCache/clamav-0.95.3 root# gcc -v+
+Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs+
+Thread model: posix+
+gcc version 3.3 20030304 (Apple Computer, Inc. build 1819)+
+osxserver:/SourceCache/clamav-0.95.3 root#+

I think in my limited unix knowledge base, I removed everything with the word clam or clamav from the server. Check what happends when i do a find even. I thought/presumed that the building of clamav would re-install these files. SO i removed from usr/local/bin clamav-config, clambc,clamconf,clamdtop,clamscan,clamdscan

I did this as I could not understand when i had finished building and installing the files (a few days ago) I had issued a clamd and server said version 0.94.2 was still being used so I removed everything I could think of

+server:/ root# find . -name "clamd"+
./SourceCache/clamav-0.95.3/clamd
./SourceCache/clamav-0.95.3/clamd/.libs/clamd
./SourceCache/clamav-0.95.3/clamd/clamd
./usr/local/sbin/clamd
./Volumes/Backup/private/var/root/clamav-0.94.2/clamd
./Volumes/Backup/private/var/root/clamav-0.94.2/contrib/init/RedHat/clamd
./Volumes/Backup/private/var/root/clamav-0.94.2/contrib/init/Solaris10/clamd
./Volumes/Backup/private/var/root/clamav-0.94.2/contrib/init/SuSE/clamd
./Volumes/Backup/usr/local/sbin/clamd
./Volumes/Backup/usr/sbin/clamd

I do have a backup I can restore these specific files from.

Power Mac g5 Dual 2.3, Mac OS X (10.4.11)