6bc5d626a8
There are several reasons for this: - MacOS/X doesn't support polling the tap device using kqueue, requiring a workaround to fall back to select(). - On Windows only sockets are properly handled, therefore tinc uses a second thread that does a blocking ReadFile() on the TAP-Win32/64 device. However, this does not mix well with libevent. - Libevent, event just the core, is quite large, and although it is easy to get and install on many platforms, it can be a burden. - Libev is more lightweight and seems technically superior, but it doesn't abstract away all the platform differences (for example, async events are not supported on Windows).
25 lines
591 B
Text
25 lines
591 B
Text
Before you can start compiling tinc from a fresh git clone, you have
|
|
to install the very latest versions of the following packages:
|
|
|
|
- OpenSSL
|
|
- zlib
|
|
- lzo
|
|
- GCC
|
|
- automake
|
|
- autoconf
|
|
- gettext
|
|
|
|
Then you have to let the autotools create all the autogenerated files, using
|
|
this command:
|
|
|
|
autoreconf -fsi
|
|
|
|
If you change configure.in or any Makefile.am file, you will have to rerun
|
|
autoreconf. After this, you can run configure and make as usual. To create a
|
|
tarball suitable for release, run:
|
|
|
|
make dist
|
|
|
|
To clean up your working copy so that no autogenerated files remain, run:
|
|
|
|
git clean -f
|