[rrd-users] freebsd amd64

Michael Hoskins mhoskins at ironport.com
Fri Feb 2 04:43:04 CET 2007


sorry if this is old news, but i just tried installing from ports (i'll
notify the port maintainer as well) on freebsd amd64 and got the
following:

"Current values not available: Architecture amd64-freebsd not supported
yet."

i followed the comments in cricket/lib/RRD/Format.pm, and here is the
diff:

--- Format.pm.orig      Thu Feb  1 19:32:01 2007
+++ Format.pm   Thu Feb  1 19:36:15 2007
@@ -128,6 +128,18 @@
         $self->{'element'} = "d";
 
         return 1;
+    } elsif ($archname eq 'amd64-freebsd') {
+
+       $self->{'statHead'} = "a4 a5 x7 d Q Q Q x80"
+       $self->{'dsDef'} = "a20 a20 Q d d x56"
+       $self->{'rraDef'} = "a20 x4 Q Q d x72"
+       $self->{'pdpDef'} = "a30 x2 Q d x64"
+       $self->{'cdpDef'} = "d Q x64"
+       $self->{'liveHead'} = "Q"
+       $self->{'rraPtr'} = "Q"
+       $self->{'element'} = "d"
+
+        return 1;
     } elsif ( $archname eq 'alpha-dec_osf') {
         # Thanks to Melissa D. Binde <binde at amazon.com> for
         # finding this (and a major foobar in getFormat.c)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2149 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070201/cfc1b03f/attachment-0001.bin 


More information about the rrd-users mailing list