File: INSTALL

package info (click to toggle)
wflogs 0.9.8-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,220 kB
  • ctags: 3,750
  • sloc: ansic: 12,166; sh: 8,047; cpp: 6,412; lex: 1,525; yacc: 1,430; makefile: 731; sed: 16
file content (46 lines) | stat: -rw-r--r-- 1,771 bytes parent folder | download | duplicates (3)
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
43
44
45
46
-------------------------------------------------------------------------
You are strongly advised to use wflogs with libadns (an asynchronous DNS
resolution library), which speeds up things greatly on large log files,
as multiple DNS lookups can then be run in parallel.
You can find it at:
http://www.chiark.greenend.org.uk/~ian/adns/

You may also consider installing the readline library, very useful in
interactive mode.

-------------------------------------------------------------------------

In order to compile wflogs, you also need to download the last version of
wfnetobjs (as wflogs needs wallfire network object library, which is in
wfnetobjs source tree under netobjs/ directory).
See http://wallfire.org/wfnetobjs/#download

After having downloaded wfnetobjs you can do either 1) or 2):

1)
 Untar wfnetobjs and wflogs source trees from the same directory.
 Rename wfnetobjs-<lastversion> directory to wfnetobjs, so as to get:
 drwxr-sr-x   13 rv       rv           4096 May  4 02:08 wfnetobjs/
 drwxr-sr-x   12 rv       rv           4096 May  4 02:07 wflogs-<lastversion>/
 First compile wfnetobjs.  Enter wfnetobjs directory, and run:
 $ ./configure
 $ make
 Then compile wflogs.  Enter wflogs directory, and run:
 $ ./configure
 $ make

or

2)
 Untar wfnetobjs under directory <wfnetobjsdir> (for example).
 First compile wfnetobjs.  Enter wfnetobjs directory, and run:
 $ ./configure
 $ make
 Then compile wflogs.  Enter wflogs directory, and run:
 $ ./configure --with-wfnetobjs-incdir=<wfnetobjsdir>/netobjs --with-wfnetobjs-libdir=<wfnetobjsdir>/netobjs
 $ make


The wflogs executable is now located under wflogs/wflogs.
You can use 'make install' if you want (you may change the installation
directory with the configure --prefix=<dir> option).