<HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE> HylaFAX Source Distributions </TITLE> </HEAD> <BODY> <BASEFONT SIZE=4> <B><FONT SIZE=+3>H</FONT>YLA<FONT SIZE=+1>FAX</FONT> <FONT SIZE=+2>S</FONT>OURCE <FONT SIZE=+2>D</FONT>ISTRIBUTIONS</B> <BASEFONT SIZE=3> <HR SIZE=4> The source distribution for HylaFAX contains <EM>all the code</EM> in the system except a small bit of code used to build the Display PostScript-based imager for Silicon Graphics machines (this code is useless unless you have a <STRONG>developers agreement</STRONG> with Adobe for Display PostScript). To build HylaFAX from sources you must have the <A HREF="ftp://ftp.sgi.com/sgi/fax/source/tiff-v3.4-tar.gz">TIFF software distribution</A> installed on the system where HylaFAX is to be built. <P> The system is written almost entirely in contemporary C++. It uses nested types and in several places assumes the compiler generates code according to the ANSI C++ Reference Manual (ARM). The normal development environment for the software is based on compiler products from Silicon Graphics. Every effort is made to insure the code builds correctly under all contemporary C++ compilers, including the GNU gcc compiler distribution. Beware however that not all compilers will compile this software. <P> <TABLE BORDER=0> <TR> <TD><IMG SRC="icons/warning_icon.gif" ALT="NOTE: " HSPACE=8></TD> <TD><EM>Versions of gcc prior to 2.6.1 will not correctly build this software; gcc 2.6.3 and libg++ 2.6.2 are the recommended versions of the GNU tools to use though later versions work also</EM>.</TD> </TR> </TABLE> <P> To build this software your system must have the following functionality or be capable of emulating those items that are missing: <UL> <LI>ANSI C compiler and runtime support (e.g.strftime). <LI>C++ compiler and runtime support. The C++ compiler must have support for nested types and ARM-style handling of temporary variables. <LI>ANSI C system include files with proper function prototype declarations (though some missing function declarations will be automatically handled). <LI>A make program that supports include files. <LI>Support for BSD-style sockets and TCP/IP for network communication, including the select interface for synchronous multiplexing of I/O streams. <LI>Support for FIFO special files. <LI>Support for BSD-style file locking (flock) or equivalent functionality from which it can be emulated (fcntl, lockf). <LI>POSIX 1003.1-style interfaces, including termios for manipulating tty devices. </UL> <P> When the software is <A HREF="building.html#Configure">configured for building</A> any function that is not located will be emulated if it is known how. If a required facility is not found and no emulation or workaround is known, then the configuration procedure will abort. <P> The Class 1 modem driver requires sub-second timer facilities and a minimum latency interface to serial input. The server uses the BSD-style <A HREF="@CGIPATH@/manpage?setitimer">setitimer</A> calls for the timer support and system-specific calls to enable low latency input from serial ports. If your system does not support the BSD timer calls, then the server will fall back to using the <A HREF="@CGIPATH@/manpage?alarm">alarm</A> system call that only has 1 second granularity (and the driver is unlikely to work reliably). If your system buffers serial input and does not provide a mechanism for defeating this, then the Class 1 driver will not work reliably. See <A HREF="class1.html">the section above</A> for specific requirements of the Class 1 support. <P> There is support in the fax server for handing inbound data calls to the system getty program. This support must be configured according to the requirements of the target platform; either System V-style or BSD-style. Only one of these two styles may be configured for use; the one that is appropriate to the target system should automatically be selected when the software is configured for building. <!--FOOTER--> <P> <TABLE BORDER=0 WIDTH=100%> <TR> <TD><A HREF="building.html"><IMG SRC="icons/next.gif"> Building HylaFAX from source code</A>.</TD> <TD><A HREF="toc.html"><IMG SRC="icons/back.gif"> HylaFAX table of contents</A>.</TD> </TR> </TABLE> <HR> <ADDRESS> <A HREF="sam.html">Sam Leffler</A> / <A HREF="mailto:sam@engr.sgi.com">sam@engr.sgi.com</A>. Last updated $Date: 1999/08/02 10:24:12 $. </ADDRESS> </BODY> </HTML>