Build/Linux

How to build suite3270 (b3270, c3270, pr3287, s3270, tcl3270, wc3270, x3270 and x3270if) on Linux.

Required packages
Different Linux distributions organize their installation packages differently. These are examples from Ubuntu.
 * gcc
 * Basic C compiler support.


 * libssl-dev
 * The OpenSSL library, for TLS support.


 * libreadline-dev
 * The GNU readline library, for command-line editing in c3270 and at the x3270&gt; prompt.


 * libxaw7-dev
 * The Athena Widgets library, for building x3270. Also pulls in the rest of the required X11 development tools.


 * xfonts-100dpi
 * Additional fonts needed by x3270.


 * libncurses5-dev
 * The wide ncurses library, for building c3270.


 * tcl-dev
 * Tcl development library, for building tcl3270.


 * mingw-w64
 * Windows cross-compiler, for building Windows versions of the emulator suite.


 * m4
 * Macro processor, for building man pages.

Build process

 * If you intend to cross-compile native Windows binaries, run git submodule update --init to get the libexpat source. New in 4.2
 * Install the required packages.
 * Run configure.
 * Run make.