<html>
<head>
<title>RTSP Proxy Kit User's Guide</title>
<link rel=stylesheet href="../styles/body.css" type="text/css">
</head>
<body>
<center><a href="rtsp4.htm">
<img src="../icons/prev.gif" border="0" alt="previous"></a>
<a href="rtsp6.htm">
<img src="../icons/next.gif" border="0" alt="next"></a>
</center>
<h1><a name="18398"></a> Building the RTSP Proxy</h1>
<p><a name="19283"></a>The procedures in this section explain how to compile the RTSP proxy.</p>
<h2><a name="19285"></a> Compiling the RTSP Proxy in a UNIX Environment</h2>
<p><a name="19322"></a>Use the following procedures to compile the RTSP proxy in a UNIX environment.</p>
<h3><a name="19286"></a> Creating the Makefile for UNIX</h3>
<p><a name="19244"></a>After you extract the contents of the tar file that you downloaded from the RealNetworks Web site, you must run a configuration script called <code>configure</code> that dynamically creates a makefile for UNIX, using the following procedure.</p>
<h4><a name="19070"></a> To run the configure script:</h4>
<ol>
<p><li><a name="19087"> </a>Go to the <code>ortspproxy_2_0</code> directory.
<p><li><a name="19098"> </a>Type the following command:
<p><a name="19107"></a><code>./configure</code></p>
<p><a name="19156"></a>The <code>configure</code> script reads the environmental variables and dynamically creates a makefile so that it's compatible with the platform on which it will be built.</p>
</ol>
<h3><a name="18712"></a> Building the RTSP Proxy with gcc on UNIX</h3>
<p><a name="18803"></a>Use the following procedure to compile the source code in a UNIX environment. </p>
<h4><a name="18824"></a> To compile the RTSP proxy using gcc:</h4>
<ol>
<p><li><a name="18864"> </a>Go to the <code>osrtspproxy_2_0</code>.
<p><li><a name="25186"> </a>Type the following command:
<p><a name="25187"></a><code>make</code></p>
<p><a name="25188"></a>This command creates a binary, named <code>rtspproxy</code>.</p>
<p><table border=0>
<th valign=top width=40 rowspan=2>
<img src="../icons/note.gif"></th>
<th align=left class=note>Note</th>
<tr><td class=note>
<a name="24481"></a>
The source code in the RTSP Proxy Kit source code was
test-compiled on GNU's gcc for UNIX.
</td></tr>
</table></p>
</ol>
<h2><a name="18626"></a> Compiling the RTSP Proxy in a Windows Environment</h2>
<p><a name="19353"></a>Use the following procedure to compile the source code on a computer that's running Windows.</p>
<h4><a name="19369"></a> To compile using Visual C++:</h4>
<ol>
<p><li><a name="19393"> </a>In a command window, go to the <code>ortspproxy_2_0</code> directory.
<p><li><a name="19429"> </a>Type the following command:
<p><a name="19446"></a><code>nmake -f rtspproxy.mak</code></p>
<p><a name="19471"></a>This command creates an executable file named <kbd>rtspproxy.exe</kbd>.</p>
<p><table border=0>
<th valign=top width=40 rowspan=2>
<img src="../icons/note.gif"></th>
<th align=left class=note>Note</th>
<tr><td class=note>
<a name="24546"></a>
The source code in the RTSP Proxy Kit was test-
compiled using Microsoft Visual C++.
</td></tr>
</table></p>
</ol>
<p><hr align=left size=2 width=100%>
<font size=-1><a href=notice.htm>Copyright</a> © 2001
<a href="http://www.realnetworks.com/" target="_top">RealNetworks</a>
<br>For information on RealNetworks' technical support, <a href="feedback.htm#support">click here</a>.
<br>Comments on this document? <a href="feedback.htm#techpubs">Click here</a>.
<br><font size=-2>This file last updated on 02/08/01 at 16:29:08.</font>
<center><a href="rtsp4.htm">
<img src="../icons/prev.gif" border="0" alt="previous"></a>
<a href="rtsp6.htm">
<img src="../icons/next.gif" border="0" alt="next"></a>
</center>
</body>
</html>
syntax highlighted by Code2HTML, v. 0.9.1