Skip Menu |

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

Report information
The Basics
Id: 44889
Status: open
Priority: 0/
Queue: Mail-ClamAV

People
Owner: converter [...] cpan.org
Requestors: kolcio [...] bg.pwr.wroc.pl
Cc:
AdminCc:

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



Subject: can't make
Date: Thu, 9 Apr 2009 09:58:27 +0200
To: <bug-Mail-ClamAV [...] rt.cpan.org>
From: Dominik Kołcio <kolcio [...] bg.pwr.wroc.pl>
System: 2.6.27.19-170.2.35.fc10.x86_64 #1 SMP Mon Feb 23 13:00:23 EST 2009 x86_64 x86_64 x86_64 GNU/Linux perl: v5.10.0 built for x86_64-linux-thread-multi Mail-ClamAV-0.22 installation ending with error: perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Mail::ClamAV [root@xxx Mail-ClamAV-0.22]# make cp ClamAV.pm blib/lib/Mail/ClamAV.pm /usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 0.22 blib/arch Starting Build Preprocess Stage Finished Build Preprocess Stage Starting Build Parse Stage Finished Build Parse Stage Starting Build Glue 1 Stage Finished Build Glue 1 Stage Starting Build Glue 2 Stage Finished Build Glue 2 Stage Starting Build Glue 3 Stage Finished Build Glue 3 Stage Starting Build Compile Stage Starting "perl Makefile.PL" Stage Writing Makefile for Mail::ClamAV Finished "perl Makefile.PL" Stage Starting "make" Stage make[1]: Entering directory `/root/clamav/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV' /usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap ClamAV.xs > ClamAV.xsc && mv ClamAV.xsc ClamAV.c gcc -c -I/root/clamav/Mail-ClamAV-0.22 -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DPERL_USE_SAFE_PUTENV -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE" ClamAV.c ClamAV.xs:33: error: field 'limits' has incomplete type ClamAV.xs: In function 'clamav_perl_new': ClamAV.xs:65: warning: implicit declaration of function 'cl_loaddbdir' ClamAV.xs:68: warning: implicit declaration of function 'cl_loaddb' ClamAV.xs: In function 'clamav_perl_buildtrie': ClamAV.xs:103: warning: implicit declaration of function 'cl_build' ClamAV.xs: In function 'DESTROY': ClamAV.xs:185: warning: implicit declaration of function 'cl_free' ClamAV.xs: In function 'clamav_perl__scanfd': ClamAV.xs:206: error: too many arguments to function 'cl_scandesc' ClamAV.xs:200: warning: unused variable 'items' ClamAV.xs:195: warning: unused variable 'len' ClamAV.xs: In function 'clamav_perl__scanfile': ClamAV.xs:247: error: too many arguments to function 'cl_scanfile' ClamAV.xs:237: warning: unused variable 'items' ClamAV.xs:231: warning: unused variable 'len' ClamAV.xs: In function 'clamav_perl_constant': ClamAV.xs:298: error: 'CL_ERAR' undeclared (first use in this function) ClamAV.xs:298: error: (Each undeclared identifier is reported only once ClamAV.xs:298: error: for each function it appears in.) ClamAV.xs:299: error: 'CL_EZIP' undeclared (first use in this function) ClamAV.xs:300: error: 'CL_EGZIP' undeclared (first use in this function) ClamAV.xs:301: error: 'CL_EBZIP' undeclared (first use in this function) ClamAV.xs:302: error: 'CL_EOLE2' undeclared (first use in this function) ClamAV.xs:303: error: 'CL_EMSCOMP' undeclared (first use in this function) ClamAV.xs:304: error: 'CL_EMSCAB' undeclared (first use in this function) ClamAV.xs:308: error: 'CL_EFSYNC' undeclared (first use in this function) ClamAV.xs:312: error: 'CL_EPATSHORT' undeclared (first use in this function) ClamAV.xs:315: error: 'CL_ECVDEXTR' undeclared (first use in this function) ClamAV.xs:316: error: 'CL_EMD5' undeclared (first use in this function) ClamAV.xs:317: error: 'CL_EDSIG' undeclared (first use in this function) ClamAV.xs:318: error: 'CL_EIO' undeclared (first use in this function) ClamAV.xs:320: error: 'CL_ESUPPORT' undeclared (first use in this function) ClamAV.xs:321: error: 'CL_ELOCKDB' undeclared (first use in this function) ClamAV.xs:331: error: 'CL_DB_ACONLY' undeclared (first use in this function) ClamAV.xs:356: error: 'CL_RAW' undeclared (first use in this function) ClamAV.xs:357: error: 'CL_ARCHIVE' undeclared (first use in this function) ClamAV.xs:358: error: 'CL_MAIL' undeclared (first use in this function) ClamAV.xs:359: error: 'CL_OLE2' undeclared (first use in this function) ClamAV.xs:360: error: 'CL_ENCRYPTED' undeclared (first use in this function) make[1]: *** [ClamAV.o] Error 1 make[1]: Leaving directory `/root/clamav/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV' A problem was encountered while attempting to compile and install your Inline C code. The command that failed was: make The build directory was: /root/clamav/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV To debug the problem, cd to the build directory, and inspect the output files. at /root/clamav/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 177 BEGIN failed--compilation aborted at /root/clamav/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 538. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [ClamAV.inl] Error 25
Please try version 0.26, which has just been updated to the ClamAV 0.95.1 API and should resolve the compilation issues. On Thu Apr 09 03:59:16 2009, kolcio@bg.pwr.wroc.pl wrote: Show quoted text
> System: > 2.6.27.19-170.2.35.fc10.x86_64 #1 SMP Mon Feb 23 13:00:23 EST 2009 x86_64 > x86_64 x86_64 GNU/Linux > > perl: > v5.10.0 built for x86_64-linux-thread-multi > > Mail-ClamAV-0.22 installation ending with error: > > perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Mail::ClamAV > > [root@xxx Mail-ClamAV-0.22]# make > cp ClamAV.pm blib/lib/Mail/ClamAV.pm > /usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 0.22 > blib/arch > Starting Build Preprocess Stage > Finished Build Preprocess Stage > > Starting Build Parse Stage > Finished Build Parse Stage > > Starting Build Glue 1 Stage > Finished Build Glue 1 Stage > > Starting Build Glue 2 Stage > Finished Build Glue 2 Stage > > Starting Build Glue 3 Stage > Finished Build Glue 3 Stage > > Starting Build Compile Stage > Starting "perl Makefile.PL" Stage > Writing Makefile for Mail::ClamAV > Finished "perl Makefile.PL" Stage > > Starting "make" Stage > make[1]: Entering directory > `/root/clamav/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV' > /usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap > /usr/lib/perl5/5.10.0/ExtUtils/typemap ClamAV.xs > ClamAV.xsc && mv > ClamAV.xsc ClamAV.c > gcc -c -I/root/clamav/Mail-ClamAV-0.22 -I/usr/local/include -D_REENTRANT > -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g
-pipe Show quoted text
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -DPERL_USE_SAFE_PUTENV > -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC > "-I/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE" ClamAV.c > ClamAV.xs:33: error: field 'limits' has incomplete type > ClamAV.xs: In function 'clamav_perl_new': > ClamAV.xs:65: warning: implicit declaration of function 'cl_loaddbdir' > ClamAV.xs:68: warning: implicit declaration of function 'cl_loaddb' > ClamAV.xs: In function 'clamav_perl_buildtrie': > ClamAV.xs:103: warning: implicit declaration of function 'cl_build' > ClamAV.xs: In function 'DESTROY': > ClamAV.xs:185: warning: implicit declaration of function 'cl_free' > ClamAV.xs: In function 'clamav_perl__scanfd': > ClamAV.xs:206: error: too many arguments to function 'cl_scandesc' > ClamAV.xs:200: warning: unused variable 'items' > ClamAV.xs:195: warning: unused variable 'len' > ClamAV.xs: In function 'clamav_perl__scanfile': > ClamAV.xs:247: error: too many arguments to function 'cl_scanfile' > ClamAV.xs:237: warning: unused variable 'items' > ClamAV.xs:231: warning: unused variable 'len' > ClamAV.xs: In function 'clamav_perl_constant': > ClamAV.xs:298: error: 'CL_ERAR' undeclared (first use in this function) > ClamAV.xs:298: error: (Each undeclared identifier is reported only once > ClamAV.xs:298: error: for each function it appears in.) > ClamAV.xs:299: error: 'CL_EZIP' undeclared (first use in this function) > ClamAV.xs:300: error: 'CL_EGZIP' undeclared (first use in this function) > ClamAV.xs:301: error: 'CL_EBZIP' undeclared (first use in this function) > ClamAV.xs:302: error: 'CL_EOLE2' undeclared (first use in this function) > ClamAV.xs:303: error: 'CL_EMSCOMP' undeclared (first use in this function) > ClamAV.xs:304: error: 'CL_EMSCAB' undeclared (first use in this function) > ClamAV.xs:308: error: 'CL_EFSYNC' undeclared (first use in this function) > ClamAV.xs:312: error: 'CL_EPATSHORT' undeclared (first use in this
function) Show quoted text
> ClamAV.xs:315: error: 'CL_ECVDEXTR' undeclared (first use in this
function) Show quoted text
> ClamAV.xs:316: error: 'CL_EMD5' undeclared (first use in this function) > ClamAV.xs:317: error: 'CL_EDSIG' undeclared (first use in this function) > ClamAV.xs:318: error: 'CL_EIO' undeclared (first use in this function) > ClamAV.xs:320: error: 'CL_ESUPPORT' undeclared (first use in this
function) Show quoted text
> ClamAV.xs:321: error: 'CL_ELOCKDB' undeclared (first use in this function) > ClamAV.xs:331: error: 'CL_DB_ACONLY' undeclared (first use in this
function) Show quoted text
> ClamAV.xs:356: error: 'CL_RAW' undeclared (first use in this function) > ClamAV.xs:357: error: 'CL_ARCHIVE' undeclared (first use in this function) > ClamAV.xs:358: error: 'CL_MAIL' undeclared (first use in this function) > ClamAV.xs:359: error: 'CL_OLE2' undeclared (first use in this function) > ClamAV.xs:360: error: 'CL_ENCRYPTED' undeclared (first use in this
function) Show quoted text
> make[1]: *** [ClamAV.o] Error 1 > make[1]: Leaving directory > `/root/clamav/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV' > > A problem was encountered while attempting to compile and install your > Inline > C code. The command that failed was: > make > > The build directory was: > /root/clamav/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV > > To debug the problem, cd to the build directory, and inspect the output > files. > > at /root/clamav/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 177 > BEGIN failed--compilation aborted at > /root/clamav/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 538. > Compilation failed in require. > BEGIN failed--compilation aborted. > make: *** [ClamAV.inl] Error 25 >