File: INSTALL

package info (click to toggle)
apachetop 0.12.6-12
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 884 kB
  • ctags: 392
  • sloc: sh: 3,136; cpp: 2,989; makefile: 25
file content (42 lines) | stat: -rw-r--r-- 1,364 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
ApacheTop INSTALL Instructions

ApacheTop is now distributed with autoconf files, a nice easy way to build
distributions whatever platform you're on.

As easy as:
	cd apachetop-X.X/
	./configure
	make

There's a few custom ./configure options and overrides:
	--with-logfile=<log>	(added in v0.11)
		You may specify the location of the default logfile
		to open. This overrides the #define in apachetop.h.
		Of course, you can just use -f on the apachetop
		commandline, but if you'll only ever use one log, you
		can give it to configure and never worry about it again.
	
	--with-pcre=<path>	(added in v0.11)
		Specifies where to find the pcre installation in the
		event it's not in your standard path. configure should look
		for <path>/include/pcre.h and <path>/lib/libpcre.*
		
	--with-fam=<path>	(added in v0.12)
		Specifies where to find the FAM installation. The path you
		give should contain include/fam.h and lib/libfam.*
		kqueue will be preferred to fam if both are found on the system.

	--with-pcre=<path>	(added in v0.12)
		Specifies where to find an adns installation.


You'll find the binary as src/apachetop



IF IT FAILS TO BUILD
Make sure you have the -dev sources for readline and (n)curses. These
contain files required to build binaries that use these libraries; for
example on Debian you'll need the libreadline4-dev package installed.