Re: [Clamav-users] clamd 0.93.2 dying on CentOS 5.2 x86_x64

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Giorgio Bellussi
Date:  
To: ClamAV users ML
Subject: Re: [Clamav-users] clamd 0.93.2 dying on CentOS 5.2 x86_x64
Usually "Version:" states the program version (i.e.: 0.93.3) and
"Release:" stands for the "modification level" (patches) you applied to
the standard package...

Bye
G

Jim Preston wrote:
> 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
>


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