the signal controller uses boost thread now,
[anytun.git] / README
blob987a3b7b86a8db7c7197a611c2bc1817666bed11
1 Dependencies
2 ============
4 Linux
5 -----
7 build-essential
8 libgcrypt11-dev
9 libboost-serialization-dev
10 libboost-thread-dev
11 libboost-dev
12 asciidoc
13 libasio-dev
15 OpenBSD
16 -------
18 libgcrypt
19 libgpg-error
20 boost
21 gmake
25 Installation
26 ============
28 Getting the source via subversion:
29 ----------------------------------
30 svn co http://anytun.org/svn/anytun/
32 Building from source
33 --------------------
35 # cd src
36 # ./configure
37 # make
39 Notes: 
40   - on OpenBSD you have to use gmake instead of make
41   - currently there is no syncronisation support for OpenBSD
42     you can build anytun without sync by invoking
43     
44     # make anytun-nosync 
46     instead of just 'make'
50 Errors:
51 -------
53 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
54 Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)
56 Solution: Enabling tun/tap device
57 ------------------------------------
59 modprobe tun
60 cd /dev
61 ./MAKEDEV tun
63 edit /etc/modules and add the line
64 tun
65 to load the module automatically