download gmp-4.1.4.tar.gz and clamav-0.84.tar.gz
In terminal as root user do the following (it will become clear as you go)
mkdir -p /SourceCache/gmp-1
cd /SourceCache/gmp-1
tar xzf /path/to/gmp/archive (I hope you understand you need your actual archive path)
mv gmp-{version} gmp
cd gmp
(configure gmp with the following switches)
--prefix=/usr --mandir=/usr/share/man --sysconfdir=/private/etc -- enable-devel --enable-mpbsd --enable-mpfr
cd /Developer/SDKs/
tar czf temp.tar.gz MacOSX10.3.9.sdk
cd MacOSX10.3.9.sdk/Developer
ln -s /Developer/Makefiles Makefiles
cd ../usr/lib
cp -p /usr/lib/libgmp.3.3.3.dylib /usr/lib/libgmp.a /usr/lib/ libgmp.la ./
cp -p /usr/lib/libmp.a /usr/lib/libmp.la /usr/lib/libmpfr.a /usr/lib/ libmp.3.1.7.dylib ./
ln -s libmp.3.1.7.dylib lib/libmp.3.dylib
ln -s libmp.3.1.7.dylib lib/libmp.dylib
ln -s libgmp.3.3.3.dylib lib/libgmp.3.dylib
ln -s libgmp.3.3.3.dylib lib/libgmp.dylib
cd ../include
cp /usr/include/gmp.h /usr/include/mp.h /usr/include/mpf2mpfr.h / usr/include/mpfr.h ./
cd /Developer/SDKs
mv MacOSX10.3.9.sdk MacOSX10.3.9MOD.sdk
tar xzf temp.tar.gz
mkdir -p /SourceCache/clamav-1
cd /SourceCache/clamav-1
tar xzf /path/to/clamav/archive (I hope you understand you need your actual archive path)
mv clamav-0.84 clamav
________________________________________________________________________
-- Dale
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html