- How do I install http-analyze?
Installation of the analyzer depends on the type of the distribution
(source, binary) and on the platform:
- I can't become root on the
system I am working on. Can I install the analyzer in some other
In general, http-analyze does not require special permissions
other than write permission for the directory where you are going to
install it, so you could install the analyzer in your HOME directory.
To tell http-analyze where it should search for the required
support files (buttons and images), you can either set the environment
variable HA_LIBDIR to the pathname of the installation directory
or specify its name using the option -l on the command line when
However, you must have access to the web server's logfile and you must
make sure that http-analyze always processes the whole logfile
for the current month until this month has passed.
Furthermore, the rotation of the logfile and the regular execution of
http-analyze on the first of a new month has to be synchronized
- I can't get http-analyze
compiled without errors.
The compiler prints dozens of error messages and terminates.
Your C compiler probably isn't ANSI compliant or you didn't specify ANSI
mode when compiling. Sorry, but we do not provide compatibility with older
versions of the C language. ANSI-C is the industry standard for more then
10 years now, so you should consider an upgrade of your compiler anyway.
- It seems that the software
compiles fine, but the linker complains about undefined symbols
strerror/gethostname/gettimeofday. Where can I find them?
Although the function strerror is required by ANSI-C, there is at
least one C environment which lacks this function. In this case, define
the macro NEED_STRERROR in file config.h or in the
Makefile and re-compile the sources. The functions gethostname
and gettimeofday are extensions of the C libraries on most modern
Unix systems. If your system doesn't provide gethostname, define
the macro NO_GETHOSTNAME in file config.h or in the
Makefile. If it doesn't know gettimeofday, remove the
macro TIME_STATS in the Makefile. Those macros are
described in the file config.h.
- If I run make, it responds
with the error message "/usr/sbin/cc is part of an optional
package not installed on this platform" and terminates immediately.
What's the deal with this?
You obviously have no developement tools installed on your system. Either
use our pre-compiled binaries if available for your platform or find some
technically skilled colleague who can help you to generate a binary on a