On Apr 19, 2010, at 08:42 AM, Török Edwin wrote:
On 2010-04-19 15:40, Dale Walsh wrote:On Apr 19, 2010, at 07:05 AM, Török Edwin wrote:On 2010-04-19 12:44, Dale Walsh wrote:I submitted the clamd stderr information as requested,, is there anything else you need?I tested on a Mac OS X 10.5.8 ppc, with gcc 4.0.1 and all testfiles (except RAR) were detected in a static build.Tested 10.4.0 - 10.4.11 ppc, built with gcc 4.0 using a modified buildprocess and all testfiles including rar now pass.The only problem is that clam.mail is missed, right? (well quite a bigproblem if you're scanning mail).Fixed some of the incompatible pointer type warnings and mail now works.When you have some time can you post a patch with the modifications youmade?
A patch??? the only patch I have is the ppcpatch.txt file that you already know about.
It involved configuring as static no shared, saving the Makefile's, configuring as static no shared, merging the the two to get the binaries to build as I needed and fixing the warnings as I went along.
First built libltdl then libclamav, edited libclamav.la to remove the dlopen and add the libclamunrar.la as a dependancy for the remainder of the build but restored for the install process so I could get a static build with a dynamic module using DESTDIR to control the intermediate install to move files around.
Once all done and working I saw no need to keep the hacked files and just backed up the binaries.
What version of Mac OS X do you have (sw_vers will tell you), what version of gcc (gcc -v will tell you)?Configured with gcc 3.3 but built with gcc 4.0.Maybe thats why it failed.
It wouldn't work using 3.3 (compiler too old) and wouldn't compile if configured with gcc 4.0 so I configured with gcc 3.3 then switched compiler to 4.0 to build.
And could you post the output from clamd's stderr when you run clamdscan test/clam.mail? (I assume it is missed in this case too)No longer missed.OK, glad to hear. Best regards, --Edwin _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
I'll send you a link to the binaries if you want to look at them. -- Dale
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
