Wanting to get some info on mail traffic on our mail server, I wanted to get mailgraph installed and functioning on our server. While there are a few sources of info on the web on getting RRDTool installed in 10.6, one of them only deals with RRDTool 1.2, and the other is in Japanese, though it does cover RRDTool 1.4.2.
While I thought I would take the time to write up an article on how to install RRDTool 1.4.2 on 10.6, I lost interest somewhat, so I’ve just made up a basic script to install it for you. The only requirement is to install Xcode 3.2.1, and you’ll want to `sudo su -` before running the script. It will make a src directory in whatever path you run it in, download all the source, and compile it. It will log all the output to a file “build.log” in your current directory. By default, it installs everything in /usr/local. If you want to change that, you’ll need to modify the first few lines in the script.
Feel free to use, and if you want to see what it’s doing, just take a look at the script.
RRDTool install script: here
Good luck!
Oliver says
i see no easy way of contacting the author of the site. maybe this is read 🙂
just found your page and read something about RRDTool and that your offered a script for installing all necessary stuff.
your page “http://www.staze.org/?s=rrdtool” offers the download-link “https://www.staze.org/svn/staze/scripts/installRRD.sh” which just gets leads to a 404 error. also the “Code” menu-navigation point returns 404.
btw: did you have a chance (prolly too early) to check against 10.6.4 server update?
staze says
Oliver,
My bad, I ran the 10.6.4 update and it proceeded to nuke the SVN setup in my apache config (boy I wish they didn’t do that). Anyway, that link shouldn’t be 404’d anymore.
I have not tested it against 10.6.4 yet, but I’ll try to do that soon. It shouldn’t break.
Also, I do need to get a contact form back up… *adds to list*
Oliver says
@staze
hey staze,
thx. for quick reply and fix; got the file and the site seems to work ok again, 🙂
well, do you run on the Server OS or Client OS?
i got the server running’ and would like to get RRDTool running, but am not sure, if it kills/modifies something vital on the setup.
staze says
I run server, and it works fine. Shouldn’t modify anything, as it all gets stuck in /usr/local. Just make sure you have Xcode installed. =)
Oliver says
how could i without? actual version is 3.2.2; maybe we see soon 4.0, i guess?
all the provided tools like amavis, clamav, spamassassin need to be updated anyway and so the journey starts.
well, one question: did you ever try to compile, configure and use dspam on the server?
sometimes i’m longing for a simple, robust spam-solution, which doesn’t need to be ticked together.
Oliver says
staze,
just wanted to give it a try, but i get still 404 on the cairo diff file.
btw (as always) there are tons of newer versions of almost all used libraries… especially cairo has as of version 1.8.10 listed fixes for compiling on openBSD platform; maybe you could look into this (does it make your diff obsolete?).
thx.
staze says
I’m not sure if it’s obsolete or not. I mainly just put together the SH script so I could easily deploy RRD on the production box after figuring it out in my test environment.
Also not sure why the diff would fail. I just downloaded the SH script, and it works fine for me. =/ What if you just run `curl -O http://www.staze.org/svn/staze/patches/cairo_10.6.diff` ?