Hi, all:
I'm pretty new to all of this compile stuff. I've gotten this far, with a lot of trial and error.
My system:
Sun Solaris 9 X86 on a random old PC, AMD chip, 1 gig ram.
Mail Server: Sun Java Enterprise System Messaging Server 6.1 (installed, and working)
SpamAssassin 3.01 (took me a week of messing with it to get it to compile)
I'd truly like to get Clam AV working. configure runs without error.
Make offers this, after many screenfulls:
/usr/ccs/bin/ld -G -z defs -h libclamav.so.1 -o .libs/libclamav.so.1.0.4 matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo filetypes.lo unrarlib.lo zzip-dir.lo zzip-err.lo zzip-file.lo zzip-info.lo zzip-io.lo zzip-stat.lo zzip-zip.lo strc.lo blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo cabd.lo lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo fsg.lo line.lo untar.lo special.lo -lz -lbz2 -lpthread -lsocket -lnsl -lc
(cd .libs && rm -f libclamav.so.1 && ln -s libclamav.so.1.0.4 libclamav.so.1)
(cd .libs && rm -f libclamav.so && ln -s libclamav.so.1.0.4 libclamav.so)
ar cru .libs/libclamav.a matcher-ac.o matcher-bm.o matcher.o md5.o others.o readdb.o cvd.o dsig.o str.o scanners.o filetypes.o unrarlib.o zzip-dir.o zzip-err.o zzip-file.o zzip-info.o zzip-io.o zzip-stat.o zzip-zip.o strc.o blob.o mbox.o message.o snprintf.o strrcpy.o table.o text.o ole2_extract.o vba_extract.o msexpand.o pe.o cabd.o lzxd.o mszipd.o qtmd.o system.o upx.o htmlnorm.o chmunpack.o rebuildpe.o petite.o fsg.o line.o untar.o special.o
../libtool: ar: command not found
make[1]: *** [libclamav.la] Error 127
make[1]: Leaving directory `/export/home/clamav-0.80/libclamav'
make: *** [all-recursive] Error 1
It looks to me like it's not finding the binary, "ar", though it's in the normal place. any ideas?
Jay,
not sure what's causing the problem, but some troubleshooting tips might be to run ar from the shell and see if it responds as expected (i.e. gives you the usage display and not some error) .. to confirm that ar isn't corrupted or something.
also, you may want to edit the file 'libtool' in the clamav distribution (normally I wouldn't suggest doing this, but it might shed some light on the problem) and change the line that reads AR="ar" to AR="/full/path/to/ar" (with the correct path to ar of course) and see if that makes a difference.
if that makes a difference, then there is likely a problem with the PATH for the shell in which you're running the compile under.
anyways, some things to try. hope it helps
alan _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users