Skip Menu |

This queue is for tickets about the Mail-ClamAV CPAN distribution.

Report information
The Basics
Id: 32257
Status: resolved
Priority: 0/
Queue: Mail-ClamAV

People
Owner: converter [...] cpan.org
Requestors: pjs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.20
Fixed in: (no value)



Subject: Doesn't build against ClamAV 0.9X
make fails with cc -c -I/root/.cpan/build/Mail-ClamAV-0.20-cWhBb9 -I/usr/local/include -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC "-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" ClamAV.c ClamAV.xs: In function 'clamav_perl_constant': ClamAV.xs:326: error: 'CL_ENCINIT' undeclared (first use in this function) ClamAV.xs:326: error: (Each undeclared identifier is reported only once ClamAV.xs:326: error: for each function it appears in.) ClamAV.xs:327: error: 'CL_ENCLOAD' undeclared (first use in this function) ClamAV.xs:328: error: 'CL_ENCIO' undeclared (first use in this function) ClamAV.xs:331: error: 'CL_DB_NCORE' undeclared (first use in this function) make[1]: *** [ClamAV.o] Error 1 http://wiki.clamav.net/Main/UpgradeNotes090 refers to API changes that appear applicable to Mail::ClamAV, notably the removal of cl_loaddb.
From: SABECK [...] cpan.org
Hi, Can you try the latest release? 0.21 Thanks, Scott On Fri Jan 11 13:40:55 2008, PJS wrote: Show quoted text
> make fails with > > cc -c -I/root/.cpan/build/Mail-ClamAV-0.20-cWhBb9 -I/usr/local/include > -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC > "-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" ClamAV.c > ClamAV.xs: In function 'clamav_perl_constant': > ClamAV.xs:326: error: 'CL_ENCINIT' undeclared (first use in this function) > ClamAV.xs:326: error: (Each undeclared identifier is reported only once > ClamAV.xs:326: error: for each function it appears in.) > ClamAV.xs:327: error: 'CL_ENCLOAD' undeclared (first use in this function) > ClamAV.xs:328: error: 'CL_ENCIO' undeclared (first use in this function) > ClamAV.xs:331: error: 'CL_DB_NCORE' undeclared (first use in this
function) Show quoted text
> make[1]: *** [ClamAV.o] Error 1 > > http://wiki.clamav.net/Main/UpgradeNotes090 refers to API changes that > appear applicable to Mail::ClamAV, notably the removal of cl_loaddb.
Subject: Re: [rt.cpan.org #32257] Doesn't build against ClamAV 0.9X
Date: Tue, 15 Jan 2008 14:38:31 -0800
To: bug-Mail-ClamAV [...] rt.cpan.org
From: Peter Scott <Peter [...] PSDT.com>
Builds fine... looks good! At 02:13 PM 1/15/2008, you wrote: Show quoted text
><URL: http://rt.cpan.org/Ticket/Display.html?id=32257 > > >Hi, > >Can you try the latest release? 0.21 > >Thanks, > >Scott > >On Fri Jan 11 13:40:55 2008, PJS wrote:
> > make fails with > > > > cc -c -I/root/.cpan/build/Mail-ClamAV-0.20-cWhBb9 -I/usr/local/include > > -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > > -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC > > "-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" ClamAV.c > > ClamAV.xs: In function 'clamav_perl_constant': > > ClamAV.xs:326: error: 'CL_ENCINIT' undeclared (first use in this function) > > ClamAV.xs:326: error: (Each undeclared identifier is reported only once > > ClamAV.xs:326: error: for each function it appears in.) > > ClamAV.xs:327: error: 'CL_ENCLOAD' undeclared (first use in this function) > > ClamAV.xs:328: error: 'CL_ENCIO' undeclared (first use in this function) > > ClamAV.xs:331: error: 'CL_DB_NCORE' undeclared (first use in this
>function)
> > make[1]: *** [ClamAV.o] Error 1 > > > > http://wiki.clamav.net/Main/UpgradeNotes090 refers to API changes that > > appear applicable to Mail::ClamAV, notably the removal of cl_loaddb.
Closing this old ticket. Please note that the latest release of Mail::ClamAV was written to the new Clam AV API and requires clamav 0.95.1.