Software Freedom Law Center

root/trunk/apps/pdfdiff/INSTALL

Revision 67, 8.1 kB (checked in by bkuhn, 8 months ago)

r73@hughes: bkuhn | 2008-04-27 19:38:13 -0400

  • Fixed perl.m4 and configure.in which had references still to another project.
  • Added INSTALL file.
  • Added Makefile.am.
  • Added ChangeLog?.
  • Got ./autogen.sh working.
Line 
1 [ This file has been edited from the default "INSTALL" file that typically
2   appears with programs using "autoconf", since some parts were not
3   pertinent. ]
4
5 Installation Instructions
6 *************************
7
8 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
9 2006 Free Software Foundation, Inc.
10
11 This file is free documentation; the Free Software Foundation gives
12 unlimited permission to copy, distribute and modify it.
13
14 Basic Installation
15 ==================
16
17 Briefly, the shell commands `./configure; make; make install' should
18 configure, build, and install this package.  The following
19 more-detailed instructions are generic; see the `README' file for
20 instructions specific to this package.
21
22    The `configure' shell script attempts to guess correct values for
23 various system-dependent variables used during compilation.  It uses
24 those values to create a `Makefile' in each directory of the package.
25 It may also create one or more `.h' files containing system-dependent
26 definitions.  Finally, it creates a shell script `config.status' that
27 you can run in the future to recreate the current configuration, and a
28 file `config.log' containing compiler output (useful mainly for
29 debugging `configure').
30
31    It can also use an optional file (typically called `config.cache'
32 and enabled with `--cache-file=config.cache' or simply `-C') that saves
33 the results of its tests to speed up reconfiguring.  Caching is
34 disabled by default to prevent problems with accidental use of stale
35 cache files.
36
37    If you need to do unusual things to compile the package, please try
38 to figure out how `configure' could check whether to do them, and mail
39 diffs or instructions to the address given in the `README' so they can
40 be considered for the next release.  If you are using the cache, and at
41 some point `config.cache' contains results you don't want to keep, you
42 may remove or edit it.
43
44    The file `configure.ac' (or `configure.in') is used to create
45 `configure' by a program called `autoconf'.  You need `configure.ac' if
46 you want to change it or regenerate `configure' using a newer version
47 of `autoconf'.
48
49 The simplest way to compile this package is:
50
51   1. `cd' to the directory containing the package's source code and type
52      `./configure' to configure the package for your system.
53
54      Running `configure' might take a while.  While running, it prints
55      some messages telling which features it is checking for.
56
57   2. Type `make' to compile the package.
58
59   3. Optionally, type `make check' to run any self-tests that come with
60      the package.
61
62   4. Type `make install' to install the programs and any data files and
63      documentation.
64
65   5. You can remove the program binaries and object files from the
66      source code directory by typing `make clean'.  To also remove the
67      files that `configure' created (so you can compile the package for
68      a different kind of computer), type `make distclean'.  There is
69      also a `make maintainer-clean' target, but that is intended mainly
70      for the package's developers.  If you use it, you may have to get
71      all sorts of other programs in order to regenerate files that came
72      with the distribution.
73
74
75 Installation Names
76 ==================
77
78 By default, `make install' installs the package's commands under
79 `/usr/local/bin', include files under `/usr/local/include', etc.  You
80 can specify an installation prefix other than `/usr/local' by giving
81 `configure' the option `--prefix=PREFIX'.
82
83    You can specify separate installation prefixes for
84 architecture-specific files and architecture-independent files.  If you
85 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
86 PREFIX as the prefix for installing programs and libraries.
87 Documentation and other data files still use the regular prefix.
88
89    In addition, if you use an unusual directory layout you can give
90 options like `--bindir=DIR' to specify different values for particular
91 kinds of files.  Run `configure --help' for a list of the directories
92 you can set and what kinds of files go in them.
93
94    If the package supports it, you can cause programs to be installed
95 with an extra prefix or suffix on their names by giving `configure' the
96 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
97
98 Optional Features
99 =================
100
101 Some packages pay attention to `--enable-FEATURE' options to
102 `configure', where FEATURE indicates an optional part of the package.
103 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
104 is something like `gnu-as' or `x' (for the X Window System).  The
105 `README' should mention any `--enable-' and `--with-' options that the
106 package recognizes.
107
108    For packages that use the X Window System, `configure' can usually
109 find the X include and library files automatically, but if it doesn't,
110 you can use the `configure' options `--x-includes=DIR' and
111 `--x-libraries=DIR' to specify their locations.
112
113 Specifying the System Type
114 ==========================
115
116 There may be some features `configure' cannot figure out automatically,
117 but needs to determine by the type of machine the package will run on.
118 Usually, assuming the package is built to be run on the _same_
119 architectures, `configure' can figure that out, but if it prints a
120 message saying it cannot guess the machine type, give it the
121 `--build=TYPE' option.  TYPE can either be a short name for the system
122 type, such as `sun4', or a canonical name which has the form:
123
124      CPU-COMPANY-SYSTEM
125
126 where SYSTEM can have one of these forms:
127
128      OS KERNEL-OS
129
130    See the file `config.sub' for the possible values of each field.  If
131 `config.sub' isn't included in this package, then this package doesn't
132 need to know the machine type.
133
134    If you are _building_ compiler tools for cross-compiling, you should
135 use the option `--target=TYPE' to select the type of system they will
136 produce code for.
137
138    If you want to _use_ a cross compiler, that generates code for a
139 platform different from the build platform, you should specify the
140 "host" platform (i.e., that on which the generated programs will
141 eventually be run) with `--host=TYPE'.
142
143 Sharing Defaults
144 ================
145
146 If you want to set default values for `configure' scripts to share, you
147 can create a site shell script called `config.site' that gives default
148 values for variables like `CC', `cache_file', and `prefix'.
149 `configure' looks for `PREFIX/share/config.site' if it exists, then
150 `PREFIX/etc/config.site' if it exists.  Or, you can set the
151 `CONFIG_SITE' environment variable to the location of the site script.
152 A warning: not all `configure' scripts look for a site script.
153
154 Defining Variables
155 ==================
156
157 Variables not defined in a site shell script can be set in the
158 environment passed to `configure'.  However, some packages may run
159 configure again during the build, and the customized values of these
160 variables may be lost.  In order to avoid this problem, you should set
161 them in the `configure' command line, using `VAR=value'.  For example:
162
163      ./configure CC=/usr/local2/bin/gcc
164
165 causes the specified `gcc' to be used as the C compiler (unless it is
166 overridden in the site shell script).
167
168 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
169 an Autoconf bug.  Until the bug is fixed you can use this workaround:
170
171      CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
172
173 `configure' Invocation
174 ======================
175
176 `configure' recognizes the following options to control how it operates.
177
178 `--help'
179 `-h'
180      Print a summary of the options to `configure', and exit.
181
182 `--version'
183 `-V'
184      Print the version of Autoconf used to generate the `configure'
185      script, and exit.
186
187 `--cache-file=FILE'
188      Enable the cache: use and save the results of the tests in FILE,
189      traditionally `config.cache'.  FILE defaults to `/dev/null' to
190      disable caching.
191
192 `--config-cache'
193 `-C'
194      Alias for `--cache-file=config.cache'.
195
196 `--quiet'
197 `--silent'
198 `-q'
199      Do not print messages saying which checks are being made.  To
200      suppress all normal output, redirect it to `/dev/null' (any error
201      messages will still be shown).
202
203 `--srcdir=DIR'
204      Look for the package's source code in directory DIR.  Usually
205      `configure' can determine that directory automatically.
206
207 `configure' also accepts some other, not widely useful, options.  Run
208 `configure --help' for more details.
209
Note: See TracBrowser for help on using the browser.

SFLC Main Page

[frdm] Support SFLC