Spiro Harvey, Knossos Networks Ltd wrote:
>> Revert to 0.93.1 until the current 0.93.3 is available to you.
>
> or even better, build an RPM from source.
>
> here's how I do it:
>
> attached is a file called clamav.spec. save that into 
> /usr/src/redhat/SPECS/
>
> then put clamav-0.93.3.tar.gz into /usr/src/redhat/SOURCES/
>
>
> build the rpms:
>
> # rpmbuild -ba /usr/src/redhat/SPECS/clamav.spec
>
> the created RPMs will be in /usr/src/redhat/RPMS/
>
I normally build from source but wanted to try the rpm solution using 
your clamav.spec. I am running FC6.
I created the clamav.spec file and saved to /usr/src/redhat/SPECS/
When I run rpmbuild -ba /usr/src/redhat/SPECS/clamav.spec
All goes well until an error in %prep:
................
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.93
/var/tmp/rpm-tmp.60152: line 33: cd: clamav-0.93: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.60152 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.60152 (%prep)

It correctly unzips the clamav-0.93.3.tar.gz AND creates a clamav-0.93.3 
directory BUT tries to go to clamav-0.93 instead of clamav-0.93.3.  Any 
suggestions?

Thanks, Jim
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to