| 1 |
ApacheTop INSTALL Instructions |
|---|
| 2 |
|
|---|
| 3 |
ApacheTop is now distributed with autoconf files, a nice easy way to build |
|---|
| 4 |
distributions whatever platform you're on. |
|---|
| 5 |
|
|---|
| 6 |
As easy as: |
|---|
| 7 |
cd apachetop-X.X/ |
|---|
| 8 |
./configure |
|---|
| 9 |
make |
|---|
| 10 |
|
|---|
| 11 |
There's a few custom ./configure options and overrides: |
|---|
| 12 |
--with-logfile=<log> (added in v0.11) |
|---|
| 13 |
You may specify the location of the default logfile |
|---|
| 14 |
to open. This overrides the #define in apachetop.h. |
|---|
| 15 |
Of course, you can just use -f on the apachetop |
|---|
| 16 |
commandline, but if you'll only ever use one log, you |
|---|
| 17 |
can give it to configure and never worry about it again. |
|---|
| 18 |
|
|---|
| 19 |
--with-pcre=<path> (added in v0.11) |
|---|
| 20 |
Specifies where to find the pcre installation in the |
|---|
| 21 |
event it's not in your standard path. configure should look |
|---|
| 22 |
for <path>/include/pcre.h and <path>/lib/libpcre.* |
|---|
| 23 |
|
|---|
| 24 |
--with-fam=<path> (added in v0.12) |
|---|
| 25 |
Specifies where to find the FAM installation. The path you |
|---|
| 26 |
give should contain include/fam.h and lib/libfam.* |
|---|
| 27 |
kqueue will be preferred to fam if both are found on the system. |
|---|
| 28 |
|
|---|
| 29 |
--with-pcre=<path> (added in v0.12) |
|---|
| 30 |
Specifies where to find an adns installation. |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
You'll find the binary as src/apachetop |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
IF IT FAILS TO BUILD |
|---|
| 38 |
Make sure you have the -dev sources for readline and (n)curses. These |
|---|
| 39 |
contain files required to build binaries that use these libraries; for |
|---|
| 40 |
example on Debian you'll need the libreadline4-dev package installed. |
|---|
| 41 |
|
|---|
| 42 |
|
|---|