Re: [Clamav-users] problem compiling PHP ClamaAV Lib 0.12a

2006-06-15 Thread Kevin Lowe
Hi Dale, I got the source from http://www.phpclamavlib.org/ but I also tried the Nick Loeve code with the same results. I'm running PHP 4.2.2 on FreeBSD 4.6-STABLE. I have compiled other versions of PHP for CLI use but I dont think that should be affecting it as they are off the usual search

[Clamav-users] Bug with --remove??

2006-06-15 Thread Kevin Lowe
Hi, I accidentally issued the following command where I mis-spelled remove: $ ./clamscan --remov /usr/home/projects/virus/ And it actually removed the file. I would expect either an error or the flag to be ignored. Is this a (minor) bug I shoud report? ClamAV 0.88.2 running on FreeBSD Kevin

Re: [Clamav-users] Bug with --remove??

2006-06-15 Thread Kevin Lowe
Thanks guys, sorry for false alarm! ___ http://lurker.clamav.net/list/clamav-users.html

Re: [Clamav-users] problem compiling PHP ClamaAV Lib 0.12a

2006-06-14 Thread Kevin Lowe
Hi Dennis, Many thanks for all your help and time. I've tried compiling both packages in /usr/home/USERNAME/local and am still getting the same errors as before. ./configure --with-clamav --prefix=/usr/home/USERNAME/local and ./configure --with-clamav=/usr/home/solomon2/local

Re: [Clamav-users] problem compiling PHP ClamaAV Lib 0.12a

2006-06-14 Thread Kevin Lowe
I just tried to compile phplibclamav http://trickie.org/code/phplibclamav.php and am getting the same errors. One thing I forgot, for both packages I got this error running phpize: aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY' defined in

[Clamav-users] problem compiling PHP ClamaAV Lib 0.12a

2006-06-13 Thread Kevin Lowe
Hi, I'm trying to develop a PHP app that will scan Word and PDF files uploaded to a web site. I've installed clamav-0.88.2 with the following commands: ./configure --without-libcurl --with-user=USERNAME --with-group=users --prefix=/usr/home/USERNAME/bin/clam where USERNAME is my unix account

Re: [Clamav-users] problem compiling PHP ClamaAV Lib 0.12a

2006-06-13 Thread Kevin Lowe
Hi Dennis, Thanks for your quick responce. Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -Llib dir if you have libraries in a nonstandard directory lib dir Pay particular attention