My initial TWiki setup 

[ add comment ] permalink ( 3.1 / 120 )
Set thunderbird as default firefox mail client  

[ add comment ] permalink ( 3.1 / 95 )
A good tutorial about Perl select function 

[ add comment ] permalink ( 3 / 111 )
Compiling clamav on Yellow Dog Linux 4.1 

Enviroment:

Power Mac G5 dual core
Yellow Dog Linux 4.1
gcc.ppc 3.4.4-2.ydl.2
zlib-1.2.3

It compiles ok, but whenever I run clamd, it always complains:
...
R_PPC_REL24 relocation at 0x0ff8f650 for symbol `whatever' out of range
...

Here is a discussion link relate to the same kind of problem:
http://www.gossamer-threads.com/lists/c ... sers/16713

It looks like the zlib problem, followed the advice and compiled zlib as ./configure --shared. it works.
[ add comment ] ( 7926 views ) permalink ( 3 / 121 )
My patch to parselog Parse.pm 

--- /usr/src/parselog-0.09/lib/Log/Parse.pm 2005-07-07 06:52:49.000000000 -0700
+++ /home/vincent/code2007/Parse.pm 2007-01-26 15:27:51.562065760 -0800
@@ -485,13 +485,9 @@
line => '',
@_,
);
+ #Oct 23 03:57:51 star amavis[31592]: (31592-06) Blocked INFECTED (HTML.Phishing.Bank-851), [216.118.97.135] <#[email protected]> -> <[email protected]>, quarantine: 3qmwV5iZsy3S, Message-ID: <E1GbxV1-0003#[email protected]>, mail_id: 3qmwV5iZsy3S, Hits: -, 4296 ms

- #
- # mx01ch amavis[15665]: (15665-08) INFECTED (W32/Netsky.AK@mm),
- # <[email protected]> -> <[email protected]>,
- # quarantine virus-20050307-151909-15665-08, Message-ID: , Hits: -
- #
- if ($args{line} !~ m/(.*?) amavis.*?\[.*?\]: (.*?), <.*?> -> <.*?@(.*?)>,/) {
+ if ($args{line} !~ m/(.*?) amavis.*?\[.*?\]: (.*?) <.*?> -> <.*?@(.*?)>,/) {
return;
}

@@ -605,7 +601,7 @@
RRDs::create($args{rrd},
'--start', $start - $step,
'--step', $step,
- 'DS:hits:GAUGE:'.$step.':0:U',
+ 'DS:hits:ABSOLUTE:'.$step.':0:U',
split(' ', $self->{rrdrra}),
);

@@ -613,7 +609,7 @@
if ($err) {
warn "RRDs::create: $err";
debug::log("RRDs::create $err", $args{rrd},'--start', $start - $step,
- '--step', $step,'DS:hits:GAUGE:'.$step.':0:U',
+ '--step', $step,'DS:hits:ABSOLUTE:'.$step.':0:U',
split(' ', $self->{rrdrra})) if(DEBUG);
return undef;
}
[ add comment ] permalink ( 3.1 / 127 )

Back Next