Re: GraphDefang for SpamAssassin
Rob Kudyba wrote: Matt Kettler wrote: At 05:29 PM 12/7/2004, Rob Kudyba wrote: > do you have a fully functioning version of libpng installed? Actually, it was not installed as I did not see it in the of Required Perl Modules (but I just added it per your note): • File::ReadBackwards • GD • GD::Graph • GD::Text::Align (part of the GDTextUtils package) • Date::Parse; • Date::Format; • MLDBM • Storable (might already be installed with your perl) > If you installed libgd from source, do you have png.h installed in one of your /usr/include directories? (ie: if you used RPMs for libpng did you install libpng-devel too) I installed from source, and: /usr/local/include/png.h /usr/local/include/libpng/png.h Hmm.. libpng is in /usr/local... is /usr/local/lib in your /etc/ld.so.conf? less /etc/ld.so.conf /usr/kerberos/lib /usr/X11R6/lib /usr/local/lib It also appears that I may have 2 installs of libpng as I see: /usr/include/libpng10/png.h /usr/include/png.h /usr/local/include/libpng/png.h /usr/local/include/png.h I've downloaded configured/compiled different versions and they all pass the tests included in the packages and never any errors. I've tried the png-implement list and got pretty much bubcus...the only thing I was told was "The png files should be non-zero in size. Your libpng install is broken somehow..." but like I said, I have no errors when running the tests after the installs. I did receive this note though: "libpng and/or libgd. The latter has a dependency on libpng, and many apps use libpng directly, and some use both. If there's a version mismatch (headers vs. .so, etc.), it will cause error messages, crashes, etc." So I suppose I can configure/compile 1 more time, but I need to remove all versions so any guidance would be greatly appreciated... Thanks, Rob Admin for: http://www.raeinternet.com http://www.raeantivirus.com
Re: GraphDefang for SpamAssassin
Matt Kettler wrote: At 05:29 PM 12/7/2004, Rob Kudyba wrote: > do you have a fully functioning version of libpng installed? Actually, it was not installed as I did not see it in the of Required Perl Modules (but I just added it per your note): • File::ReadBackwards • GD • GD::Graph • GD::Text::Align (part of the GDTextUtils package) • Date::Parse; • Date::Format; • MLDBM • Storable (might already be installed with your perl) > If you installed libgd from source, do you have png.h installed in one of your /usr/include directories? (ie: if you used RPMs for libpng did you install libpng-devel too) I installed from source, and: /usr/local/include/png.h /usr/local/include/libpng/png.h Hmm.. libpng is in /usr/local... is /usr/local/lib in your /etc/ld.so.conf? less /etc/ld.so.conf /usr/kerberos/lib /usr/X11R6/lib /usr/local/lib
Re: GraphDefang for SpamAssassin
At 05:29 PM 12/7/2004, Rob Kudyba wrote: > do you have a fully functioning version of libpng installed? Actually, it was not installed as I did not see it in the of Required Perl Modules (but I just added it per your note): File::ReadBackwards GD GD::Graph GD::Text::Align (part of the GDTextUtils package) Date::Parse; Date::Format; MLDBM Storable (might already be installed with your perl) > If you installed libgd from source, do you have png.h installed in one of your /usr/include directories? (ie: if you used RPMs for libpng did you install libpng-devel too) I installed from source, and: /usr/local/include/png.h /usr/local/include/libpng/png.h Hmm.. libpng is in /usr/local... is /usr/local/lib in your /etc/ld.so.conf?
Re: GraphDefang for SpamAssassin
Matt Kettler wrote: At 05:00 PM 12/7/2004, Rob Kudyba wrote: I saw GraphDefang mentioned here the other day and thought I'd give it a shot...sorry if this is the wrong place to ask but would anyone have an idea why the PNG images are displaying as broken? The graphdefang.pl is updating perfectly, i.e., w/out errors, but all of the PNG files always output as 0 KB files, e.g.: 0 Dec 7 16:55 daily_all_summary_line.png do you have a fully functioning version of libpng installed? Actually, it was not installed as I did not see it in the of Required Perl Modules (but I just added it per your note): • File::ReadBackwards • GD • GD::Graph • GD::Text::Align (part of the GDTextUtils package) • Date::Parse; • Date::Format; • MLDBM • Storable (might already be installed with your perl) If you installed libgd from source, do you have png.h installed in one of your /usr/include directories? (ie: if you used RPMs for libpng did you install libpng-devel too) I installed from source, and: /usr/local/include/png.h /usr/local/include/libpng/png.h I deleted all PNG files (per a suggestion off-list--thanks Paul C.) but still to no avail...Apache's error and access logs do not display anything noteworthy...and once again updating seems to work just fine: ./graphdefang.pl Processing data file: /var/log/maillog Max Unixtime from SummaryDB for herbie: 1102457656 1 new log lines processed for herbie Processing graphs hourly_all_summary_line daily_all_summary_line monthly_all_summary_line hourly_non-spam_9recipient_stacked_bar daily_non-spam_9recipient_stacked_bar monthly_non-spam_9recipient_stacked_bar hourly_spam_9recipient_stacked_bar daily_spam_9recipient_stacked_bar monthly_spam_9recipient_stacked_bar hourly_spam_9sender_stacked_bar daily_spam_9sender_stacked_bar monthly_spam_9sender_stacked_bar hourly_non-spam_9sender_stacked_bar daily_non-spam_9sender_stacked_bar monthly_non-spam_9sender_stacked_bar But alas: ls -l *.png -rw-r--r-- 1 root root 0 Dec 7 17:26 daily_all_summary_line.png -rw-r--r-- 1 root root 0 Dec 7 17:26 daily_non-spam_9recipient_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 daily_non-spam_9sender_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 daily_spam_9recipient_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 daily_spam_9sender_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 hourly_all_summary_line.png -rw-r--r-- 1 root root 0 Dec 7 17:26 hourly_non-spam_9recipient_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 hourly_non-spam_9sender_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 hourly_spam_9recipient_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 hourly_spam_9sender_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 monthly_all_summary_line.png -rw-r--r-- 1 root root 0 Dec 7 17:26 monthly_non-spam_9recipient_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 monthly_non-spam_9sender_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 monthly_spam_9recipient_stacked_bar.png -rw-r--r-- 1 root root 0 Dec 7 17:26 monthly_spam_9sender_stacked_bar.png
Re: GraphDefang for SpamAssassin
At 05:00 PM 12/7/2004, Rob Kudyba wrote: I saw GraphDefang mentioned here the other day and thought I'd give it a shot...sorry if this is the wrong place to ask but would anyone have an idea why the PNG images are displaying as broken? The graphdefang.pl is updating perfectly, i.e., w/out errors, but all of the PNG files always output as 0 KB files, e.g.: 0 Dec 7 16:55 daily_all_summary_line.png do you have a fully functioning version of libpng installed? If you installed libgd from source, do you have png.h installed in one of your /usr/include directories? (ie: if you used RPMs for libpng did you install libpng-devel too)