Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > aa3043d1dea0678b4f34643ceeb96e3e > files > 4

c3270-3.2.18-1mdk.i586.rpm

<!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>c3270 Build and Install Instructions</title>
</head>
<body>

<h1>
c3270 Build and Install Instructions</h1>
To build <i>c3270</i>, type:
<pre>&nbsp;&nbsp;&nbsp; ./configure
&nbsp;&nbsp;&nbsp; make</pre>
To install <i>c3270</i> in the default install directory (<tt>/usr/local</tt>),
type:
<pre>&nbsp;&nbsp;&nbsp; make install</pre>

<h3>
Notes for Sun's C Compiler</h3>
<font size=+0>Do not use Sun's BSD-compatibility compiler, <tt>/usr/ucb/cc</tt>.
This is good advice in general, but in particular, <i>c3270</i> will not
build with it. In general, you must have a directory containing <tt>gcc</tt>
(preferred) or Sun's ANSI C compiler (usually in <tt>/usr/ccs/bin</tt>)
in your $PATH ahead of <tt>/usr/ucb</tt>.</font>
<h2>
Summary of <tt>configure</tt> Options</h2>
The <i>c3270</i> <tt>configure</tt> script accepts the following options:
<br>&nbsp;
<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 (<i>c3270</i>, <i>x3270if</i>, <i>pr3287</i>)
in <i>dir</i> (defaults to <i>eprefix</i><tt>/bin</tt>)&nbsp;</td>
</tr>

<tr>
<td><tt>--sysconfdir=<i>dir</i></tt></td>

<td>Install configuration files (<tt>ibm_hosts</tt>, character sets) in
<i>dir</i> (defaults to <i>prefix</i><tt>/etc</tt>).</td>
</tr>

<tr>
<td><tt>--without-readline</tt></td>

<td>Don't use the <i>readline</i> command-line editing library, even if
it is found on the system.</td>
</tr>

<tr>
<td><tt>--without-pr3287</tt></td>

<td>Don't build <i>pr3287</i>.
<br>Useful if you don't need printer session support, or if you want to
build <i>pr3287</i> separately or with different configuration options.</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-printer</tt></td>

<td>Leave out printer session (<i>pr3287</i>) support.</td>
</tr>

<tr>
<td><tt>--disable-script</tt></td>

<td>Leave out scripting support.</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>