File: INSTALL

package info (click to toggle)
lksctp-tools 1.0.19%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,272 kB
  • sloc: ansic: 13,566; makefile: 270; sh: 26
file content (92 lines) | stat: -rw-r--r-- 3,188 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
                      HOW TO COMPILE, RUN AND INSTALL
                      -------------------------------

CONTENTS
--------

The lksctp-tools package is intended for two audiences.  
	1) SCTP application developers
	2) LKSCTP project developers

For SCTP application developers, this package provides the user-level
C language header files and a library for accessing SCTP specific
application programming interfaces not provided by the standard sockets. 

For LKSCTP project developers, this package provides the functional
and API regression tests.

For either role, this project provides sample code, utilities, and
tests that one may find useful.  

The below INSTALL directions are provided with in each of these roles.

NOTE:  To build, run and install the lksctp-tools package, your system is 
required to be running with linux-2.5.36, or a later version of the 
kernel, configured with the Network options "SCTP Configuration" 
support enabled.  

______________________________________________________________________


INSTALLATION   
-------------
Prerequisite:  A Linux kernel with SCTP support.  This may come stock with 
your distrbution (some day), or you will need to build your own 2.5.36 or
later kernel.

To install/build the lksctp-tools utilities/tests do the following:

1) Download and install the following binary RPMs from the lksctp sourceforge
   website at 
	http://sourceforge.net/project/showfiles.php?group_id=26529
   * lksctp-tools-x.y.z-1.i386.rpm
   * lksctp-tools-x.y.z-devel-1.i386.rpm
   * lksctp-tools-x.y.z-doc-1.i386.rpm

   lksctp-tools-x.y.z-1.i386.rpm includes 
   * SCTP run-time library.
   * Sample SCTP applications: sctp_darn and sctp_test.
   * withsctp: a tool when used with existing TCP binaries replaces TCP
               with SCTP.

   lksctp-tools-x.y.z-devel-1.i386.rpm includes
   * SCTP header file /usr/include/netinet/sctp.h
   * SCTP man pages.
   * Source code for sample SCTP applications.

   lksctp-tools-x.y.z-doc-1.i386.rpm includes
   * SCTP RFC's and internet drafts. 

   If you want to run and play with the included sample SCTP applications or 
   develop your own SCTP applications, you can skip the rest of the
   instructions.

   If you are interested in running the functional regression tests included
   in the lksctp-tools package, continue with the following instructions.

2) Download and install the following source RPM form the lksctp sourceforge
   website at 
        http://sourceforge.net/project/showfiles.php?group_id=26529
   * lksctp-tools-x.y.z-1.src.rpm
   This will install the lksctp-tools gzipped tarball and RPM spec file. 

3) Untar the lksctp-tools directory from the gzipped tarball. This creates a 
   subdirectory called lksctp-tools-x.y.z. 

   Ensure you have autoconf, automake and libtool packages installed on your
   system.

4) Run ./bootstrap

5) Run ./configure

6) Run make

7) To run the SCTP kernel regression tests,
  
   $ cd src/func_tests
   $ make v4test (regression tests for the IPv4 socket support)
   $ make v6test (regression tests for the IPv6 socket support)

8) Run other SCTP test tools/applications in src/apps directory to verify the
   running SCTP.