Share

DansGuardian Anti-Virus plugin

Tracker: Bugs

5 Doesn't seem to compile on Fedora 9 (using gcc 4.3) - ID: 1956174
Last Update: Comment added ( sf-robot )

DansGuardian-Antivirus 6.4.4.2 and 6.4.5 won't compile on Fedora 9. I
believe the patch file is missing an include for cstdlib. When I try
adding the include line to the patch, the RPM fails to build due to a patch
issue. I'm sure I'm not modifying the patch file correctly.

Can someone post what I need to change in the patch file?

Here's the output from the standard patch file of 6.4.4.2:

g++ -O2 -Wall -I/usr/kerberos/include -c ClamDScan.cpp
ClamDScan.cpp: In member function 'int ClamDEngine::dconnect()':
ClamDScan.cpp:325: error: 'atoi' was not declared in this scope
make: *** [ClamDScan.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.26369 (%build)


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

Thanks!


Doug Eubanks ( dougware ) - 2008-05-02 14:26

5

Closed

None

Aecio F. Neto

ClamAV engine

None

Public


Comments ( 5 )

Date: 2008-05-20 02:20
Sender: sf-robotSourceForge.net Site Admin


This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2008-05-05 17:45
Sender: aecionetoProject AdminAccepting Donations


Thank you!

I will review changes and provide fix in a future release.


Date: 2008-05-05 17:39
Sender: dougware


I was able to compile 6.4.5 after making changes to the patch file. I had
to add several #include statements.

If anyone is interested, I am attaching the modified patch file. I can't
vouch for any other other problems I may have caused.

Doug


Date: 2008-05-05 17:39
Sender: dougware


I was able to compile 6.4.5 after making changes to the patch file. I had
to add several #include statements.

If anyone is interested, I am attaching the modified patch file. I can't
vouch for any other other problems I may have caused.

Doug
File Added: dansguardian-2.8.0.6-antivirus-6.4.5.patch.gz


Date: 2008-05-04 15:07
Sender: aecionetoProject AdminAccepting Donations


I have no fedora 9 system available for testing this right now.

Is there someone out there to try it out?


Attached File ( 1 )

Filename Description Download
dansguardian-2.8.0.6-antivirus-6.4.5.patch.gz Download

Changes ( 5 )

Field Old Value Date By
status_id Pending 2008-05-20 02:20 sf-robot
close_date 2008-05-05 17:45 2008-05-20 02:20 sf-robot
status_id Open 2008-05-05 17:45 aecioneto
close_date - 2008-05-05 17:45 aecioneto
File Added 276868: dansguardian-2.8.0.6-antivirus-6.4.5.patch.gz 2008-05-05 17:39 dougware