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 name on my web server (FreeBSD 4.6-STABLE). Both freshclam and clanscan work as expected. Following the instructions at http://www.phpclamavlib.org/#installation (have not edited php.ini yet as I need to raise a support ticket to do that with the ISP) I'm unable to get the configure stage to run. Runing ./configure --with-clamav as per the instructions gives this: configure: error: can not find sources in . or .. I''ve tried various options and the one that goes furtherst before failing is this (the clam source is at /usr/home/USERNAME/bin/clamav-0.88.2_src): ./configure --with-clamav --prefix=/usr/home/USERNAME/bin/php-clamavlib --srcdir=/usr/home/USERNAME/bin/clamav-0.88.2_src/libclamav loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20020429 checking for clamav support... yes, shared ./configure: 1156: Syntax error: word unexpected (expecting ")") I would be grateful for any help with this. Regards, Kevin _______________________________________________ http://lurker.clamav.net/list/clamav-users.html