annotate kpathsea/install.texi @ 2923:76e1331ba933

[project @ 1997-05-03 00:49:44 by jwe]
author jwe
date Sat, 03 May 1997 00:50:01 +0000
parents 798a4d06ba7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2331
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
1 @c install.texi -- this file is the installation items common to
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
2 @c kpathsea-using programs. It's included by kpathsea.texi and dvips.texi.
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
3
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
4 @item
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
5 @vindex CFLAGS
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
6 @flindex paths.make@r{, editing}
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
7 Edit the file @file{make/paths.make} if you want to make changes to the
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
8 installation directories or paths that will have effect across different
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
9 runs of @code{configure}. Alternatively, override the Make variables on
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
10 the command line when you run Make.
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
11
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
12 @cindex installation directories, changing
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
13 Exception: to reliably change the top-level @samp{prefix}, you must give
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
14 @samp{configure} the option @samp{-prefix=@var{prefix}}, instead of
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
15 changing the value in @file{paths.make}.
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
16
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
17 @item
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
18 @cindex paths, changing default
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
19 Edit @file{kpathsea/texmf.cnf.in} to change the local paths to match your
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
20 local setup. @xref{Default paths, , , kpathsea, Kpathsea}, for more
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
21 details on changing the paths. A copy is in @file{kpathsea/INSTALL}.
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
22 See @file{kpathsea/HIER} for an explanation of the default setup.
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
23
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
24 If the paths do not match where the files actually are, the programs
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
25 will probably start up Very, Very, Slowly, and/or not be able to find
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
26 the fonts or other input files.
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
27
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
28 @item
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
29 @flindex configure@r{, running}
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
30 @flindex CONFIG
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
31 @flindex kpathsea/CONFIG
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
32 @flindex c-auto.h.in
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
33 @flindex Makefile.in
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
34 @findex ac_include
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
35 @cindex @@@var{var}@@ substitutions
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
36 @cindex system dependencies
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
37 @code{sh configure} (in the top-level directory). This makes
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
38 system-dependent @samp{#define's} in @file{*/c-auto.h} (from the
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
39 corresponding @file{c-auto.h.in}) and creates a @file{Makefile} (from
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
40 the corresponding @file{Makefile.in}, by doing @samp{@@@var{var}@@} and
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
41 @samp{ac_include} substitutions).
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
42
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
43 Perhaps the most common desire is to compile with optimization instead
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
44 of or as well as debugging. You can change the options passed to the
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
45 compiler by changing @samp{CFLAGS}, either for @code{configure} or
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
46 @code{make}. For example:
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
47
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
48 @example
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
49 prompt$ env CFLAGS="-g -O" configure
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
50 prompt$ make
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
51 @exdent @r{or}
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
52 prompt$ configure
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
53 prompt$ make CFLAGS="-g -O"
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
54 @end example
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
55
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
56 @noindent @xref{Invoking configure, , Running @code{configure} scripts,
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
57 autoconf, Autoconf}, for detailed @code{configure} options. (A copy is
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
58 in @file{kpathsea/CONFIGURE}.)
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
59
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
60 @item
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
61 @code{make} (still in the top-level directory). Barring configuration
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
62 and compiler bugs, this will compile all the programs. @xref{Common
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
63 problems, , Common problems, kpathsea, Kpathsea}, for system-dependent
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
64 problems (this section is also in @file{kpathsea/INSTALL}).
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
65
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
66 This also creates the @file{texmf.cnf} and @file{paths.h} files that
798a4d06ba7d [project @ 1996-07-19 01:52:57 by jwe]
jwe
parents:
diff changeset
67 define the default search paths.