Perl Modules

Julian Field MailScanner at ecs.soton.ac.uk
Thu Jan 31 16:38:18 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Jay Chandler wrote:
> 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
You need the RPMs "zlib" and "zlib-devel".
> 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
>
>
>
>

Jules

- -- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 1012)
Comment: Use Thunderbird's Enigmail add-on to verify this message
Charset: ISO-8859-1

wj8DBQFHofl7EfZZRxQVtlQRAvCwAJ9bbNQrn4qK/JIfHISBllcMA42sVACeK1gl
RnQCsGxDdfLm+zRJ3TWnMyA=
=Shj1
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list