Hi Pterobyte
Thanx for the details!
My main reason to use a packagesystem is to benefit from the totally seperate directory - EG have it totally seperate from the APple-installed stuff. For the moment that benefit is worth more to me than the loss of diskspace etc.
That might change! while my skills in the compile-SW improves, EG. from reading posts in this forum as well as the very interesting articles you have provided on the topicdesk site (my mailserver is having great benefit from your spam-fighting articles!!!)
Actually I am trying to get mailgraph.pl working on 10.4.9 Server and have (on a testing server so I am not destroying anything important 😉 used MacPorts to get RRDtool installed.
Apparently the RRDtool seems to be working since I am able to use the provided examples and get the graphs generated.
My problem comes when I am trying to actually launch mailgraph.pl (a seperate DL - EG not from MacPorts 🙂
The problem looks to me to be Perl related, and since Perl is a brand new area for me I might be missing the obvious.
I am getting this error:
alpha:~/Desktop/mailgraph-1.13 ladmin$ ./mailgraph.pl
Can't locate RRDs.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.8 /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at ./mailgraph.pl line 364.
Even though I have followed this solution:
http://lists.ee.ethz.ch/mailgraph/msg00173.html
and added this line to mailgraph.pl:
use lib '/opt/local/lib/perl5/site_perl/5.8.8';
I have verifyed the existense of the RRDs.pm
alpha:~/Desktop/mailgraph-1.13 ladmin$ locate RRDs.pm
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/RRDs.pm
/opt/local/var/db/dports/software/rrdtool/1.2.23
0/opt/local/lib/perl5/siteperl/5.8.8/darwin-2level/RRDs.pm
Changing the "use..." line to point one folder deeper, like this:
use lib '/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/';
changes the error message but only slightly:
alpha:~/Desktop/mailgraph-1.13 ladmin$ ./mailgraph.pl
Can't load '/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//auto/RRDs/RRDs.bundle' for module RRDs: dlopen(/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//auto/RRDs/RRDs.bundl e, 1): Symbol not found:
PLop
Referenced from: /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level//auto/RRDs/RRDs.bundle
Expected in: dynamic lookup
at ./mailgraph.pl line 364
I have also installed (according to the requirement in the README) the "File::Tail" module via CPAN, this can be verifyed using "perldoc perllocal":
Mon May 28 13:45:25 2007: "Module" File::Tail
o "installed into: /opt/local/lib/perl5/site_perl/5.8.8"
o "LINKTYPE: dynamic"
o "VERSION: 0.99.3"
o "EXE_FILES: "
I would expect that it
should be possible to get it (mailgraph) to work based on MacPorts, if not I'll probably end up using your topicdesk amavis-stats:
http://osx.topicdesk.com/content/view/42/80/
as well as RRDtool
http://osx.topicdesk.com/content/view/71/62/
PS.: I am in the process of subscribing to the mailgraph-mailinglist since that might be the best startingpoint to figure out what is wrong…
iMac 24" and a lot more Mac OS X (10.4.9)
iMac 24" and a lot more Mac OS X (10.4.9)