Debian Codegraph @

INSTALL

raw
1 HOW TO COMPILE, RUN AND INSTALL
2 -------------------------------
3
4 CONTENTS
5 --------
6
7 The lksctp-tools package is intended for two audiences.
8 1) SCTP application developers
9 2) LKSCTP project developers
10
11 For SCTP application developers, this package provides the user-level
12 C language header files and a library for accessing SCTP specific
13 application programming interfaces not provided by the standard sockets.
14
15 For LKSCTP project developers, this package provides the functional
16 and API regression tests.
17
18 For either role, this project provides sample code, utilities, and
19 tests that one may find useful.
20
21 The below INSTALL directions are provided with in each of these roles.
22
23 NOTE: To build, run and install the lksctp-tools package, your system is
24 required to be running with linux-2.5.36, or a later version of the
25 kernel, configured with the Network options "SCTP Configuration"
26 support enabled.
27
28 ______________________________________________________________________
29
30
31 INSTALLATION
32 -------------
33 Prerequisite: A Linux kernel with SCTP support. This may come stock with
34 your distrbution (some day), or you will need to build your own 2.5.36 or
35 later kernel.
36
37 To install/build the lksctp-tools utilities/tests do the following:
38
39 1) Untar the lksctp-tools directory from the gzipped tarball. This creates a
40 subdirectory called lksctp-tools-x.y.z.
41
42 Ensure you have autoconf, automake and libtool packages installed on your
43 system.
44
45 2) Run ./bootstrap
46
47 3) Run ./configure
48
49 4) Run make
50
51 5) To run the SCTP kernel regression tests,
52
53 $ cd src/func_tests
54 $ make v4test (regression tests for the IPv4 socket support)
55 $ make v6test (regression tests for the IPv6 socket support)
56
57 6) Run other SCTP test tools/applications in src/apps directory to verify the
58 running SCTP.