Added README and install documentation for binary packages.
git-svn-id: file:///fltk/svn/fltk/trunk@410 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
ed49b39660
commit
8befe433e3
21
packages/README.packages
Normal file
21
packages/README.packages
Normal file
@ -0,0 +1,21 @@
|
||||
README.packages
|
||||
---------------
|
||||
|
||||
Each of the subdirectories provide installation building scripts for
|
||||
various operating systems. These are used to produce the standard
|
||||
binary distributions provided on the FLTK web site.
|
||||
|
||||
To build a distribution for your OS simply run the makedist.sh shell
|
||||
script for your operating system:
|
||||
|
||||
cd <operating-system>
|
||||
sh makedist.sh
|
||||
|
||||
For Microsoft Windows we are using the InstallShield software.
|
||||
Unfortunately it is nearly impossible to distribute the InstallShield
|
||||
"source" files...
|
||||
|
||||
If you'd like to contribute a binary distribution for your operating
|
||||
system, send email to "webmaster@fltk.org". If you have additions or
|
||||
fixes to these scripts and distribution files, please send them to
|
||||
"fltk-bugs@fltk.org".
|
||||
117
packages/install.html
Normal file
117
packages/install.html
Normal file
@ -0,0 +1,117 @@
|
||||
<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-dunix.tar.gz <B>Enter</B>
|
||||
tar xvf fltk-1.0-dunix.tar <B>Enter</B>
|
||||
setld -l fltk-1.0-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-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-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-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-solaris-<I>processor</I>.pkg.gz <B>Enter</B>
|
||||
pkgadd fltk-1.0-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>
|
||||
Loading…
Reference in New Issue
Block a user