Click here to get back home

ClamAV

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
ClamAV lwirving 04-09-2007
Posted by lwirving on April 10, 2007, 10:33 am
Please log in for more thread options


Found the makefile
do I need a compiler or something



Posted by Sisyphus on April 10, 2007, 11:26 am
Please log in for more thread options



> Found the makefile
> do I need a compiler or something
>

No - it's pure perl, so you won't need a compiler (as there's nothing to be
compiled).

But you *will* need a 'make' program. If you're using a build of ActivePerl
that's >= 815 you can use 'dmake' (which can be downloaded from
http://search.cpan.org/dist/dmake/ ).

Then you'll need to run 'perl Makefile.PL', 'dmake test' and 'dmake
install'. But I expect a number of failures with 'dmake test'. For a start,
I'm not sure what Windows perl will make of:

1 while (waitpid($pid, &WNOHANG) != -1);

(which occurs in t/01ping.t).

If you don't want to install 'dmake' you could just copy ClamAV.pm to your
perl/site/lib/File/Scan directory (creating the directories as needed, and
honoring case-sensitivity) and then test by running the test scripts as
'perl tping.t', etc.

I don't feel inclined to try to anticipate (and solve in advance) the
problems that you will encounter, but if you care to report the issues as
they arise, I will try to help. (It could be a tedious process ... ie you
post and wait for a day or so for my response; I post and wait a day or so
for your response .... :-)

Where does one obtain this clamd server for Windows ? I'm quite happy to
install it and see if I can get File::Scan::ClamAV working. That's probably
the best way for me to stay abreast of any problems that arise. (I, myself,
use ClamWin as my anti-virus program, but it doesn't include a file named
"clamd".)

Cheers,
Rob


Posted by lwirving on April 11, 2007, 12:59 am
Please log in for more thread options


>
>
> > Found the makefile
> > do I need a compiler or something
>
> No - it's pure perl, so you won't need a compiler (as there's nothing to be
> compiled).
>
> But you *will* need a 'make' program. If you're using a build of ActivePerl
> that's >= 815 you can use 'dmake' (which can be downloaded
fromhttp://search.cpan.org/dist/dmake/).
>
> Then you'll need to run 'perl Makefile.PL', 'dmake test' and 'dmake
> install'. But I expect a number of failures with 'dmake test'. For a start,
> I'm not sure what Windows perl will make of:
>
> 1 while (waitpid($pid, &WNOHANG) != -1);
>
> (which occurs in t/01ping.t).
>
> If you don't want to install 'dmake' you could just copy ClamAV.pm to your
> perl/site/lib/File/Scan directory (creating the directories as needed, and
> honoring case-sensitivity) and then test by running the test scripts as
> 'perl tping.t', etc.
>
> I don't feel inclined to try to anticipate (and solve in advance) the
> problems that you will encounter, but if you care to report the issues as
> they arise, I will try to help. (It could be a tedious process ... ie you
> post and wait for a day or so for my response; I post and wait a day or so
> for your response .... :-)
>
> Where does one obtain this clamd server for Windows ? I'm quite happy to
> install it and see if I can get File::Scan::ClamAV working. That's probably
> the best way for me to stay abreast of any problems that arise. (I, myself,
> use ClamWin as my anti-virus program, but it doesn't include a file named
> "clamd".)
>
> Cheers,
> Rob

>From the asspsmtp wiki

http://www.asspsmtp.org/wiki/ClamAV_Win32

the links to native port and the runclamd.zip files are there and some
instructions to install

Strangley it does not say in the wiki that fLe::Scan:Clamav is need -
I think it is assumed
however as the asspsmtp config page says in the Virus Control section
Use Av Clamd
If activated, the message is checked by Av Clamd, this requires an
installed File::Scan::ClamAV Perl module.

Regards
Wayne





Posted by lwirving on April 11, 2007, 1:06 am
Please log in for more thread options


On Apr 11, 2:59 pm, lwirv...@gmail.com wrote:
>
>
>
>
>
> > > Found the makefile
> > > do I need a compiler or something
>
> > No - it's pure perl, so you won't need a compiler (as there's nothing to be
> > compiled).
>
> > But you *will* need a 'make' program. If you're using a build of ActivePerl
> > that's >= 815 you can use 'dmake' (which can be downloaded
fromhttp://search.cpan.org/dist/dmake/).
>
> > Then you'll need to run 'perl Makefile.PL', 'dmake test' and 'dmake
> > install'. But I expect a number of failures with 'dmake test'. For a start,
> > I'm not sure what Windows perl will make of:
>
> > 1 while (waitpid($pid, &WNOHANG) != -1);
>
> > (which occurs in t/01ping.t).
>
> > If you don't want to install 'dmake' you could just copy ClamAV.pm to your
> > perl/site/lib/File/Scan directory (creating the directories as needed, and
> > honoring case-sensitivity) and then test by running the test scripts as
> > 'perl tping.t', etc.
>
> > I don't feel inclined to try to anticipate (and solve in advance) the
> > problems that you will encounter, but if you care to report the issues as
> > they arise, I will try to help. (It could be a tedious process ... ie you
> > post and wait for a day or so for my response; I post and wait a day or so
> > for your response .... :-)
>
> > Where does one obtain this clamd server for Windows ? I'm quite happy to
> > install it and see if I can get File::Scan::ClamAV working. That's probably
> > the best way for me to stay abreast of any problems that arise. (I, myself,
> > use ClamWin as my anti-virus program, but it doesn't include a file named
> > "clamd".)
>
> > Cheers,
> > Rob
> >From the asspsmtp wiki
>
> http://www.asspsmtp.org/wiki/ClamAV_Win32
>
> the links to native port and the runclamd.zip files are there and some
> instructions to install
>
> Strangley it does not say in the wiki that fLe::Scan:Clamav is need -
> I think it is assumed
> however as the asspsmtp config page says in the Virus Control section
> Use Av Clamd
> If activated, the message is checked by Av Clamd, this requires an
> installed File::Scan::ClamAV Perl module.
>
> Regards
> Wayne

I used the MSI file (requires DotNet 2) which contains the ClamD
program

I could not get ClamD to run as a service but the RunClamD file out
of the zip runs as a service without a problem

I also could not get the power tools version to work but that may heve
been because I had ClamAV installed in c:\clamAV at the time I tried
it



Posted by Sisyphus on April 11, 2007, 3:51 am
Please log in for more thread options



.
.
>
> I used the MSI file (requires DotNet 2) which contains the ClamD
> program
>
> I could not get ClamD to run as a service but the RunClamD file out
> of the zip runs as a service without a problem
>
> I also could not get the power tools version to work but that may heve
> been because I had ClamAV installed in c:\clamAV at the time I tried
> it
>
>

Turns out that it's too much trouble to install on the (Windows 2000) box I
was going to put it on. I transferred the msi and zip file across ok, but to
install the msi I needed dotnet 2 (as you said). I grabbed it, transferred
it across, but it needs Windows Installer 3.0 .... which I grabbed and
transferred across ... but it needs another Service Pack to install .... at
which point I gave up.

Sorry :-(

You'll just have to cross the bridges as you come to them. Is running
Cygwin's perl an option for you ? I still think (without really knowing)
that might be the quickest way to get it working.

Cheers,
Rob



Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap