Mainly so I don't forget..
Was going to convert some of my old perl code over to Ruby, perhaps looking to redo my graphing/management over to Rails as well. In order to do that I needed access to the ruby bindings for RRDTool. It appears that mac ports doesn't have a variant to install the bindings, and installing them via source was failing. Some googling pointed me to this Post
from Mike Perham. Which got me closer, but it appears I had to set the ARCH flags as well as outlined here.
so the final solution was
cd rrdtool-1.2.27/bindings/ruby/
ARCHFLAGS="-arch i386" ruby extconf.rb –with-rrd-dir=/opt/local
make
sudo make install
This was driving me up a wall since it installed Easily on my FreeBSD servers at the office and on my powermac. Well guess you learn something new everyday.
(Page 1 of 1, totaling 1 entries)
