mirror of https://github.com/fltk/fltk
118 lines
3.6 KiB
HTML
118 lines
3.6 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>FLTK Installation Instructions</TITLE>
|
|
</HEAD>
|
|
<BODY BGCOLOR=#ccccff">
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA">FLTK Installation Instructions</FONT></H1>
|
|
|
|
FLTK can be installed from source that you've compiled or using one of the
|
|
many pre-built binary distributions:
|
|
|
|
<UL>
|
|
|
|
<LI><A HREF="#source">Installing from Source
|
|
<LI><A HREF="#dunix">Installing the Digital UNIX® Distribution
|
|
<LI><A HREF="#hpux">Installing the HP-UX Distribution
|
|
<LI><A HREF="#irix">Installing the IRIX<SUP>TM</SUP> Distribution
|
|
<LI><A HREF="#linux">Installing the Linux Distribution
|
|
<LI><A HREF="#solaris">Installing the Solaris® Distribution
|
|
<LI><A HREF="#windows">Installing the Microsoft Windows® Distribution
|
|
|
|
</UL>
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA"><A NAME="source">Installing from Source
|
|
</A></FONT></H1>
|
|
|
|
To install from source you'll first need to grab the FLTK source code
|
|
and build the software with the <tt>make</tt> command. To install
|
|
FLTK, type <tt>make install</tt>.
|
|
|
|
<P>By default the installed software is placed under the
|
|
<tt>/usr/local</tt> directory. To change the location of the
|
|
installation, use the <tt>--prefix</tt> option of the configuration
|
|
script:
|
|
|
|
<UL><PRE>
|
|
./configure --prefix=<I>/full/directory/path</I> <B>Enter</B>
|
|
</PRE></UL>
|
|
|
|
prior to building and installing the software.
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA"><A NAME="dunix">Installing the Digital UNIX Distribution
|
|
</A></FONT></H1>
|
|
|
|
The Digital UNIX distribution is in <tt>setld</tt> format. To install the
|
|
distribution type:
|
|
|
|
<UL><PRE>
|
|
gunzip fltk-1.0.4-dunix.tar.gz <B>Enter</B>
|
|
tar xvf fltk-1.0.4-dunix.tar <B>Enter</B>
|
|
setld -l fltk-1.0.4-dunix <B>Enter</B>
|
|
</PRE></UL>
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA"><A NAME="hpux">Installing the HP-UX Distribution
|
|
</A></FONT></H1>
|
|
|
|
The HP-UX distribution is in <tt>swinstall</tt> format. To install the
|
|
distribution type:
|
|
|
|
<UL><PRE>
|
|
swremove fltk <B>Enter</B>
|
|
gunzip fltk-1.0.4-hpux.depot.gz <B>Enter</B>
|
|
swinstall -s <I>/full/path/to/</I>fltk.depot <B>Enter</B>
|
|
</PRE></UL>
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA"><A NAME="irix">Installing the IRIX Distribution
|
|
</A></FONT></H1>
|
|
|
|
The IRIX distribution is in <tt>tardist</tt> format. To install the
|
|
distribution type:
|
|
|
|
<UL><PRE>
|
|
tardist fltk-1.0.4-irix-<I>version</I>.tardist <B>Enter</B>
|
|
</PRE></UL>
|
|
|
|
where <I>version</I> is the version of IRIX you have (5.x, 6.x, etc.) The
|
|
IRIX 5.x distributions use the <tt>-o32</tt> memory model, while the IRIX
|
|
6.x distributions use the <tt>-n32</tt> memory model. If you need a version
|
|
of FLTK compiled for the <tt>-64</tt> memory model you'll need to install
|
|
FLTK from source.
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA"><A NAME="linux">Installing the Linux Distribution
|
|
</A></FONT></H1>
|
|
|
|
The Linux distribution is in <tt>rpm</tt> format, which was first made
|
|
popular by the RedHat Linux distribution. To install the distribution
|
|
type:
|
|
|
|
<UL><PRE>
|
|
rpm fltk-1.0.4-1.<I>processor</I>.rpm <B>Enter</B>
|
|
</PRE></UL>
|
|
|
|
where <I>processor</I> is your processor (alpha, i386, mips, or sparc).
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA"><A NAME="solaris">Installing the Solaris Distribution
|
|
</A></FONT></H1>
|
|
|
|
The Solaris distribution is in <tt>pkgadd</tt> format. To install the
|
|
distribution type:
|
|
|
|
<UL><PRE>
|
|
pkgrm fltk <B>Enter</B>
|
|
gunzip fltk-1.0.4-solaris-<I>processor</I>.pkg.gz <B>Enter</B>
|
|
pkgadd fltk-1.0.4-solaris-<I>processor</I>.pkg <B>Enter</B>
|
|
</PRE></UL>
|
|
|
|
where <I>processor</I> is your processor (intel or sparc).
|
|
|
|
<H1><FONT FACE="Arial,HELVETICA"><A NAME="windows">Installing the Microsoft Windows Distribution
|
|
</A></FONT></H1>
|
|
|
|
The Microsoft Windows distribution is a self-extracting ZIP file that uses
|
|
InstallShield<SUP>TM</SUP>. Simply double-click on the file to install
|
|
FLTK.
|
|
|
|
</BODY>
|
|
</HTML>
|