hi all,
-- On May 16, 2005 12:22:13 PM +1000 Daniel Mons <[EMAIL PROTECTED]>
wrote:
...
Again, everything compiled via Fink lives in /sw, so you can always give it a
go without breaking anything important. See for yourself.
Uwe Pieczynski wrote:
That won´t work at all! The SOURCE distribution has to be compiled. That
we still have the compile problem with Tiger !
A binary distribution on fink would be needed!
just fyi fwiw,
given the gmp-4.1.4 prereq built as:
unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND LC_ALL LANG
LINGUAS
./configure \
--prefix=/usr/local \
--disable-cxx \
--enable-fft \
--enable-mpbsd \
--enable-mpfr \
--enable-static \
--enable-shared
make
make check
All 68 tests passed
make install
ls -al /usr/local/lib/libgmp*
-rwxr-xr-x 1 root staff 786996 May 21 14:19
/usr/local/lib/libgmp.3.3.3.dylib
lrwxr-xr-x 1 root staff 18 May 21 14:19 /usr/local/lib/libgmp.3.dylib
-> libgmp.3.3.3.dylib
-rw-r--r-- 1 root staff 1033160 May 21 14:19
/usr/local/lib/libgmp.a
lrwxr-xr-x 1 root staff 18 May 21 14:19 /usr/local/lib/libgmp.dylib ->
libgmp.3.3.3.dylib
-rwxr-xr-x 1 root staff 705 May 21 14:19
/usr/local/lib/libgmp.la
a subsequent build of clamav-0.85.1:
cd /usr/ports/clamav-0.85.1
unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND LC_ALL LANG
LINGUAS
setenv LDFLAGS "-ldl -L/usr/local/lib -lgmp -lcurl"
aclocal
./configure \
--prefix=/usr/local/clamav \
--sysconfdir=/var/Settings/ClamAV \
--with-dbdir=/var/Data/ClamAV \
--with-db1=main.cvd \
--with-db2=daily.cvd \
--mandir=/var/man \
--disable-debug \
--enable-shared --enable-static \
--with-user=clamadm --with-group=clamadm \
--with-tcpwrappers \
--with-libcurl \
--enable-dns \
--disable-clamuko \
--disable-milter \
--enable-clamav
make
make install
builds fine & w/o error.
checking the clamscan binary, looks OK:
otool -L /usr/local/clamav/bin/clamscan
/usr/local/clamav/bin/clamscan:
/usr/local/clamav/lib/libclamav.1.dylib (compatibility version 2.0.0,
current version 2.12.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
88.0.0)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version
1.0.2)
/usr/local/lib/libgmp.3.dylib (compatibility version 7.0.0, current version
7.3.0)
/usr/local/lib/libcurl.3.dylib (compatibility version 4.0.0, current
version 4.0.0)
/usr/local/ssl/lib/libssl.0.9.7.dylib (compatibility version 0.9.0, current
version 0.9.7)
/usr/local/ssl/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.0,
current version 0.9.7)
/usr/lib/libz.1.dylib (compatibility version
1.0.0, current version 1.2.2)
/usr/lib/libmx.A.dylib (compatibility version
1.0.0, current version 92.0.0)
and a quick test shows:
/usr/local/clamav/bin/clamscan --recursive --log-verbose
--log=/var/Logs/clamscan.txt /usr/ports/clamav-0.85.1/test
--database=/var/Data/ClamAV
/usr/ports/clamav-0.85.1/test/clam-error.rar: RAR module failure
/usr/ports/clamav-0.85.1/test/clam-error.rar: OK
/usr/ports/clamav-0.85.1/test/clam.cab: ClamAV-Test-File FOUND
/usr/ports/clamav-0.85.1/test/clam.exe: ClamAV-Test-File FOUND
/usr/ports/clamav-0.85.1/test/clam.exe.bz2: ClamAV-Test-File
FOUND
/usr/ports/clamav-0.85.1/test/clam.rar: ClamAV-Test-File FOUND
/usr/ports/clamav-0.85.1/test/clam.zip: ClamAV-Test-File FOUND
/usr/ports/clamav-0.85.1/test/mbox/debugm.c: OK
/usr/ports/clamav-0.85.1/test/README: OK
----------- SCAN SUMMARY -----------
Known viruses: 34391
Engine version: 0.85.1
Scanned directories: 2
Scanned files: 8
Infected files: 5
Data scanned: 0.00 MB
Time: 2.999 sec (0 m 2 s)
hth someone!
cheers,
richard
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html