<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Mozilla/4.77 [en] (Windows NT 5.0; U) [Netscape]"> <title>s3270 Build and Install Instructions</title> </head> <body> <h1> s3270 Build and Install Instructions</h1> To build <i>s3270</i>, type: <pre> ./configure make</pre> To install <i>s3270</i> in the default install directory (<tt>/usr/local/bin</tt>), type: <pre> make install</pre> <h2> Notes for Solaris 2.x and Sun's C Compiler</h2> Do not use Sun's BSD-compatibility compiler, <tt>/usr/ucb/cc</tt>. This is good advice in general, but in particular, <i>s3270</i> will not build with it. You should have a directory containing <tt>gcc</tt> (recommended) or Sun's standard compiler in your $PATH ahead of <tt>/usr/ucb</tt>. <h2> Summary of <tt>configure</tt> Options</h2> The <i>s3270</i> <tt>configure</tt> script accepts the following options: <br> <table BORDER=3 CELLSPACING=3 CELLPADDING=3 > <tr> <td><tt>--help</tt></td> <td>Print a help message.</td> </tr> <tr> <td><tt>--prefix=<i>prefix</i></tt></td> <td>Install architecture-independent files under <i>prefix</i> (defaults to <tt>/usr/local</tt>)</td> </tr> <tr> <td><tt>--exec-prefix=<i>eprefix</i></tt></td> <td>Install architecture-dependent files (executables) under <i>eprefix</i> (defaults to same as <i>prefix</i>)</td> </tr> <tr> <td><tt>--bindir=<i>dir</i></tt></td> <td>Install user executables (s<i>3270</i>, <i>x3270if</i>) in <i>dir</i> (defaults to <i>eprefix</i><tt>/bin</tt>)</td> </tr> <tr> <td><tt>--sysconfdir=<i>dir</i></tt></td> <td>Install configuration files (character sets) in <i>dir</i><tt>/x3270</tt> (defaults to <i>prefix</i><tt>/etc</tt>).</td> </tr> <tr> <td><tt>--disable-ansi</tt></td> <td>Leave out NVT (ANSI) support. <br>Note that NVT support is required for TN3270E support.</td> </tr> <tr> <td><tt>--disable-apl</tt></td> <td>Leave out APL character support.</td> </tr> <tr> <td><tt>--disable-ft</tt></td> <td>Leave out IND$FILE file transfer support.</td> </tr> <tr> <td><tt>--disable-local-process</tt></td> <td>Leave out local process (connecting to "-e <i>shell_command</i>") support. <br>This will be automatically disabled if the local system does not support the <i>forkpty</i>() library call.</td> </tr> <tr> <td><tt>--disable-tn3270e</tt></td> <td>Leave out TN3270E support.</td> </tr> <tr> <td><tt>--disable-trace</tt></td> <td>Leave out tracing support.</td> </tr> </table> <p>Leaving out all of the optional features will result in a smaller binary. </body> </html>