Perl Modules

Jay Chandler lists at sequestered.net
Thu Jan 31 16:25:47 GMT 2008


Ronny T. Lampert wrote:
>>>> So where does clamav-config come from?
>>>
>>> Only in clamav-devel or similar.
>>>
>> That's not mentioned as being something to install on the Wiki.  
>> Should I add it anyway?
>
> I think - problem found.
> Please install the clamav-devel.
>
> [ The thing is, if you do a source install, all headers and libs and 
> the clamav-config will be installed; when you do a rpm install, those 
> are split and available in the -devel rpm only! ]
>
> Report back!
>
> Cheers,
> Ronny
Closer-- definitely closer.  New error now during the build of the same 
module-- this is a freshly installed CentOS5 minimal install, so it's 
probably a dependancy issue:

Running Mkbootstrap for Mail::ClamAV ()
chmod 644 ClamAV.bs
rm -f blib/arch/auto/Mail/ClamAV/ClamAV.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
-mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib ClamAV.o  
-o blib/arch/auto/Mail/ClamAV/ClamAV.so     \
       -L/usr/lib -lz -lbz2 -lgmp -lclamav      \
     
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/Mail/ClamAV/ClamAV.so] Error 1
make[1]: Leaving directory `/tmp/Mail-ClamAV-0.21/_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:
/tmp/Mail-ClamAV-0.21/_Inline/build/Mail/ClamAV

To debug the problem, cd to the build directory, and inspect the output 
files.

 at /tmp/Mail-ClamAV-0.21/blib/lib/Mail/ClamAV.pm line 178
BEGIN failed--compilation aborted at 
/tmp/Mail-ClamAV-0.21/blib/lib/Mail/ClamAV.pm line 556.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [ClamAV.inl] Error 25




-- 
Jay Chandler / KB1JWQ
Living Legend / Systems Exorcist
Today's Excuse: Well fix that in the next (upgrade, update, patch release, service pack)



More information about the MailScanner mailing list