summaryrefslogtreecommitdiff
path: root/packages/install.html
blob: 34e57aaeac160d60cb5383029c94dfb31cd3c949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
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&reg; 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&reg; Distribution
	<LI><A HREF="#windows">Installing the Microsoft Windows&reg; 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.1-dunix.tar.gz <B>Enter</B>
tar xvf fltk-1.0.1-dunix.tar <B>Enter</B>
setld -l fltk-1.0.1-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.1-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.1-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-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.1-solaris-<I>processor</I>.pkg.gz <B>Enter</B>
pkgadd fltk-1.0.1-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>