The Webalizer (cache) is a nice program to analyze web server logfiles (not that I would need it as 98% of the accesses to this server are by myself :) ...).
The OpenBSD port in 3.3 seems to be broken - Webalizer DNS resolving code depends on BerkeleyDB 1.85 (compatibility), which doesn't seem to be available, and the port tries to build with resolver support nevertheless.
So I built webalizer 2.01-10 from source.
I'm lazy and have linked db includes from the BerkeleyDB default install dir to /usr/local/include and /usr/local/lib, respectively.
The autoconf script doesn't detect that the binary needs to be linked to libjpeg (which results in an ``Undefined symbol "_jpeg_resync_to_restart"ยดยด error message when trying to run the program), so I needed to add an -ljpeg to the LIBS line in Makefile.
On Solaris, webalizer's autoconf script doesn't seem to be able to detect db_185.h for db 1.85 compatibility. I didn't check out why and just added a -DHAVE_DB_185_H to the CFLAGS manually, which fixed this particular problem.
> make
> make install
Config is currently just from the webalizer.conf.sample with appropriate paths for my system.
The OpenBSD port in 3.3 seems to be broken - Webalizer DNS resolving code depends on BerkeleyDB 1.85 (compatibility), which doesn't seem to be available, and the port tries to build with resolver support nevertheless.
So I built webalizer 2.01-10 from source.
> ./configure --with-etcdir=/usr/local/etc --enable-dns \ --with-db=/usr/local/include --with-dblib=/usr/local/lib
I'm lazy and have linked db includes from the BerkeleyDB default install dir to /usr/local/include and /usr/local/lib, respectively.
The autoconf script doesn't detect that the binary needs to be linked to libjpeg (which results in an ``Undefined symbol "_jpeg_resync_to_restart"ยดยด error message when trying to run the program), so I needed to add an -ljpeg to the LIBS line in Makefile.
On Solaris, webalizer's autoconf script doesn't seem to be able to detect db_185.h for db 1.85 compatibility. I didn't check out why and just added a -DHAVE_DB_185_H to the CFLAGS manually, which fixed this particular problem.
> make
> make install
Config is currently just from the webalizer.conf.sample with appropriate paths for my system.