1. Sarg doesn't use system fonts as it should be
2. Sarg is looking for a directory named images in /usr/share/sarg/
[root@localhost ~]# sarg -z
SARG: TAG: access_log /var/log/squid/access.log
SARG: TAG: font_face sans
SARG: TAG: output_dir /var/www/html/squid
SARG: TAG: resolve_ip yes
SARG: TAG: date_format e
SARG: TAG: overwrite_report yes
SARG: TAG: mail_utility mail
SARG: TAG: exclude_codes /etc/sarg/exclude_codes
SARG: TAG: date_time_by bytes
SARG: TAG: ulimit none
SARG: Records in file: 55185, reading: 100.00%
SARG: (util) data=27/03/2012
SARG: (util) period=25 Mar 2012-27 Mar 2012
SARG: (util) Can't open directory /usr/share/sarg/images: No such file or directory
SARG: (util) outdirname=/var/www/html/squid/25Mar2012-27Mar2012
SARG: (grepday) Fontname /usr/share/sarg/fonts/DejaVuSans.ttf not found
[root@localhost ~]# locate DejaVuSans.ttf
/opt/openoffice.org/basis3.2/share/fonts/truetype/DejaVuSans.ttf
/usr/share/fonts/TTF/dejavu/DejaVuSans.ttf
Sarg is not supposed to search for fonts on your system as font files can be installed almost anywhere and be of many types depending on the operating system.
You must tell sarg where your fonts are located during the configuration phase of the build process. The font directory is defined by --enable-fontdir. The default directory is share/sarg/fonts in the prefix directory (the prefix defaults to /usr/local but is often changed to /usr by users). So, it looks like sarg is searching for the fonts at the right place.
Your best option is to create a symlink to the right font file in /usr/share/sarg/fonts. Sarg only uses fonts to produce the graphics.
As for the images, you tell sarg where you want the images to reside on your disk. The default is /usr/share/sarg/images if the --prefix is set to /usr as mentioned above. The images are copied into that directory during the install phase. Sarg then copies the images to the output directory when building the report. The exact location of the images repository is therefore irrelevant.
Please amend your bug report if you think I have misunderstood what you meant.
Not a bug - just misconfigured as frmarchal says..
Thx!