# Building the RTSP Proxy

The procedures in this section explain how to compile the RTSP proxy.

## Compiling the RTSP Proxy in a UNIX Environment

Use the following procedures to compile the RTSP proxy in a UNIX environment.

### Creating the Makefile for UNIX

After you extract the contents of the tar file that you downloaded from the RealNetworks Web site, you must run a configuration script called `configure` that dynamically creates a makefile for UNIX, using the following procedure.

#### To run the configure script:

1. Go to the `ortspproxy_2_0` directory.

2. Type the following command:

   `./configure`

   The `configure` script reads the environmental variables and dynamically creates a makefile so that it's compatible with the platform on which it will be built.

### Building the RTSP Proxy with gcc on UNIX

Use the following procedure to compile the source code in a UNIX environment.

#### To compile the RTSP proxy using gcc:

1. Go to the `osrtspproxy_2_0`.

2. Type the following command:

   `make`

   This command creates a binary, named `rtspproxy`.

   | Note
   The source code in the RTSP Proxy Kit source code was test-compiled on GNU's gcc for UNIX.

## Compiling the RTSP Proxy in a Windows Environment

Use the following procedure to compile the source code on a computer that's running Windows.

#### To compile using Visual C++:

1. In a command window, go to the `ortspproxy_2_0` directory.

2. Type the following command:

   `nmake -f rtspproxy.mak`

   This command creates an executable file named `rtspproxy.exe`.

   | Note
   The source code in the RTSP Proxy Kit was test- compiled using Microsoft Visual C++.

Copyright © 2001 RealNetworks
For information on RealNetworks' technical support, click here.
Comments on this document? Click here.
This file last updated on 02/08/01 at 16:29:08.