RTP Tools is a set of small applications that can be used for processing RTP data. Refer to the individual manpages for details.
RTP tools should compile and run on any POSIX compatible system, as well as on Windows. Some operating systems also provide a prebuilt package of RTP tools.
On UNIX, the usual ./configure && make
should work.
Read on for the details.
Run ./configure
to configure the build for your system.
This will produce three files:
config.h
containing the #include
and HAVE_
linesconfig.log
containing the details of autodetectionMakefile.local
which defines CC
, PREFIX
and the likeRead the standard output and Makefile.local
.
If these look different from what you expected,
read configure.local.example
, create configure.local
,
and run ./configure
again.
The ./configure
script is accompanied by a set of simple programs
autodetecting the availability of system functions
(e.g. have-err.c
), and whether extra libraries need to be
involved (e.g. -lnsl
for have-gethostbyname.c
).
For C functions that might not be present in the system,
we provide autoconfiguration tests and compat-*.c
implementations.
(e.g. compat-strtonum.c
).
Please report any that turn out to be missing.
Read config.log
, which shows shows the compiler commands used
to test the libraries installed on your system, and the standard
output and standard error output these commands produce.
Failures are most likely to happen if headers or libraries
are installed in unusual places or interfaces defined
in unusual headers. You can also look at config.h
and
check that the #define HAVE_*
lines match your expectations.
Once the source is configured as above, run make
to build RTP tools.
Any POSIX-compatible make, in particular both BSD make and GNU make,
should work. If the build fails, read configure.local.example
again.
Run make -n install
and check where everything will go.
If that differs from your expectations, set the *DIR
variables
in configure.local
and go back to running ./configure
.
Install the binaries and the manpages with make install
.
Depending on the PREFIX
(which is /usr/local
by default),
you might need to sudo make install
or doas make install
.
Open rtptools.sln
on MS Visual Studio and press F7 to build.